You are reading a single comment by @user65754 and its replies. Click here to read the full conversation.
  • Great to hear from you. Thank you for your response!

    Now it seems to work 95% :)

    Some of my tests:

    [WS] "hallo welt"
    [WS] "hallo welt 123"
    [WS] "123"
    [WS] "hallo welt 123"
    [WS] "[object Object]"
    [WS] "test"
    [WS] "{\"room\":\"room\",\"msg\":\"message\"}"
    1: [WS] "\x14"
    2: [WS] "PUM\x1F\x1D\x00\x02O^M\x02\x1E\x15MUO\x1F\n\x1C\x1E\x13\b\nO\x0Fe\x8Ah\"\xC9\x8F\x13\x00\xBB\xE0\aO\xEB\xB5JP\xA6\xE0\x05\x00\xE5\xAD\x05Q\xAE\xADR\x00\xA4\xEA\x1BQ\xA8\xE8\r\x00\xB4\x94%Nw\x83y5U\xF1\x16!\x1A\xA1Cl\x05\xEC\x16#U\xAF[#\x04\xE4[tU\xEE\x1C=\x04\xE2\x1E+U\xFE;0=\x18=\xDAF:O\xB5Ru\x1F\xE0\x1FjR\xB5"
    [WS] "{\"room\":\"room\",\"msg\":\"message\"}"
    [WS] "{\"room\":\"room\",\"msg\":\"message\"}"
    [WS] "{\"room\":\"room\",\"msg\":\"message\"}"
    

    The named lines (1,2) should be also the same message as before. My conclusion is, that i still get that "unreadable" data, if i wait a little bit.

    Start the WebSocket and send a Message -> OK
    Send more messages -> OK
    Wait a minute and send one message -> Unreadable Data
    send more messages -> Sometimes OK, timesomes unreadable
    send more messages -> everything OK

    So always if i wait a little bit it seems that the next data package can't processed successfully.

    If i wait for 5-10 Minutes and try to send a message from Chrome:

    WebSocket is already in CLOSING or CLOSED state.
    

    I would be really happy if you could check that again :)
    I will also try the capacitor for the ESP8266.

    Thank you!

    Edit: I looked at the ws.js file. Why you don't allow to send data bigger then 125 character? How can i send more than 125? I need to send more than 300 characters.

About

Avatar for user65754 @user65754 started