Artifactory not usable through localhost, but works with 127.0.0.1
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, docker-compose
- Domain
- devops, infrastructure
Research direction
Start by reproducing the redirect after launching the containers with docker-compose, comparing access through localhost:8082 and 127.0.0.1:8082. Inspect the container and redirect configuration involved in the Artifactory startup. Done means localhost:8082 reaches the Artifactory UI without redirecting to the container name.
Written by the indexing model from the issue text.
Description
First of all, thank you for the great tutorials!
After using docker-compose to start the containers, I could not use artifactory through localhost:8082 in my browser, because it forwards me to http://jfrog-artifactory-training:8082/ui/ (http://container_name:8082/ui). Using the address 127.0.0.1:8082 does work, because it points me to 127.0.0.1:8082/ui/login.
OS: Ubuntu 18.04.2
Docker: 20.10.5
Docker-compose: 1.26.0
It takes some time to start artifactory in a container. When you connect the browser, you are redirectored form localhost:8082 to localhost:8082/artifactory. The same for 127.0.0.1:8082. The screen shows a "JFrog Platform will be available shortly" screen. When artifactory is ready the different redirects as described above occur.
- Dominant language
- Python
- Stars
- 63
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from conan-io/training
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 15/100
All issues in conan-io/training
Similar issues
-
Container fails to start when GitHub Releases is unavailable: uv run re-downloads the tvl wheelOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
trezor/trezor-user-env#421 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
tangentcode/tangentswarm#167 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day