Hello,

The messaging app Loqui[1] uses a TCP Socket to upload files to the
WhatsApp server[2]. But on 2.1 and 2.2 we are experiencing that the Socket
gets closed in the middle of the upload[3]. The console shows this error:

*NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "Socket not
open." {file: "jar:file:///system/b2g/omni.ja!/components/TCPSocket.js"
line: 663}]'[JavaScript Error: "Socket not open." {file:
"jar:file:///system/b2g/omni.ja!/components/TCPSocket.js" line: 663}]' when
calling method: [nsIDOMTCPSocket::send]*

Since the code was not touched for a long time anymore and it worked
perfectly fine with earlier versions of B2G, this has to be a problem in
the TCP socket itself.


Regards,
Jovan

[1] https://github.com/loqui/im
[2]
https://github.com/loqui/im/blob/dev/src/scripts/anonymous/coseme.js#L5919
[3] https://github.com/loqui/im/issues/538
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to