Skip to content
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

Plugin wss proxy #7225

Merged
merged 4 commits into from
Apr 21, 2024
Merged

Conversation

ShahanaFarooqui
Copy link
Collaborator

@ShahanaFarooqui ShahanaFarooqui commented Apr 16, 2024

The WSS Proxy plugin is a Python-based proxy server. It facilitates encrypted communication between clients and WebSocket server. It acts as an intermediary, forwarding JSON RPC commands from the client to the WebSocket server. Once the WebSocket server processes these commands and generates a response, the proxy server relays that response back to the client. This creates a seamless interaction bridge between the client and server.

@niftynei initially proposed a solution to tackle the issue of the CLN node's direct connection from the browser. Currently, an application running on HTTPS in the browser doesn't allow connections to a non-SSL WebSocket endpoints. WSS proxy plugin should be able to resolve it.

Changelog-Added: Adding WSS Proxy server with wss-bind-addr and wss-certs configurations.

@vincenzopalazzo

This comment was marked as off-topic.

@ShahanaFarooqui
Copy link
Collaborator Author

ShahanaFarooqui commented Apr 16, 2024

What is the goal of this WSS Proxy server?

Ah I found it #7166

Sorry, I should have been more explanatory in my PR description :). Updated details to summarise the plugin and its goal.

Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack a00a313

Nice!

@rustyrussell rustyrussell merged commit c8337aa into ElementsProject:master Apr 21, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clnrest: Create a websocket proxy for wss bind-address config
3 participants