Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Title: [Solved] Stalled requests with high paging settings
Page: 2/3
  Go to:
tuubi 15 Oct 2017
User Avatar
I can reproduce this in chromium. Clicking a link on the notifications page almost always causes chromium to go on strike and stop loading pages altogether. The browser has to be restarted or it won't load any URL at all. I've never seen this happen in Firefox.

The only thing I had to do was open up my notifications page and click one of the links. Didn't seem to matter if the link was unread. It happens reliably at the highest posts per page setting, but I got it to trigger with only 30 posts per page after a couple of successful page loads. Something about these links makes that particular browser engine choke.

No time to dig into this further (it's three in the morning for me), but just wanted to confirm it's not just jens.
jens 15 Oct 2017
User Avatar
  • Supporter
Quoting: tuubithe only thing I had to do was open up my notifications page and click one of the links. Didn't seem to matter if the link was unread. It happens reliably at the highest posts per page setting, but I got it to trigger with only 30 posts per page after a couple of successful page loads. Something about these links makes that particular browser engine choke.
Thanks for confirming. Yes, you are correct. It doesn't has to be an unread notification, sorry, that was a false positive from my side.
jens 15 Oct 2017
User Avatar
  • Supporter
I tried Firefox just now. First time I could reproduce it there too. Login and then just click on the first (already read) link in the notification center and the browser keeps loading forever. Second time after a browser restart everything was fine. Strange indeed.
tuubi 15 Oct 2017
User Avatar
Quoting: jensI tried Firefox just now. First time I could reproduce it there too. Login and then just click on the first (already read) link in the notification center and the browser keeps loading forever. Second time after a browser restart everything was fine. Strange indeed.
I've seen GOL stop responding for a few minutes every now and then, yesterday and this morning as well, but I assumed it was something else. And I'm still not sure it's related as it seems more random and always starts working again after a while. Affects only GOL so I assumed the server just wasn't responding for some reason. I'll have to keep an eye on whether it only happens when I'm clicking the notification links or if it is purely random.

Liam, you might want to spend a bit of time perusing the server logs (mysql and apache at least) for anything suspicious. The blackouts are a bit alarming, unless they're caused by you working on the server.
Liam Dawe 15 Oct 2017
This is strange since I never encounter the issue.

I use Chrome on my phone and Firefox on desktop and don't see a thing.

Will install chromium on the desktop and see if I can reproduce that way.

In future, if you do see it happen I need exact times to help find it for you.

Edit: Here's a test for you, for the notification that stops working. Find the post, click the link icon (the one with the permalink for the comment) and see if that link does the same.
jens 15 Oct 2017
User Avatar
  • Supporter
I have tested the following urls between 16:50 and 17:20 CEST
https://www.gamingonlinux.com/articles/heres-a-look-at-some-good-fps-games-available-on-linux-steamos.10447/comment_id=105656
https://www.gamingonlinux.com/articles/heres-a-look-at-some-good-fps-games-available-on-linux-steamos.10447/comment_id=105643
https://www.gamingonlinux.com/articles/heres-a-look-at-some-good-fps-games-available-on-linux-steamos.10447/comment_id=105597
https://www.gamingonlinux.com/index.php?module=articles_full&aid=10447&comment_id=105597&clear_note=51521
https://www.gamingonlinux.com/index.php?module=articles_full&aid=10447&comment_id=105643&clear_note=51586
https://www.gamingonlinux.com/index.php?module=articles_full&aid=10447&comment_id=105656&clear_note=51690
Test pattern was always the same: Open a new Google Chrome window (with no other windows open), paste the url into the address bar and press enter.

I see the hanging requests for both types of urls, permalink and the generated one from the notification center. Though not always, I fail to see a pattern yet :(. Kind of strange is that it takes quite some time until I see something in network tab of the chrome, though I see "waiting for www.gamingonlinux.com" in the status bar.

Edit:
I have waited quite some time, several minutes, for a link in the notification tab and the network tab shows repeatedly:
https://www.gamingonlinux.com/includes/ajax/update_notifications.php Status (pending)
and finally a
https://www.gamingonlinux.com/articles/heres-a-look-at-some-good-fps-games-available-on-linux-steamos.10447/page=2 504 Gateway timeout
Edit2:
Waiting for a permalink also ends with a 504 Gateway timeout.

Do you have load-balancer with a failing node or something similar?
Hope this helps.
Liam Dawe 15 Oct 2017
Honestly I've never seen it, my host has now tested on an account with the same settings and doesn't see anything either.

I'm at a complete loss here.
Liam Dawe 15 Oct 2017
Okay, my host has asked if you can reproduce it now. Let me know.
jens 15 Oct 2017
User Avatar
  • Supporter
Hi, seems OK now, I can't reproduce it anymore.
I used the same procedure, open a new browser and paste+go a random url from the ones I mentioned and repeated this several times. Every time I got nicely redirected to the corresponding message.

May I ask what has changed?
Liam Dawe 15 Oct 2017
Disabled PHP-FPM to see if that was the issue, they are investigating further.

Do keep testing if you can, let me know if/when it returns.
jens 15 Oct 2017
User Avatar
  • Supporter
Thanks a lot for the follow-up. Seems good so far. I'll report back when this issue reappears.
jens 16 Oct 2017
User Avatar
  • Supporter
Still all good here, please keep the changed php-settings! Makes navigation so much easier :)
Liam Dawe 16 Oct 2017
Great, will mark as solved.
jens 3 Nov 2017
User Avatar
  • Supporter
Hi Liam,

This is issue is back. Did your provider reverted the php settings? ;)

Regards,
Jens
Liam Dawe 3 Nov 2017
Keep an eye out, I've changed a bunch today code-wise that should hopefully sort this.
jens 3 Nov 2017
User Avatar
  • Supporter
The stalled requests are still there..
Liam Dawe 3 Nov 2017
Quoting: jensThe stalled requests are still there..
Okay, so to re-confirm, the page just seems to infinite load or you get to some sort of time out. And it's only when clicking a notification?
Liam Dawe 3 Nov 2017
Next time it happens, please screenshot and post it here.
jens 4 Nov 2017
User Avatar
  • Supporter
I have this every time now. Like it was before and like tuubi has described it too. Just click on a notification for a long thread. One thing is different though. After exactly 5 minutes of waiting the requests successfully completes, so no longer gateway timeout anymore.
Xpander 4 Nov 2017
Happens with Chrome for me sometimes (haven't tested that long since its not my main browser).

Never seen it with Vivaldi, Opera (though they use same engine) and Firefox.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register