Author Topic: Gitlab rate limits.  (Read 602 times)

mika

  • Full Member
  • ***
  • Posts: 144
Gitlab rate limits.
« on: October 29, 2026, 10:18:39 am »
I cannot access FreePascal source repository on Gitlab due to rate limits.

https://docs.gitlab.com/user/gitlab_com/rate_limits/

I'm on free tier. Not sure how it supposed to work, but it does not work for me. FreePassal is the only repository I am using.
« Last Edit: October 29, 2026, 10:20:37 am by mika »

mika

  • Full Member
  • ***
  • Posts: 144
Re: Gitlab rate limits.
« Reply #1 on: October 29, 2026, 11:00:37 am »
Quote
Unauthenticated traffic from an IP address 60 each hour

If you on network with shared IP, you might not be able to login.

If you already logged in, then 5000 requests each hour for free tier should be fine.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Gitlab rate limits.
« Reply #2 on: October 29, 2026, 11:51:35 am »
Unless you go through a proxy (sharing your IP, and being unlucky that others (bots?) use Gitlab too via that shared IP)...
And of course you may be forced through a proxy by your ISP (though not sure when I heard last of something like that)...

What are you doing to rack up the immense counts needed to hit the limit?
- API calls
- Using the WEB IDE? (I don't know, maybe that amounts to something)

Normally I would expect
- you push/pull (with a git client), once or twice an hour (maybe a few repos each time)
- search bugs/MR
- occasionally submit a bug

If you browse commits online (rather than in your clone), I am not sure which limit applies, but most things have several 100 per minute (so you could still get 1 page per second, if I am reading that right).


Hobbit00

  • Jr. Member
  • **
  • Posts: 70
Re: Gitlab rate limits.
« Reply #3 on: October 29, 2026, 03:39:48 pm »
Unless you go through a proxy (sharing your IP, and being unlucky that others (bots?) use Gitlab too via that shared IP)...
And of course you may be forced through a proxy by your ISP (though not sure when I heard last of something like that)...

In Italy is normal have a shared IP.
Many service providers offer a connection that lacks both a static and a dynamic IPv4 address (public). In such cases, if you browse using IPv4, you are essentially thrown into a crowded environment alongside many other users (at one point, the ratio reached as many as several dozen users sharing a single public IP address).
« Last Edit: October 29, 2026, 03:44:20 pm by Hobbit00 »

n7800

  • Hero Member
  • *****
  • Posts: 811
  • Lazarus IDE contributor
    • GitLab profile
Re: Gitlab rate limits.
« Reply #4 on: October 29, 2026, 11:51:16 pm »
The anonymous viewer limit is only 60, not 5000. And as far as I understand, this applies to any API request, and opening an issue/MR creates a lot of uncontrolled individual requests for many widgets on the page (related work items, labels, reviewers), even if you don't need them. See the attached screenshots.

I frequently view the activity page for the Lazarus project in a browser while not logged in, and I end up hitting an error after looking at just a few issues or MRs! What’s more, I get "banned" for an entire hour! This really locks GitLab out for unauthenticated users...

Thausand

  • Hero Member
  • *****
  • Posts: 629
Re: Gitlab rate limits.
« Reply #5 on: November 05, 2026, 08:47:23 am »
Beside what is write n7800 last days I get many error when view bug item:
- "JSON.parse: unexpected character at line 1 column 1 of the JSON data"
- "Something went wrong when fetching user permissions "
- "Failed to load agent sessions for this work item. "
- "One or more items cannot be shown. If you're using SAML authentication, this could mean your session has expired. "

This only 4 simple example (I can have many many many more, even make crash gitlab and he give up display page)

This gitlab web interface not usable, wiki not available, yesterday before freepascal.org not available. I have understand it have ime for maintain but when is nothing then what is use for have it ?

I make use less and more less for FPC for this reason. If that is goal then that ok. if not goal then please have look.
A docile goblin always follow HERMES.md

n7800

  • Hero Member
  • *****
  • Posts: 811
  • Lazarus IDE contributor
    • GitLab profile
Re: Gitlab rate limits.
« Reply #6 on: November 05, 2026, 09:16:24 pm »
Beside what is write n7800 last days I get many error when view bug item:
- "JSON.parse: unexpected character at line 1 column 1 of the JSON data"
- "Something went wrong when fetching user permissions "
- "Failed to load agent sessions for this work item. "
- "One or more items cannot be shown. If you're using SAML authentication, this could mean your session has expired. "

This only 4 simple example (I can have many many many more, even make crash gitlab and he give up display page)

This gitlab web interface not usable

Please report this to the GitLab bug tracker, as its developers are unlikely to read this forum ))

For example, I found: https://gitlab.com/gitlab-org/gitlab/-/work_items/635066

I make use less and more less for FPC for this reason.

Infrastructure issues can arise with any solution (even with major software platforms like GitLab). But Pascal is a programming language, not a website. Open your IDE and start creating!

In addition to official resources, there is a huge amount of material on the Internet, perhaps even in your language. By the way, I recently came across this site.

Thausand

  • Hero Member
  • *****
  • Posts: 629
Re: Gitlab rate limits.
« Reply #7 on: November 06, 2026, 09:30:53 am »
Please report this to the GitLab bug tracker, as its developers are unlikely to read this forum ))
There is problem that is name egg and chicken.

Quote
For example, I found: https://gitlab.com/gitlab-org/gitlab/-/work_items/635066
Unable for view item and have gitlab error.


Quote
Infrastructure issues can arise with any solution (even with major software platforms like GitLab). But Pascal is a programming language, not a website. Open your IDE and start creating!
That true.

But when for me not possible and have do merge request or view issue. not able for view forum, not able for view online help then is not first idea and use FPC. There any other language that have support that is work (this not offense for FPC/wiki/forum maintainer).

I am not in work for baby sit gitlab ;D (but as you have write: forum fpc is also not baby sit gitlab)

PS: I not for need solution gitlab. I smart enough and use other account, have other users/computer/country and have same problem. This not user problem but problem gitlab and is structural.

2 cent
A docile goblin always follow HERMES.md

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4760
  • I like bugs.
Re: Gitlab rate limits.
« Reply #8 on: November 06, 2026, 10:34:41 am »
I frequently view the activity page for the Lazarus project in a browser while not logged in, and I end up hitting an error after looking at just a few issues or MRs! What’s more, I get "banned" for an entire hour! This really locks GitLab out for unauthenticated users...
I also am not logged in when viewing GitLab with my tablet computer, and I get similar errors.
Annoying!
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

n7800

  • Hero Member
  • *****
  • Posts: 811
  • Lazarus IDE contributor
    • GitLab profile
Re: Gitlab rate limits.
« Reply #9 on: November 11, 2026, 06:25:28 pm »

 

TinyPortal © 2005-2018