Opened 14 months ago
Closed 13 months ago
#71602 closed defect (fixed)
Issue with Available Ports Webpage
| Reported by: | nikhjs | Owned by: | arjunsalyan (Arjun Salyan) |
|---|---|---|---|
| Priority: | High | Milestone: | |
| Component: | website | Version: | |
| Keywords: | Cc: | mascguy (Christopher Nielsen) | |
| Port: |
Description
Clicking on the Tab "Available Ports" I get a page displaying: 504 Gateway Time-out nginx/1.18.0 (Ubuntu)
This happens for Safari and as well for Firefox!
Change History (16)
comment:1 Changed 14 months ago by jmroot (Joshua Root)
| Cc: | arjunsalyan added |
|---|---|
| Component: | ports → website |
| Summary: | Issue with Main Webpage → Issue with Available Ports Webpage |
comment:2 Changed 14 months ago by mascguy (Christopher Nielsen)
| Cc: | mascguy added |
|---|
comment:3 Changed 14 months ago by mascguy (Christopher Nielsen)
The ports site has been very slow over the past week or so, sometimes excruciatingly so. Does the database need some TLC?
comment:4 Changed 14 months ago by mascguy (Christopher Nielsen)
It looks like the site is now down, with the following message displayed:
Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 13055987
comment:5 Changed 14 months ago by arjunsalyan (Arjun Salyan)
The VPS is hosted with Contabo and I have noticed periods of degraded performance which are not related to system or website load. I am in contact with them, but I will also be considering to explore a new hosting provider as Contabo has just become too painful recently.
comment:6 follow-up: 9 Changed 14 months ago by mascguy (Christopher Nielsen)
It looks like the ports site is now down, as loading fails with 504 Gateway Timeout
comment:7 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
This has been happening off and on for weeks.
Now I sometimes get a new error:
ports.macports.org doesn’t support a secure connection
You usually connect to this site securely, but Chrome couldn't use a secure connection this time. An attacker might be trying to eavesdrop or modify your network connection. Learn more about this warning
comment:8 Changed 14 months ago by mac-curver
On my system it is working today 2024-12-28. Maybe it really is a provider problem, while the rest of the macports web has always worked correctly at least for me. May be the issue could be closed!
comment:9 Changed 14 months ago by mascguy (Christopher Nielsen)
Replying to mascguy:
It looks like the ports site is now down, as loading fails with 504 Gateway Timeout
Arjun, this looks like a potential issue related to DNS, and/or load-balancing rules: On my home Mac, the site won't event respond. But on my work laptop, it works beautifully.
After flushing DNS on my home Mac, and restarting Firefox, everything looks good now. But is there anything you can look at, to troubleshoot this weirdness?
comment:10 Changed 14 months ago by qwertychouskie (QwertyChouskie)
On my Mac, the site loading seems to be intermittent. On my Linux machine, it seems to not load, period.
comment:11 Changed 14 months ago by mascguy (Christopher Nielsen)
| Cc: | arjunsalyan removed |
|---|---|
| Owner: | set to arjunsalyan |
| Priority: | Normal → High |
| Status: | new → assigned |
Bumping priority to high, as the ports site is critical for both users and maintainers.
comment:12 follow-up: 13 Changed 14 months ago by arjunsalyan (Arjun Salyan)
I have not seen the DNS issue before. Can you share more details from nslookup or something similar. My guess would be related to caching, the site uses caching if no cookies are stored. But if you login or set the default port page type, cookies are set and the site then will not use caching. It could be one reason for difference in behaviour across devices.
I am travelling today, will try to do some quick fix. And tomorrow I am planning to switch to a different VPS provider to likely resolve the connectivity/performance issues in Contabo.
comment:13 Changed 14 months ago by mascguy (Christopher Nielsen)
Replying to arjunsalyan:
I have not seen the DNS issue before. Can you share more details from nslookup or something similar.
I don't see a DNS issue per se. Rather, the thought was that perhaps there are multiple addresses in the backend. (If there is a load-balancer somewhere in the stack...?)
My guess would be related to caching, the site uses caching if no cookies are stored. But if you login or set the default port page type, cookies are set and the site then will not use caching. It could be one reason for difference in behaviour across devices.
Anything's possible. Just curious, when caching is disabled, is the response time slow enough for a timeout to occur?
I am travelling today, will try to do some quick fix. And tomorrow I am planning to switch to a different VPS provider to likely resolve the connectivity/performance issues in Contabo.
Sounds great, perhaps a different provider might improve the situation.
comment:14 Changed 14 months ago by mac-curver
For me, I was the original author, now the web presence is completely ok. I was filing the issue as several days in sequence I could access all Tabs on https://www.macports.org but the Available Ports. So for me it looked like a hidden defect.
To: arjunsalyan Please close the issue. I can't do it as I can't access the page anymore with my original old nikhjs account. It always falls back to mac-curver (newer account). May be this is also a reason why my access failed. May be somehow I accessed an old outdated cached web access?!
comment:15 Changed 14 months ago by mascguy (Christopher Nielsen)
I'm seeing gateway timeouts. Is that expected, or are things impaired again?
Regardless, we *really* need to get this fixed...
comment:16 Changed 13 months ago by arjunsalyan (Arjun Salyan)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

It loads slowly for me at the moment, but does load.