You are reading a single comment by @michael_101 and its replies. Click here to read the full conversation.
  • Thank you @Gordon! It's better now.

    There is a similar bug with Uncaught Error: 0, SEND OK already registered

    Here is 2 examples..

    Example 1:

    1. ["AT+CIPSTART=0,\"TCP\",\"fake.server.com\",80\r\n"
    2. ] "\r\nOK\r\n"
    3. ] "\r\n0, CONNECT OK\n"
    4. ] "\r\n0, CLOED\r\n"
    5. ] "\r\nERROR\r\n"

    then every 10 minutes

    1. ["AT+CIPSTART=1,\"TCP\",\"fake.server.com\",80\r\n"
    2. ] "\r\nOK\r\n"
    3. ] "\r\n1, CONNECT OK\r\n"
    4. ] "\r\n1, CLOSED\r\n"
    5. ERROR: {"code":-15,"message":"no response"}
    6. Uncaught Error: 0, SEND OK already registered
    7. at line 1 col 44
    8. if(h[a])throw Error(a+" already registered");h[a]=b
    9. ^
    10. in function "registerLine" called from line 1 col 254
    11. ...+', SEND FAIL'),busy=!1,''}),at.registerLine(a+', SEND FAIL'...
    12. ^
    13. in function called from system

    when the sockets debug look like this

    1. {
    2. "socks": [ true ],
    3. "sockData": [
    4. "",
    5. "",
    6. "",
    7. "",
    8. "",
    9. "0124": "undefined"
    10. ]
    11. }

    Example 2:

    1. ["AT+CIPSTART=0,\"TCP\",\"fake.server.com\",80\r\n"
    2. ] "\r\nOK\r\n"
    3. ] "\r\n0, CONNECT OK\r\n"
    4. ] "\r\n> "
    5. ] "\r\n0, END OK\r\n"
    6. ] "\r\n+RE"
    7. ] "CEIVE,0,124:\r\nHTTP/1.1 408 Request Timeout\r\nConnection: close\r\nDate: Thu, 21 Jan 2021 14:32:35 GMT\r\nContent-Length: 0\r\n\r\n"
    8. ] "\r\n, CLOSED\r"
    9. ] "\n"

    then every 10 minutes

    1. ["AT+CIPSTART=1,\"TCP\",\"fake.server.com\",80\r\n"
    2. ] "\r\nOK\r\n"
    3. ] "\r\n1, CONNECT OK\r\n"
    4. ] "\r\n1, CLOSED\r\n"
    5. ERROR: {"code":-15,"message":"no response"}
    6. Uncaught Error: 0, SEND OK already registered
    7. at line 1 col 44
    8. if(h[a])throw Error(a+" already registered");h[a]=b
    9. ^
    10. in function "registerLine" called from line 1 col 254
    11. ...+', SEND FAIL'),busy=!1,''}),at.registerLine(a+', SEND FAIL'...
    12. ^
    13. in function called from system

    when the sockets debug look like this

    1. {
    2. "socks": [ true, undefined ],
    3. "sockData": [
    4. "",
    5. "",
    6. "",
    7. "",
    8. ""
    9. ]
    10. }

    Thanks again.

About

Avatar for michael_101 @michael_101 started