jawampa icon indicating copy to clipboard operation
jawampa copied to clipboard

Web Connection works well on emulator but fail on real devices

Open ricardol01 opened this issue 7 years ago • 3 comments

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?

ricardol01 avatar Apr 13 '17 14:04 ricardol01

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, [], {})

verheyenkoen avatar Apr 20 '17 12:04 verheyenkoen

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.

Darkless012 avatar Apr 26 '17 08:04 Darkless012

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.

Darkless012 avatar May 17 '17 09:05 Darkless012