Forums

websocket: 'failed CONNECT via proxy'

I'm trying to connect to a websocket. But it is giving me

failed CONNECT via proxy status: 403

Is this because I am a free user? Is there any workaround for it?

Free accounts have limited internet access. It's limited to http and whitelisted sites. You would not be able to connect to websocket from free account. See https://www.pythonanywhere.com/whitelist/

The websocket I'm trying to connect is from a whitelisted site. You mean free accounts can never connect to a ws or possible to connect to ws if its from a whitelised site? I'm confused.

Previously when I was trying to use telegram api I had to set the proxy to http://proxy.server:3128 So is it possible to connect the ws through this proxy?

Free accounts can never connect to a ws. Proxy is only for http(s)