Git API cannot handle per_page=100 pagination for group project query. Results in error (bad gateway)
Description of the problem
See header.
Which Group/Project (with full path) is experiencing the issue?
Simply try
https://gitlab.com/api/v4/groups/gitlab-org/projects?page=1&per_page=100
Results (after some time...., so maybe a timeout) in
"GitLab is not responding"
The browser console reports "Failed to load resource: the server responded with a status of 502 (Bad Gateway)". The same 502 code is returned if trying the call directly from Javascript/Ajax.
In examining the network response in detail.
The response headers are: HTTP/1.1 502 Bad Gateway Server: nginx Date: Tue, 06 Mar 2018 12:26:34 GMT Content-Type: text/plain Content-Length: 24 RateLimit-Limit: 600 RateLimit-Observed: 1 RateLimit-Remaining: 599 RateLimit-Reset: 1520339254 RateLimit-ResetTime: Wed, 06 Mar 2018 12:27:34 GMT
The request headers are: GET /api/v4/groups/gitlab-org/projects?page=1&per_page=100 HTTP/1.1 Host: gitlab.com Connection: keep-alive Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8 DNT: 1 Accept-Encoding: gzip, deflate, br Accept-Language: da-DK,da;q=0.9,en-DK;q=0.8,en;q=0.7,en-US;q=0.6
Approximate date/time when the error occurred.
2018-03-06 1:30 PM CET
Describe what you were doing right before the issue occurred.
Net relevant