Comments (5)
@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.
@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.
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.
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.
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)
- Register a WebAuthn device error
- ENOENT: No such file or directory HOT 4
- problem deleting image or tag 16.6.1 HOT 13
- 16.7.0: Rake aborts launch with "failed to get urandom" HOT 36
- Migrate gitlab 11.10.4 to gitlab 16.6.2 with mysql to postgresql
- Error fetching repo data HOT 1
- CVE-2023-7028 HOT 3
- Upgrade Ruby to 3.2.x to remove bug introduced on Ruby 3.1.x HOT 3
- Unable to fetch commit when using --depth 1 mode
- GitLab Critical Security Release: 16.8.1, 16.7.4, 16.6.6, 16.5.8 HOT 1
- How to backup GitLab in Kubernetes? Do you have any good ideas, templates, or documentation? I'm not very familiar with Kubernetes, so please help me. HOT 2
- Backups not functioning in v16.8.1 HOT 3
- [Question] How to change the clone link from localhost to my domain? HOT 2
- Support setting `global_time_tracking_report` HOT 1
- I have set up an auto-backup strategy in Kubernetes, but it seems not to take effect. How can I troubleshoot the problem? HOT 9
- How is openid_connect_signing_key handled? HOT 1
- level=error correlation_id= duration_ms=0 error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory
- Please support pages namespace_in_path
- Web log-in broken HOT 2
- missing 16.1.6 and 16.3.7 version needed for upgrade path HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-gitlab.