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

Service Unavailable: /api/1/gateways/choose(503) #93

Open
DaiYuanchuan opened this issue Feb 28, 2023 · 4 comments
Open

Service Unavailable: /api/1/gateways/choose(503) #93

DaiYuanchuan opened this issue Feb 28, 2023 · 4 comments

Comments

@DaiYuanchuan
Copy link

DaiYuanchuan commented Feb 28, 2023

I don't know why, is there any configuration I missed? I built through docker, this is build statement

docker build --force-rm -t tabby-web:20230228204228 -f /usr/local/tabby/tabby-web/Dockerfile .

this is my docker run

docker run -d -m 2048M --memory-swap 4096M --log-opt max-size=500M --log-opt max-file=1 \ --name tabby-web \ -e 'DATABASE_URL=mysql://tabby:tabby@10.21.19.72:10025/tabby-web' \ -e 'PORT=80' \ -e 'DEBUG=false' \ -e 'ENABLE_HOMEPAGE=true' \ -e 'APP_DIST_STORAGE=file:///app-dist' \ -e 'DOCKERIZE_ARGS="-wait tcp://10.21.19.72:10025 -timeout 60s"' \ -v /usr/local/tabby/app:/app \ -v /usr/local/tabby/app-dist:/app-dist \ -p 9090:80 \ --network tabby --ip 172.32.0.2 \ --restart always tabby-web:20230228204228

when I make an ssh connection
image

request : /api/1/gateways/choose (503 Service Unavailable)

image

I don't know what I did wrong. I'd like to get a hint. thanks.

@aogg
Copy link

aogg commented Apr 19, 2023

+1

@rantanlan
Copy link

guess you are missing the gateway service:

Tabby Web serves the Tabby Terminal as a web application while managing multiple config files, authentication, and providing TCP connections via a separate gateway service.

@aogg
Copy link

aogg commented Apr 20, 2023

https://github.com/Eugeny/tabby-web/blob/master/docker-compose.yml

None of the examples you gave mentioned this.

@sonicno1
Copy link

+1

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

4 participants