404 page not found - frontend, backend #1248
Replies: 1 comment
-
this is connected to fact that Rancher run it's own traefik that needs to be disabled in settings |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
I have tries routes mentioned in below http://localhost/, http://localhost/api/,http://localhost/docs and i'm getting
404 page not found
. Can i ask for some advice where to look for an issue?Logs it selft looks really clean, no errors, so it is something with
my_project-proxy-1 | time="2024-07-02T11:46:59Z" level=debug msg="Creating middleware" entryPointName=https middlewareName=traefik-internal-recovery middlewareType=Recovery my_project-proxy-1 | time="2024-07-02T11:46:59Z" level=debug msg="No default certificate, generating one" my_project-proxy-1 | time="2024-07-02T11:46:59Z" level=debug msg="Adding route for localhost with TLS options default" entryPointName=https my_project-proxy-1 | time="2024-07-02T11:46:59Z" level=debug msg="Adding route for www.localhost with TLS options default" entryPointName=https my_project-proxy-1 | time="2024-07-02T11:46:59Z" level=debug msg="Adding route for adminer.localhost with TLS options default" entryPointName=https my_project-proxy-1 | time="2024-07-02T11:46:59Z" level=error msg="the router fastapi-project-frontend-https@docker uses a non-existent resolver: le" my_project-proxy-1 | time="2024-07-02T11:46:59Z" level=error msg="the router fastapi-project-backend-https@docker uses a non-existent resolver: le" my_project-proxy-1 | time="2024-07-02T11:46:59Z" level=error msg="the router fastapi-project-adminer-https@docker uses a non-existent resolver: le" my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of SECRET_KEY is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of POSTGRES_PASSWORD is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of FIRST_SUPERUSER_PASSWORD is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | INFO:__main__:Initializing service my_project-backend-1 | INFO:__main__:Starting call to '__main__.init', this is the 1st time calling it. my_project-backend-1 | INFO:__main__:Service finished initializing my_project-backend-1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl. my_project-backend-1 | INFO [alembic.runtime.migration] Will assume transactional DDL. my_project-backend-1 | INFO [alembic.runtime.migration] Running upgrade -> e2412789c190, Initialize models my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of SECRET_KEY is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of POSTGRES_PASSWORD is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of FIRST_SUPERUSER_PASSWORD is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | INFO:__main__:Creating initial data my_project-backend-1 | INFO:__main__:Initial data created my_project-backend-1 | INFO: Will watch for changes in these directories: ['/app'] my_project-backend-1 | INFO: Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit) my_project-backend-1 | INFO: Started reloader process [1] using WatchFiles my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of SECRET_KEY is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of POSTGRES_PASSWORD is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | /app/app/core/config.py:106: UserWarning: The value of FIRST_SUPERUSER_PASSWORD is "changethis", for security, please change it, at least for deployments. my_project-backend-1 | warnings.warn(message, stacklevel=1) my_project-backend-1 | INFO: Started server process [11] my_project-backend-1 | INFO: Waiting for application startup. my_project-backend-1 | INFO: Application startup complete. my_project-proxy-1 | 192.168.127.1 - - [02/Jul/2024:11:47:09 +0000] "GET /api/overview HTTP/1.1" 200 435 "-" "-" 1 "api@internal" "-" 0ms my_project-proxy-1 | 192.168.127.1 - - [02/Jul/2024:11:47:09 +0000] "GET /api/overview HTTP/1.1" 200 435 "-" "-" 2 "api@internal" "-" 0ms my_project-proxy-1 | 192.168.127.1 - - [02/Jul/2024:11:48:09 +0000] "GET /api/overview HTTP/1.1" 200 435 "-" "-" 3 "api@internal" "-" 0ms my_project-proxy-1 | 192.168.127.1 - - [02/Jul/2024:11:48:09 +0000] "GET /api/overview HTTP/1.1" 200 435 "-" "-" 4 "api@internal" "-" 0ms my_project-proxy-1 | 192.168.127.1 - - [02/Jul/2024:11:49:09 +0000] "GET /api/overview HTTP/1.1" 200 435 "-" "-" 5 "api@internal" "-" 0ms my_project-proxy-1 | 192.168.127.1 - - [02/Jul/2024:11:49:09 +0000] "GET /api/overview HTTP/1.1" 200 435 "-" "-" 6 "api@internal" "-" 0ms my_project-proxy-1 | 192.168.127.1 - - [02/Jul/2024:11:50:09 +0000] "GET /api/overview HTTP/1.1" 200 435 "-" "-" 7 "api@internal" "-" 0ms
Operating System
Windows
Operating System Details
Windows 10, Rancher
Python Version
3.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions