Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Local testing does not route to the right port #29

Closed
tiero opened this issue Nov 7, 2023 · 2 comments · Fixed by bit-gpt/app#537
Closed

Local testing does not route to the right port #29

tiero opened this issue Nov 7, 2023 · 2 comments · Fixed by bit-gpt/app#537
Assignees
Labels
bug Something isn't working

Comments

@tiero
Copy link
Contributor

tiero commented Nov 7, 2023

I am using Prem Gateway with daemon and app together locally, I notice that when trying to proxy the service it does not use the right published docker port, as I get Gateway Timeout when visiting http://localhost/all-minilm-l6-v2/docs for example

How to replicate

With the latest main branch of prem-app do the following

  • Pull latest images
docker-compose -f docker-compose.gateway.yml pull
  • Run the services, building premapp
docker-compose -f docker-compose.gateway.yml up -d --build

Then visit http://localhost with the browser and starts All MiniLM L6 v2 service via UI

Logs

  • Traefik
192.168.65.1 - - [07/Nov/2023:17:46:29 +0000] "GET /all-minilm-l6-v2/docs HTTP/1.1" 504 15 "-" "-" 126 "all-minilm-l6-v2@docker" "http://172.17.0.3:8000" 30011ms
  • Service with published port on 8444
INFO:     Started server process [8]
INFO:     Waiting for application startup.
2023-11-07 17:45:42 INFO     Load pretrained SentenceTransformer: all-MiniLM-L6-v2
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
@tiero tiero added the bug Something isn't working label Nov 7, 2023
@sekulicd
Copy link
Contributor

sekulicd commented Nov 8, 2023

I am getting bellow error:

prem-app git:(main) docker-compose -f docker-compose.gateway.yml pull
[+] Running 1/7
⠿ premapp Skipped                                                                                                                                                                                   0.0s
⠿ authd Error                                                                                                                                                                                       1.3s
⠿ traefik Error                                                                                                                                                                                     1.3s
⠿ dnsd Error                                                                                                                                                                                        1.3s
⠿ dnsd-db-pg Error                                                                                                                                                                                  1.3s
⠿ controllerd Error                                                                                                                                                                                 1.3s
⠿ premd Error                                                                                                                                                                                       1.3s
Error response from daemon: Head "https://ghcr.io/v2/premai-io/authd/manifests/latest": denied: denied

@tiero any idea?

@tiero
Copy link
Contributor Author

tiero commented Nov 8, 2023

very strange! TO me works without any issue

Did you tried again?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants