Download url in 3.14 show wrong userid or not visible

132 views
Skip to first unread message

Anders Hanson

unread,
May 20, 2026, 2:59:35 AMMay 20
to Repo and Gerrit Discussion
We upgraded to 3.14 yesterday and got reports that the download links for repositories 
are missing at times, they come back if we restart Gerrit.
They also show the wrong userid when they are visible. The user id in the url
changes on refresh, but never to the userid of the logged in user.

The rest endpoint config/server/info shows the correct url for the user accessing it.

We run a fairly standard Gerrit setup with just a few extra plugins, all updated to latest.

Daniele Sassoli

unread,
May 20, 2026, 3:34:30 AMMay 20
to Repo and Gerrit Discussion
On Wednesday, 20 May 2026 at 07:59:35 UTC+1 anders....@gmail.com wrote:
We upgraded to 3.14 yesterday and got reports that the download links for repositories 
are missing at times, they come back if we restart Gerrit.
They also show the wrong userid when they are visible. The user id in the url
changes on refresh, but never to the userid of the logged in user.

Oh wow, this looks worrying, can you report an issue at [1].
Ideally if you can reproduce this locally  and detail the steps that'd be amazing.

[1] https://issues.gerritcodereview.com/issues?q=status:open

Anders Hanson

unread,
May 20, 2026, 4:16:31 AMMay 20
to Repo and Gerrit Discussion
onsdag 20 maj 2026 kl. 09:34:30 UTC+2 skrev Daniele Sassoli:
On Wednesday, 20 May 2026 at 07:59:35 UTC+1 anders....@gmail.com wrote:
We upgraded to 3.14 yesterday and got reports that the download links for repositories 
are missing at times, they come back if we restart Gerrit.
They also show the wrong userid when they are visible. The user id in the url
changes on refresh, but never to the userid of the logged in user.

Oh wow, this looks worrying, can you report an issue at [1].
Ideally if you can reproduce this locally  and detail the steps that'd be amazing.

[1] https://issues.gerritcodereview.com/issues?q=status:open


I've not had time to try to reproduce it locally yet, but added bit more info in the report.
 

Luca Milanesio

unread,
May 20, 2026, 6:27:03 AMMay 20
to Repo and Gerrit Discussion, Luca Milanesio

On 20 May 2026, at 09:16, Anders Hanson <anders....@gmail.com> wrote:


onsdag 20 maj 2026 kl. 09:34:30 UTC+2 skrev Daniele Sassoli:
On Wednesday, 20 May 2026 at 07:59:35 UTC+1 anders....@gmail.com wrote:
We upgraded to 3.14 yesterday and got reports that the download links for repositories 
are missing at times, they come back if we restart Gerrit.
They also show the wrong userid when they are visible. The user id in the url
changes on refresh, but never to the userid of the logged in user.

Oh wow, this looks worrying, can you report an issue at [1].
Ideally if you can reproduce this locally  and detail the steps that'd be amazing.

[1] https://issues.gerritcodereview.com/issues?q=status:open


I've not had time to try to reproduce it locally yet, but added bit more info in the report.

One thing that is important is the HAR file of the browser: *IF* you have any of the Gerrit users reporting the issue, please download and provide the browser’s HAR file and add it to the ticket.

My 2c is that there are cookies issues and the call doesn’t get enriched with the correct users’ tokens.
NOTE: Without data, this is a pure shot in the dark :-D

Luca.

 



The rest endpoint config/server/info shows the correct url for the user accessing it.

We run a fairly standard Gerrit setup with just a few extra plugins, all updated to latest.

-- 
-- 
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/b9cd2089-da70-4761-8efd-f46359a7deb6n%40googlegroups.com.

Anders Hanson

unread,
May 20, 2026, 7:28:33 AMMay 20
to Repo and Gerrit Discussion
onsdag 20 maj 2026 kl. 12:27:03 UTC+2 skrev Luca Milanesio:

On 20 May 2026, at 09:16, Anders Hanson <anders....@gmail.com> wrote:


onsdag 20 maj 2026 kl. 09:34:30 UTC+2 skrev Daniele Sassoli:
On Wednesday, 20 May 2026 at 07:59:35 UTC+1 anders....@gmail.com wrote:
We upgraded to 3.14 yesterday and got reports that the download links for repositories 
are missing at times, they come back if we restart Gerrit.
They also show the wrong userid when they are visible. The user id in the url
changes on refresh, but never to the userid of the logged in user.

Oh wow, this looks worrying, can you report an issue at [1].
Ideally if you can reproduce this locally  and detail the steps that'd be amazing.

[1] https://issues.gerritcodereview.com/issues?q=status:open


I've not had time to try to reproduce it locally yet, but added bit more info in the report.

One thing that is important is the HAR file of the browser: *IF* you have any of the Gerrit users reporting the issue, please download and provide the browser’s HAR file and add it to the ticket.

Attached a HAR file to the issue, but that is for the case when no download links are should at all.
Need o restart Gerrit to get them back (they are shown for some time after a restart for some odd reason)

lucamilanesio

unread,
May 30, 2026, 3:04:55 PM (11 days ago) May 30
to Repo and Gerrit Discussion
@Matthias has tracked down the issue, see the workaround for your reference.

On Wednesday, May 20, 2026 at 1:28:33 PM UTC+2 Anders Hanson wrote:
onsdag 20 maj 2026 kl. 12:27:03 UTC+2 skrev Luca Milanesio:

On 20 May 2026, at 09:16, Anders Hanson <anders....@gmail.com> wrote:


onsdag 20 maj 2026 kl. 09:34:30 UTC+2 skrev Daniele Sassoli:
On Wednesday, 20 May 2026 at 07:59:35 UTC+1 anders....@gmail.com wrote:
We upgraded to 3.14 yesterday and got reports that the download links for repositories 
are missing at times, they come back if we restart Gerrit.
They also show the wrong userid when they are visible. The user id in the url
changes on refresh, but never to the userid of the logged in user.

Oh wow, this looks worrying, can you report an issue at [1].
Ideally if you can reproduce this locally  and detail the steps that'd be amazing.

[1] https://issues.gerritcodereview.com/issues?q=status:open


I've not had time to try to reproduce it locally yet, but added bit more info in the report.

One thing that is important is the HAR file of the browser: *IF* you have any of the Gerrit users reporting the issue, please download and provide the browser’s HAR file and add it to the ticket.

Attached a HAR file to the issue, but that is for the case when no download links are should at all.
Need o restart Gerrit to get them back (they are shown for some time after a restart for some odd reason)

A simpler workaround is to disable the server_config cache, as indicated in https://issues.gerritcodereview.com/issues/514817934.

Example:
[cache "server_config"] memoryLimit = 0

lucamilanesio

unread,
May 30, 2026, 3:06:32 PM (11 days ago) May 30
to Repo and Gerrit Discussion, Matthias Sohn
@Matthias has tracked down the issue, see the workaround for your reference.

On Wednesday, May 20, 2026 at 1:28:33 PM UTC+2 Anders Hanson wrote:
onsdag 20 maj 2026 kl. 12:27:03 UTC+2 skrev Luca Milanesio:

> On 20 May 2026, at 09:16, Anders Hanson <anders....@gmail.com> wrote:
>
>
> onsdag 20 maj 2026 kl. 09:34:30 UTC+2 skrev Daniele Sassoli:
> On Wednesday, 20 May 2026 at 07:59:35 UTC+1 anders....@gmail.com wrote:
> We upgraded to 3.14 yesterday and got reports that the download links for repositories
> are missing at times, they come back if we restart Gerrit.
> They also show the wrong userid when they are visible. The user id in the url
> changes on refresh, but never to the userid of the logged in user.
>
> Oh wow, this looks worrying, can you report an issue at [1].
> Ideally if you can reproduce this locally and detail the steps that'd be amazing.
>
> [1] https://issues.gerritcodereview.com/issues?q=status:open
>
> I've created https://issues.gerritcodereview.com/issues/514817934
>
> I've not had time to try to reproduce it locally yet, but added bit more info in the report.


A simpler workaround is to disable the server_config cache in your gerrit.config, as indicated in https://issues.gerritcodereview.com/issues/514817934.

Example:

[cache "server_config”]
memoryLimit = 0

Luca.

>
>
>
> The rest endpoint config/server/info shows the correct url for the user accessing it.
>
> We run a fairly standard Gerrit setup with just a few extra plugins, all updated to latest.
>
> --
> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/b9cd2089-da70-4761-8efd-f46359a7deb6n%40googlegroups.com.



--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/f7628b12-e4ad-4cae-ac6b-9a933986bcbbn%40googlegroups.com.

Luca Milanesio

unread,
May 30, 2026, 5:40:31 PM (11 days ago) May 30
to Repo and Gerrit Discussion, Luca Milanesio, Matthias Sohn


> On 30 May 2026, at 21:06, lucamilanesio <luca.mi...@gmail.com> wrote:
>
> @Matthias has tracked down the issue, see the workaround for your reference.
>
> On Wednesday, May 20, 2026 at 1:28:33 PM UTC+2 Anders Hanson wrote:
> onsdag 20 maj 2026 kl. 12:27:03 UTC+2 skrev Luca Milanesio:
>
>> On 20 May 2026, at 09:16, Anders Hanson <anders....@gmail.com> wrote:
>>
>>
>> onsdag 20 maj 2026 kl. 09:34:30 UTC+2 skrev Daniele Sassoli:
>> On Wednesday, 20 May 2026 at 07:59:35 UTC+1 anders....@gmail.com wrote:
>> We upgraded to 3.14 yesterday and got reports that the download links for repositories
>> are missing at times, they come back if we restart Gerrit.
>> They also show the wrong userid when they are visible. The user id in the url
>> changes on refresh, but never to the userid of the logged in user.
>>
>> Oh wow, this looks worrying, can you report an issue at [1].
>> Ideally if you can reproduce this locally and detail the steps that'd be amazing.
>>
>> [1] https://issues.gerritcodereview.com/issues?q=status:open
>>
>> I've created https://issues.gerritcodereview.com/issues/514817934
>>
>> I've not had time to try to reproduce it locally yet, but added bit more info in the report.
>
>
> A simpler workaround is to disable the server_config cache in your gerrit.config, as indicated in https://issues.gerritcodereview.com/issues/514817934.
>
> Example:
>
> [cache "server_config”]
> memoryLimit = 0

I’ve documented the workaround also on the release notes for Gerrit v3.14 [2].
The fix for Gerrit master is in review at [3].
The additional validation test for avoiding similar breakages to happen again is for review at [4].

Thanks again for reporting it.

Luca.

[2] https://gerrit-review.googlesource.com/c/homepage/+/589241
[3] https://gerrit-review.googlesource.com/c/gerrit/+/589221
[4] https://gerrit-review.googlesource.com/c/gerrit/+/589201
Reply all
Reply to author
Forward
0 new messages