{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/ESP8266_NONOS_SDK/issues/184","repository_url":"https://api.github.com/repos/espressif/ESP8266_NONOS_SDK","labels_url":"https://api.github.com/repos/espressif/ESP8266_NONOS_SDK/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/espressif/ESP8266_NONOS_SDK/issues/184/comments","events_url":"https://api.github.com/repos/espressif/ESP8266_NONOS_SDK/issues/184/events","html_url":"https://github.com/espressif/ESP8266_NONOS_SDK/issues/184","id":376752633,"node_id":"MDU6SXNzdWUzNzY3NTI2MzM=","number":184,"title":"[AT8266-7][SDK 3.0.0] AT Interface does not react anymore (Incoming connection during sending)","user":{"login":"Maintraxx","id":39441615,"node_id":"MDQ6VXNlcjM5NDQxNjE1","avatar_url":"https://avatars2.githubusercontent.com/u/39441615?v=4","gravatar_id":"","url":"https://api.github.com/users/Maintraxx","html_url":"https://github.com/Maintraxx","followers_url":"https://api.github.com/users/Maintraxx/followers","following_url":"https://api.github.com/users/Maintraxx/following{/other_user}","gists_url":"https://api.github.com/users/Maintraxx/gists{/gist_id}","starred_url":"https://api.github.com/users/Maintraxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maintraxx/subscriptions","organizations_url":"https://api.github.com/users/Maintraxx/orgs","repos_url":"https://api.github.com/users/Maintraxx/repos","events_url":"https://api.github.com/users/Maintraxx/events{/privacy}","received_events_url":"https://api.github.com/users/Maintraxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-02T10:26:19Z","updated_at":"2018-12-24T07:13:40Z","closed_at":null,"author_association":"NONE","body":"I have the problem that from time to time the AT interface does not react anymore. This is triggered when I send data and after the \"Rctp x bytes\" and \"Send ok\" there are several incoming TCP connections.\r\n\r\nHere you can see my debug output. I will soon hand in a RAW recording of the UART.\r\n```\r\n> 09:40:41 [ESP8266 ] AT CMD[AT+CIPSEND=0,523] TIMEOUT[15000ms]\r\n> 09:40:41 [ESP8266 ] [TX] LEN[18]\r\n> 09:40:41 [ESP8266 ] [RX] Response received LEN[2] \"OK\"\r\n> 09:40:41 [ESP8266 ] Data-Request received\r\n> 09:40:41 [ESP8266 ] [TX] LEN[523]\r\n> 09:40:41 [ESP8266 ] [RX] Response received LEN[14]\r\n> 09:40:41 [ESP8266 ] Recv 523 bytes\r\n> \t09:40:41 [ESP8266 ] [RX] Response received LEN[9] \"1,CONNECT\"\r\n> \t09:40:41 [ESP8266 ] New socket state SOCKET[1] OLD[0] NEW[1]\r\n> \t09:40:41 [ESP8266 ] New client connected! SOCKET[1]\r\n> \t09:40:41 [ESP8266 ] Data received SOCKET[1], LENGTH[391]\r\n> 09:40:41 [ESP8266 ] [RX] Response received LEN[7] \"SEND OK\"\r\n> \r\n> 09:40:41 [ESP8266 ] AT CMD[AT+CIPSEND=1,523] STATEOK[0x81] STATEERR[0x83] TIMEOUT[15000ms]\r\n> 09:40:41 [ESP8266 ] [TX] LEN[18]\r\n> 09:40:41 [ESP8266 ] [RX] Response received LEN[2] \"OK\"\r\n> \r\n> 09:40:41 [ESP8266 ] Data-Request received\r\n> 09:40:41 [ESP8266 ] [TX] LEN[523]\r\n> 09:40:41 [ESP8266 ] [RX] Response received LEN[14] \"Recv 523 bytes\"\r\n> \r\n> \t09:40:41 [ESP8266 ] [RX] Response received LEN[9] \"2,CONNECT\"\r\n> \t09:40:41 [ESP8266 ] New socket state SOCKET[2] OLD[0] NEW[1]\r\n> \t09:40:41 [ESP8266 ] Data received SOCKET[2], LENGTH[391]\r\n> \r\n> \t09:40:41 [ESP8266 ] [RX] Response received LEN[9] \"3,CONNECT\"\r\n> \t09:40:41 [ESP8266 ] New socket state SOCKET[3] OLD[0] NEW[1]\r\n> \t09:40:41 [ESP8266 ] New client connected! SOCKET[3]\r\n> \r\n> \t09:40:41 [ESP8266 ] [RX] Response received LEN[9] \"4,CONNECT\"\r\n> \t09:40:41 [ESP8266 ] New socket state SOCKET[4] OLD[0] NEW[1]\r\n> \t09:40:41 [ESP8266 ] New client connected! SOCKET[4]\r\n> \r\n> \t09:40:41 [ESP8266 ] Data received SOCKET[3], LENGTH[391]\r\n> \r\n> // There is no response from the AT Interface for more than 20 seconds.\r\n> // My application still wait for a \"Send ok\", \"Send Failed\" \r\n> // Now, my application tries to recover the communication with the interface by sending \"AT<CR><LF>\". \r\n> // The ESP did not answer with OK.\r\n> // After 255 Tries, my application uses the Reset-Pin to Force a Hardware-Reset. After that, the ESP is reachable again.\r\n> \r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:01 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:01 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:01 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:01 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:01 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:01 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:01 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:01 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:01 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n> 09:41:01 [ESP8266 ] [TX] LEN[4]\r\n> 09:41:02 [ESP8266 ] AT-Timeout occurred STATE[0x84] STATEOK[0x50] STATEERR[0x84]!\r\n> 09:41:02 [ESP8266 ] AT CMD[AT] STATEOK[0x50] STATEERR[0x84] TIMEOUT[50ms]\r\n```"},"comment":{"url":"https://api.github.com/repos/espressif/ESP8266_NONOS_SDK/issues/comments/449695650","html_url":"https://github.com/espressif/ESP8266_NONOS_SDK/issues/184#issuecomment-449695650","issue_url":"https://api.github.com/repos/espressif/ESP8266_NONOS_SDK/issues/184","id":449695650,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTY5NTY1MA==","user":{"login":"xcguang","id":25979965,"node_id":"MDQ6VXNlcjI1OTc5OTY1","avatar_url":"https://avatars3.githubusercontent.com/u/25979965?v=4","gravatar_id":"","url":"https://api.github.com/users/xcguang","html_url":"https://github.com/xcguang","followers_url":"https://api.github.com/users/xcguang/followers","following_url":"https://api.github.com/users/xcguang/following{/other_user}","gists_url":"https://api.github.com/users/xcguang/gists{/gist_id}","starred_url":"https://api.github.com/users/xcguang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcguang/subscriptions","organizations_url":"https://api.github.com/users/xcguang/orgs","repos_url":"https://api.github.com/users/xcguang/repos","events_url":"https://api.github.com/users/xcguang/events{/privacy}","received_events_url":"https://api.github.com/users/xcguang/received_events","type":"User","site_admin":false},"created_at":"2018-12-24T07:13:40Z","updated_at":"2018-12-24T07:13:40Z","author_association":"COLLABORATOR","body":"Hi,\r\n\r\n1. \r\n```\r\nAT+CIPSTART=3,\"TCP\",\"prxxxxxxxxxxxxx.de\",80\r\n\r\n+LINK_CONN:1,3,\"TCP\",0,\"85.xxx.xxx.x\",80,1998\r\n\r\nERROR\r\n```\r\nIt seems the TCP has disconnected, could you capture the packet on the air?\r\n\r\n2. \r\n```\r\nAT+CIPSTART=3,\"TCP\",\"prxxxxxxxxxxxxx.de\",80\r\n\r\n\r\nbusy' 'p...\r\n```\r\nThe `busy` means that the last command is processing.\r\nWill it output `busy` repeatedly? And when will it return to normal?\r\nIf you can capture the packet on the air, it will be helpful to debug it."}}
{"actor":{"display_login":"xcguang"}}