Giter Club home page Giter Club logo

Comments (3)

dantti avatar dantti commented on June 1, 2024

Please elaborate your issue, it's too vague and it's likely that the problem is at squid configuration.
Does it allows websockets?

from virtlyst.

haralambop avatar haralambop commented on June 1, 2024

I am using squid with the following specs:
squid -v

Listening on

http_port 3128 transparent
http_port 3129

with the default settings.

All pages are working fine ( with/without proxy ) except the VM console.
When using the proxy the vnc console is not working.
(Server disconnected (code: 1006))

here the console of the browser:

connecting to ws://192.168.0.10:80/ws/1/fed78575-7f74-4ae0-9bbd-1f3c54e170c8 util.js:109:61
Detected binaryType support in WebSockets util.js:109:61
<< RFB.connect util.js:108:61
The Components object is deprecated. It will soon be removed. fed78575-7f74-4ae0-9bbd-1f3c54e170c8
Firefox can’t establish a connection to the server at ws://localhost:17523/.
websock.js:285:36
Firefox can’t establish a connection to the server at ws://192.168.0.10/ws/1/fed78575-7f74-4ae0-9bbd-1f3c54e170c8. websock.js:333:20

WebSock.onerror: [object Event]
WebSocket on-error event util.js:110:61
<< WebSock.onerror util.js:108:61
WebSock.onclose util.js:108:61
WebSocket on-close event util.js:110:61
Keyboard.allKeysUp util.js:108:61
<< Keyboard.allKeysUp util.js:108:61
New state 'failed', was 'connect'. Msg: Server disconnected (code: 1006) util.js:111:61
Clearing connect timer util.js:108:61
<< WebSock.onclose util.js:108:61
Keyboard.allKeysUp util.js:108:61
<< Keyboard.allKeysUp util.js:108:61
New state 'disconnected', was 'failed'. util.js:110:61
Firefox can’t establish a connection to the server at ws://localhost:17523/. websock.js:285:36

from virtlyst.

dantti avatar dantti commented on June 1, 2024

googling I found several issues that states that Squid does not support Websockets the way we need it:
http://lists.squid-cache.org/pipermail/squid-users/2017-January/013953.html

from virtlyst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.