Git Product home page Git Product logo

Comments (6)

drescherflo avatar drescherflo commented on June 17, 2024 1

I had the same issue since the latest docker-ce update.

First I got an NGINX 502 error like in #1146.
Running sed -i 's/127.0.0.1/localhost/g' /etc/nginx/sites-enabled/sharelatex.conf like suggested brought back the web ui, but led to the issue described here.

I'm working around the issue by completely disabling IPv6 for the sharelatex container.
For the overleaf-toolkit, I did this by creating a docker-compose.override.yml in config/ with the content proposed by #1168.

---
version: '2.2'
services:
  sharelatex:
    # ...
    sysctls:
      - net.ipv6.conf.all.disable_ipv6=1

from overleaf.

Doomsdayrs avatar Doomsdayrs commented on June 17, 2024

#1168 is possibly related

from overleaf.

ehfd avatar ehfd commented on June 17, 2024

I reproduce this with an IPv6-enabled Kubernetes cluster in version 4.2.

This is a blocker for IPv6 infrastructure.

#1175 using RUN sed -i 's/127.0.0.1/localhost/g' /etc/nginx/sites-enabled/sharelatex.conf (Required to make 4.1 and 4.2 work) by @toastedcrumpets and @Wielewout did not fix the issue. When there was an NGINX 502 error in #1146, now it shows the above error message on the Web UI.

This is attributed to Overleaf 4.2 changing ports to 3000.

I am staying with 3.5.13 for now until there's a next release.

from overleaf.

toastedcrumpets avatar toastedcrumpets commented on June 17, 2024

I'm working around the issue by completely disabling IPv6 for the sharelatex container. For the overleaf-toolkit, I did this by creating a docker-compose.override.yml in config/ with the content proposed by #1168.

---
version: '2.2'
services:
  sharelatex:
    # ...
    sysctls:
      - net.ipv6.conf.all.disable_ipv6=1

This is a great solution @drescherflo, thank you for sharing. Its a good fix while we await overleaf to address IPv6 support.

from overleaf.

ehfd avatar ehfd commented on June 17, 2024

Unfortunately not possible in Kubernetes with ipv6.

from overleaf.

das7pad avatar das7pad commented on June 17, 2024

The latest releases 4.2.4 and 5.0.3 include changes for switching all internal traffic to IPv4 on the application level.

from overleaf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.