Skip to content

[Bug, CI, Scripts, Compose] - Default compose settings for repo domain #1399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JoshuaSBrown opened this issue Apr 29, 2025 · 2 comments · Fixed by #1400
Open

[Bug, CI, Scripts, Compose] - Default compose settings for repo domain #1399

JoshuaSBrown opened this issue Apr 29, 2025 · 2 comments · Fixed by #1400
Labels
Type: Bug Something isn't working

Comments

@JoshuaSBrown
Copy link
Collaborator

JoshuaSBrown commented Apr 29, 2025

Description

Problems with allocation requests hanging in the task queue if the repo tcp address does not use an ip address when filling out the repo form.

Trying to use a domain name in the repo form or the Compose container name does not seem to work correctly. I.e.

tcp://localhost:9000
tcp://<domain_name>:9000
tcp://<compose container name>:9000

Image

Using the actual IP address of the repository instance will allow communication to between core and repo to work correctly

The reason for this is because all the traffic gets routed to the web server if a domain name is used.

Steps to Replicate

Additional context

Page occured:

Expected behavior

Artifacts (if appropriate):

@JoshuaSBrown JoshuaSBrown added the Type: Bug Something isn't working label Apr 29, 2025
@JoshuaSBrown
Copy link
Collaborator Author

JoshuaSBrown commented Apr 29, 2025

Adding the internal-network to the repo container in the docker compose file allows us to specify the address tcp://datafed-repo:9000 and work with the allocation creation request.

Also works with the domain name.

     ports:
       - 9000:9000 # Communication core server
+    networks:
+      - datafed-internal

@JoshuaSBrown
Copy link
Collaborator Author

localhost does not work - I think because the core service assumes localhost refers to its own internal container.

@JoshuaSBrown JoshuaSBrown changed the title [Bug] [Bug, CI, Scripts, Compose] - Default compose settings for repo domain Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant