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

io.socket.engineio.client.EngineIOException: xhr poll error #18

Open
rayan2019 opened this issue Dec 22, 2019 · 10 comments
Open

io.socket.engineio.client.EngineIOException: xhr poll error #18

rayan2019 opened this issue Dec 22, 2019 · 10 comments

Comments

@rayan2019
Copy link

hello
every thing was working fine. today i am trying to connect to Socket, i got problem with " xhr poll error " "javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."
in details this is log
https://imgur.com/kNk63Nn

@MrBin99
Copy link
Owner

MrBin99 commented Dec 23, 2019

Hi.
This problem come from the security layer in Android. It prevents your device to connect to untrusted
SSL certificate.

Maybe your SSL certificate is not valid (on your server) ?

@rayan2019
Copy link
Author

Hello,
my certificate is from Comodo and it's working from JS socket-io client, and as you mentioned for some other android devices it works well.
what should i do
please help :(

@MrBin99
Copy link
Owner

MrBin99 commented Dec 27, 2019

What version of Android do you have on working and non working devices ?

@raihanafroz
Copy link

I'm fetching same error...please help

@prsnt
Copy link

prsnt commented Jul 3, 2020

having same issue, please help me on this.

@hetsgandhi
Copy link

Facing the same issue, please help if anyone have got any solution for the same.

@Mohit-182000
Copy link

I'm fetching same error...please help

@atcobravo
Copy link

Same error here , i have tried adding in AndroidManifest.xml android:usesCleartextTraffic="true" but it doesnt help

@hitesh-shukla03
Copy link

any update on this?

@richdear
Copy link

richdear commented Apr 7, 2023

SAME ISSUE

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

9 participants