LaravelEchoAndroid icon indicating copy to clipboard operation
LaravelEchoAndroid copied to clipboard

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

Open rayan2019 opened this issue 5 years ago • 10 comments

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

rayan2019 avatar Dec 22 '19 10:12 rayan2019

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) ?

MrBin99 avatar Dec 23 '19 15:12 MrBin99

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 :(

rayan2019 avatar Dec 25 '19 00:12 rayan2019

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

MrBin99 avatar Dec 27 '19 19:12 MrBin99

I'm fetching same error...please help

raihanafroz avatar May 08 '20 17:05 raihanafroz

having same issue, please help me on this.

prsnt avatar Jul 03 '20 08:07 prsnt

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

hetsgandhi avatar Jan 13 '21 06:01 hetsgandhi

I'm fetching same error...please help

Mohit-182000 avatar Feb 02 '21 10:02 Mohit-182000

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

atcobravo avatar Sep 23 '21 23:09 atcobravo

any update on this?

hitesh-shukla03 avatar Feb 14 '23 03:02 hitesh-shukla03

SAME ISSUE

richdear avatar Apr 07 '23 06:04 richdear