Chrome Browser Error Chrome: Failed to connect to web socket: Failed to tunnel through proxy

we are using a simple java script to create a websocket client and connect to a websocket server (superwebsocket)

we are trying to connect and work on websockets in some pages of our android app (version 4.4). when i try to open a page that has websocket connections, it throws the following error: "Websocket connection with" ws: // machine name: 9013 "failed: unable to tunnel through proxy"

here are my observations:

  • Through the emulator, successfully connect to the websocket
  • From a Mozilla mobile browser connecting successfully to a websocket
  • From Chrome (Android app opens url in Chrome version for Chrome) when trying to connect to a proxy while trying to tunnel through a proxy while trying to connect to a web socket an error occurred.
  • If the mobile version has an old version of chrome ie 41.0 the websocket connections are successful, but if the chrome version is greater than 41.0 it throws the above error. now the latest chrome version is 43.

Can you provide some tips on how to move forward .. are there any new changes in mobile Chrome causing this issue?

+3
javascript android html5 websocket mobile-chrome


source to share


No one has answered this question yet

Check out similar questions:

93
Which WebSocket library to use in Android application?
60
Websocket server: onopen function on websocket is never called
26
Why don't current websocket client implementations support proxies?
13
Can I catch the "unable to establish connection" error for a failed connection to the web server?
13
Unable to connect to server at ws: // localhost: 8000 / socket / server / startDaemon.php. var socket = new WebSocket (host);
eleven
Failed to connect to web socket from Android client
nine
Failure to connect to WebSocket in Chrome without SSL
2
Failed to connect to WebSocket with "ws: // ..": Error while establishing connection: net :: ERR_CONNECTION_REFUSED
0
Error establishing connection to WebSocket server
0
Binance Web Streaming Connector Cannot Connect



All Articles
Loading...
X
Show
Funny
Dev
Pics