Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

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

Open
ricardol01 opened this issue Apr 13, 2017 · 3 comments
Open

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

ricardol01 opened this issue Apr 13, 2017 · 3 comments

Comments

@ricardol01
Copy link

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
Copy link

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
Copy link
Contributor

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
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants