You are not logged in.

#1 2022-05-02 09:11:39

Albsch
Member
Registered: 2022-05-02
Posts: 3

Firefox Infinite Request Loop

Recently, in the range of months, Firefox started to behave strangely.

When I click on links, sometimes, the request is repeated. It doesn't stop repeating the request until I issue another action, e.g. click somewhere else on the page.

Things that I observed:

  • It affects all my installations (2 desktops, 2 laptops)

  • It happens with Firefox, Firefox Developer Edition, Firefox Nightly

  • It happens with a fresh profile (deleted .cache/mozilla and .mozilla)

  • It is not deterministic, hard to reproduce

  • It can happen on any web page

  • The requests are really issued, as it triggered the abuse mechanism of Github very quickly

  • Disabling http3 does not help

  • Logging any debug output prevents the issue from happening

  • It can happen in rapid succession, but sometimes only after a few hours

  • It does not happen with chromium

I'm grasping at straws here and I don't know how I could debug this issue further. It's really annoying. How can I assure that this is a Firefox bug and not an issue of my environment (Sway + Wayland)? It looks like it could be an issue with some repeated input events, but whenever I log inputs with libinput debug-events the issue stops occurring. It could also be a race condition and whenever I try to log something the issue stops. Whenever I try to log network requests with the developer console, it stops occurring.

The only evidence I could generate is to capture the screen with my mobile phone. I could post the video, if it helps debugging. Basically, the Reload current page indicator quickly changes from reload to cancel and back. Once I clicked on the page (or any keyboard button, or moved the mouse to another screen), the requests stopped and the link was actually visited.

I will try now to run Firefox with MOZ_ENABLE_WAYLAND=0, but I don't have much hope it helps.

Any help or insights on how to debug this issue is appreciated.

Edit:

After updates, this issue has not appeared in two months now.

Last edited by Albsch (2022-08-14 16:53:31)

Offline

#2 2022-05-02 12:18:14

Albsch
Member
Registered: 2022-05-02
Posts: 3

Re: Firefox Infinite Request Loop

Just now I had a similar problem where I had an IntelliJ window open, and while switching workspaces, the cursor got stuck going down repeatedly. Mouse movements didn't do anything, but the cursor stopped once I pressed any button. The strange thing is that libput debug-events doesn't show any actions happening, but the cursor is going down, even when I click with the mouse to another position in a text file to bring it up again. My hunch is that this is related to the Firefox problem, where the mouse input is sent multiple times. I have trouble reproducing the cursor moving down repeatedly, too.

Offline

Board footer

Powered by FluxBB