question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting "detail": "Not found"

See original GitHub issue

Describe 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:

  1. docker-compose up -d
  2. 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: image

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:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jgomes94commented, Feb 18, 2021

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!

2reactions
jgomes94commented, Feb 18, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found