Giter VIP home page Giter VIP logo

Comments (5)

kkimurak avatar kkimurak commented on June 12, 2024 1

@fidoedidoe
Your problem may be temporaly resolved by setting GITLAB_RAILS_RACK_TIMEOUT to a value higher than the default value of "60" (seconds). But it's just a temporal workaround. As far as I researched, we have no method to completely disable request timeout.

from docker-gitlab.

fidoedidoe avatar fidoedidoe commented on June 12, 2024 1

@kkimurak - thank you so much for the feedback/insight/understanding of my problem - very much appreciated!! Let me look into this and I'll update (edit here) once I know more.

EDIT: @kkimurak - I can't thank you enough, your suggestion worked perfectly. We can now see the details of our MR!! Than you sooo much!!!

from docker-gitlab.

kkimurak avatar kkimurak commented on June 12, 2024

Looking into the code, gitlab itself loads the environment variable GITLAB_RAILS_RACK_TIMEOUT_ENABLE. It works for both official gitlab-ce (gitlab-ee) and unofficialsameersbn/gitlab. So we have nothing to do here for sameersbn/gitlab image. Just set container environment variable.

I don't know how you are running the container, but here is a part of docker-compose.yml example:

services:
  gitlab:
    image: sameersbn/gitlab:16.5.1
   environment:
    - GITLAB_RAILS_RACK_TIMEOUT_ENABLE=false

from docker-gitlab.

fidoedidoe avatar fidoedidoe commented on June 12, 2024

Hey @kkimurak

Thanks for your reply (and apologies for the delay in replying). I implemented the Docker Env Var (GITLAB_RAILS_RACK_TIMEOUT_ENABLE=false) but unfortunately it doesn't alleviate the issue I'm experiencing.

In the logs (/var/log/gitlab/gitlab/production.log) I see (basically a MR has many many comments and times out rendering these to web UI):

Rack::Timeout::RequestTimeoutException (Request ran for longer than 60000ms ):

Perhaps I'm misunderstanding the influence this env var has in respect to the above? Any further suggestions/further insight would be very welcomed.

Kind regards

from docker-gitlab.

kkimurak avatar kkimurak commented on June 12, 2024

Hi @fidoedidoe , sorry for late.

I have noticed that the code introduced by !90958 have been removed by !92200. The environment variable GITLAB_RAILS_RACK_TIMEOUT_ENABLE have no effect.

Alternatively GITLAB_RAILS_RACK_TIMEOUT_ENABLE_LOGGING is introduced but it may not solve your problem (it just control wheather enable / disable logging, not timeout itself)..

from docker-gitlab.

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.