Getting "detail": "Not found"
See original GitHub issueDescribe the bug I have the docker compose as follows: version: “3.1”
services:
local-data-api:
image: koxudaxi/local-data-api
restart: always
environment:
MYSQL_HOST: db
MYSQL_PORT: 3306
MYSQL_USER: root
MYSQL_PASSWORD: example
RESOURCE_ARN: 'arn:aws:rds:us-east-1:725695492778:cluster:dummy'
SECRET_ARN: 'arn:aws:secretsmanager:us-east-1:725695492778:secret:dummy'
ports:
- "8080:80"
db:
image: mysql:5.6
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: test
ports:
- "3306:3306"
To Reproduce Steps to reproduce the behavior:
- docker-compose up -d
- Postman Request to get to http://127.0.0.1:8080 without any params.
And I get everytime ’ “detail”: “Not Found”'. I have tried to access it programatically in a Node JS env and it’s the same everytime i get '“detail”: “Not Found”, no matter what I try.
The log that I see in the docker is:
It just gets 404, i’ve been strugling with this for a few days any help is much appreciated!
PS: I know the mysql database is created as I tried to connect via workbench and its there.
Thanks a lot in advance
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Django Rest Framework - "detail": "Not found." - Stack Overflow
It was reading the empty path URL first and throwing detail not found, so I kept router with the empty path at last...
Read more >404 Not Found Error: What It Is and How to Fix It - Airbrake Blog
The 404 Not Found Error is an HTTP response status code, which indicates that the requested resource could not be found.
Read more >HTTP 404 - Wikipedia
The website hosting server will typically generate a "404 Not Found" web page when a user attempts to follow a broken or dead...
Read more >Error 404 not found - What does it mean & how to fix it! - IONOS
Your browser displays the error message 404 Not Found instead the desired web page? The solution is easy - an HTTP 404 error...
Read more >tiangolo/fastapi - Gitter
In default, if route doesn't exist, there will be: {"detail": "Not found."} with status code 404. I did not like this kind of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
btw @koxudaxi I would like to pay you a beer as a thank you, If you send me your paypal to https://www.linkedin.com/in/gomes-joao/ I will send it to you. thanks!
You are right ,with that code I could also make it work. Now I’m starting to wonder if it’s the webpack that compiles the typescript into the JS.
Thanks again @koxudaxi