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

fix ipv6 docker 26 #1198

Closed
wants to merge 1 commit into from
Closed

fix ipv6 docker 26 #1198

wants to merge 1 commit into from

Conversation

wixaw
Copy link

@wixaw wixaw commented Mar 21, 2024

Description

fix ipv6 container error after docker 26 update

error :
curl http://127.0.0.1:4000
curl: (7) Failed to connect to 127.0.0.1 port 4000: Connection refused

For information, I tried to replace 127.0.0.1 with localhost in /etc/nginx/sites-enabled/sharelatex.conf, the service started, but there were problems when I wanted to edit a project.

Related issues / Pull Requests

Contributor Agreement

fix ipv6 container error after docker 26 update 
error : 
curl http://127.0.0.1:4000
curl: (7) Failed to connect to 127.0.0.1 port 4000: Connection refused
@bean5
Copy link

bean5 commented May 6, 2024

@wixaw There's an extra space in your first comment here after - [X resulting in the checkmark not displaying.

@bean5
Copy link

bean5 commented May 6, 2024

@wixaw This proposal appears to disable ipv6. That is arguably not a "fix" as much as it is to hide an issue. Can you provide more insight into what is going on and why you advise this change?

Thank you for your contribution!

@bean5
Copy link

bean5 commented May 6, 2024

@wixaw Does this fix one of the following issues?

  • 502 Bad gateway
  • ECCONREFUSED
  • Redis Connection failure

@wixaw
Copy link
Author

wixaw commented May 6, 2024

@wixaw Does this fix one of the following issues?

  • 502 Bad gateway
  • ECCONREFUSED
  • Redis Connection failure

yes that fixes that
as I said, if we replace with localhost so as not to go via the IP it doesn't work
this is the only fix that works for me

@das7pad
Copy link
Member

das7pad commented May 6, 2024

Hello @wixaw,

Thank you for your contribution to Overleaf. The latest releases 4.2.4 and 5.0.3 include changes for switching all internal traffic to IPv4 on the application level. We went with a change on the application level as that works for all of our Server Pro customers regardless of the deployment method they chose.

If you are curious, you can take a look at 5b6e229 for details.

Greetings,
Jakob

@das7pad das7pad closed this May 6, 2024
@wixaw wixaw deleted the patch-1 branch May 6, 2024 09:21
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.

None yet

3 participants