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

Proxy for live command #99

Open
belemaire opened this issue Nov 2, 2020 · 0 comments
Open

Proxy for live command #99

belemaire opened this issue Nov 2, 2020 · 0 comments
Labels
enhancement New feature or request EPIC

Comments

@belemaire
Copy link
Member

livebundle live command allow any user to connect to a remote developer metro server using a QR Code or Deep Link.
While this command has a lot of potential for debugging use cases for example, it also has a major restriction being that both user(s) and remote developer workstation have to be on the same network.
While it is possible for developers to open metro server port for ingress traffic on their public internet router, this is not without friction and potential security vulnerabilities.
We should think of a way to offer (or reuse one, need to do some research first) a proxy server that could be launched on a server and would proxy http/websocket traffic. LiveBundle CLI would establish a connection to this proxy upon running the live command, and would get back some kind of unique session id. The QR code / DL will be generated to contain metadata containing the proxy IP address and session ID. Mobile client would then send requests to this proxy which will be redirected to developer workstation. Obviously this proxy sever should support multiplexing (multiple live sessions in //).
As for storage providers in LiveBundle, we should add support for this in the CLI, and also potentially offer a proxy server implementation, but we will not host such a proxy for public use.

@belemaire belemaire added enhancement New feature or request EPIC labels Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request EPIC
Projects
None yet
Development

No branches or pull requests

1 participant