-
-
Notifications
You must be signed in to change notification settings - Fork 616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Web Socket Forwarder from connection Web Client to Agent for HTTPS support #414
base: main
Are you sure you want to change the base?
Conversation
@hazmi-e205 Thank you for your code! But the front-end should change the ws url, I think you are missing the sonic-client-web pr, right? |
In fact, forwarding the Agent's data traffic through the server is not the most ideal result, which will make the delay larger. |
All network traffic passing through the server will increase the network pressure and service delay on the server side. The agent needs to upload data to the server, and then the user receives the traffic data from the server. The entire link will be much longer, and the agent needs to have sufficient upload bandwidth and the server has sufficient downlink bandwidth. |
Note: the https certificate should be "certs/cert.crt" and key should be "certs/cert.key"
@yaming116 have you ever tried it? Here our discussion https://discord.com/channels/1182530185749344307/1193785848223760464 |
but ,you can't use wss to remote link to the terminals, right? |
|
Checklist
Description
Due to connecting the Web Client to the Agent directly is pretty hard when it is published in HTTPS, We create a web socket forwarder, so the connection will be converted from "wss://" to "ws://".