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

Editor proxy fails to bind to HTTP port on Linux #345

Open
flaki opened this issue Aug 9, 2022 · 0 comments
Open

Editor proxy fails to bind to HTTP port on Linux #345

flaki opened this issue Aug 9, 2022 · 0 comments

Comments

@flaki
Copy link
Contributor

flaki commented Aug 9, 2022

subo compute deploy core --local, as described on the "Run Compute Locally" section of the quickstart will fail on at least Linux not being able to bind the proxy to the default (privileged) :80 HTTP port:

⏩ START: installing...
Container suborbital-scc-control-plane-1  Created
Container suborbital-scc-atmo-1  Created
Container suborbital-scc-builder-1  Created
Container suborbital-scc-control-plane-1  Starting
Container suborbital-scc-builder-1  Starting
Container suborbital-scc-builder-1  Started
Container suborbital-scc-control-plane-1  Started
Container suborbital-scc-atmo-1  Starting
Container suborbital-scc-atmo-1  Started
ℹ️  use `docker ps` and `docker-compose logs` to check deployment status

PROXY: local tunnel to function editor starting
2022/08/09 12:38:22 listen tcp :80: bind: permission denied

There is a --proxy-port flag to change the default port, but it's actually not mentioned until the next page of the docs.

Not sure how this works on Mac OS, but I would argue that changing the default port to a non-privileged port would be preferable beyond making this purely a documentation issue? I guess we are doing this so that http://local.suborbital.network does not need a port defined but is that really needed/worth it?

cc @cohix @ospencer @LauraLangdon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant