aws-samples / aws-samples/aws-sam-java-rest
Dynamo unreachable
- Dominant language
- Java
- Stars
- 437
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
Working on Windows 10 I am unable to browse content of database with `http://127.0.0.1:3000/orders` endpoint due to docker-related networking issues. This is due to endpoints being defined with hostname `docker.for.windows.localhost` which is no longer domain name used by docker during Docker for Windows installation. Recommended is to use `host.docker.internal`. This change fixes the issue and provides excellent out-of-the-box experience for fresh install of docker for windows.
Contributor guide
Research direction
Inspect the endpoint definitions used by the /orders route and find references to docker.for.windows.localhost. Replace the obsolete Docker hostname with host.docker.internal, then verify that the /orders endpoint can browse the database content on Windows 10 with Docker for Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, java
- Domain
- backend, databases, networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100