Matthias247 / jawampa

Web Application Messaging Protocol (WAMP v2) support for Java
Apache License 2.0
148 stars 56 forks source link

Web Connection works well on emulator but fail on real devices #105

Open ricardol01 opened 7 years ago

ricardol01 commented 7 years ago

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?

verheyenkoen commented 7 years ago

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

Darkless012 commented 7 years ago

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 commented 7 years ago

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.