jawampa
jawampa copied to clipboard
Web Connection works well on emulator but fail on real devices
I have a error: connection refuse when try to connection to my server(port: 7474) with a real device, but everything is fine on AVD, anyone has a same issue or some suggestion?
We have the same problem with a wss://
URI on port 443. Works on emulator, not on Galaxy tab or TomTom Bridge devices.
This is the disconnect reason we get: ApplicationError(jawampa.error.transport_closed, [], {})
What is the kernel version and Android sdk version of the device that is having problem. We issued the same problem but only on some devices. Can you try other physical devices and see if it works? I'm trying to narrow the possible cause.
Ok, so our error is caused by bug in Android build that somehow removed list of ciphers in the org.apache.harmony.xnet.provider.jsse.ClientHandshakeImpl class (and dependent ones).
The TomTom Bride got update that fixed the problem.
Also there is problem with logging in Netty client version which suppress the logging, updating the Netty client library resulted in more meaningful messages, I will make pull-request.