Skip to content
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

Bind fastify to both ipv4 and ipv6 #302

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Bind fastify to both ipv4 and ipv6 #302

merged 1 commit into from
Dec 6, 2024

Conversation

ChrisWeissmann
Copy link
Contributor

When running automated tests for the operator ui against real services, I ran into the issue that the test couldn't resolve to the citrine-core server. After some deeper digging it turned out that the server only was binding to ipv4 but the test was trying to find for ipv6.
Fastify mentions here: https://fastify.dev/docs/v4.28.x/Reference/Server/#listentextresolver that docker should bind to 0.0.0.0. But this is only binding to ipv4. So for local we now bind :: which listens to everything on both v4 and v6.

Screenshot 2024-11-26 at 10 25 45 AM

Signed-off-by: Christian Weissmann <christian.weissmann@s44.team>
Base automatically changed from rc-1.5.0 to main December 2, 2024 19:28
Copy link
Collaborator

@thanaParis thanaParis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@thanaParis thanaParis merged commit 2ccef93 into main Dec 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants