Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CGI Gateway Timeout with Internet issues #366

Open
ertyu opened this issue May 18, 2023 · 18 comments
Open

CGI Gateway Timeout with Internet issues #366

ertyu opened this issue May 18, 2023 · 18 comments

Comments

@ertyu
Copy link

ertyu commented May 18, 2023

Yesterday there was a fiber cut upstream of my ISP that caused many connections to fail, while some others succeeded. Once again Smokeping became unusable just when it would be handy to help identify the problem. I get a Gateway timeout trying to load the CGI pages and graphs. There is a local DNS resolver which was able to resolve some addresses. Of course when there is no connectivity the same thing happens. Is there some thing that can be changed to fix or work around this?

@github-actions
Copy link

This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.

@ertyu
Copy link
Author

ertyu commented Aug 17, 2023

Bump

@knofte
Copy link

knofte commented Sep 29, 2023

@ertyu Can you elaborate a bit more what the problem is?
Maybe a local caching dns would solve your problem? (dnsmasq, bind etc)

@ertyu
Copy link
Author

ertyu commented Sep 29, 2023

The CGI web pages won't load when there are upstream connectivity issues. As mentioned I do have a local caching dns server.

@knofte
Copy link

knofte commented Sep 29, 2023

Can you share your conf?
I don't understand where you'd get a gateway upstream issue. Maybe seeing a conf makes it more clear.
Sounds like gateway of proxypass or such in apache/nginx.

@ertyu
Copy link
Author

ertyu commented Sep 29, 2023

I believe the error message itself originates from apache. The gateway to the cgi script times out, i.e. it's running far too long without returning any content. But ultimately its the problem with the script.

@knofte
Copy link

knofte commented Sep 29, 2023 via email

@ertyu
Copy link
Author

ertyu commented Sep 29, 2023

<Directory /usr/local/www/smokeping/>
AllowOverride None
AddHandler cgi-script .cgi
AddHandler cgi-script .fcgi
Options ExecCGI

The rest of apache config is pretty much default.

Copy link

This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.

@ertyu
Copy link
Author

ertyu commented Dec 29, 2023

Bump

Copy link

This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.

@ertyu
Copy link
Author

ertyu commented Mar 30, 2024

Ok then

Copy link

This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.

@ertyu
Copy link
Author

ertyu commented Jun 29, 2024

Silly bot, problems don't fix themselves

Copy link

This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.

@AGSPhoenix
Copy link

Bump.

Copy link

This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.

@ertyu
Copy link
Author

ertyu commented Dec 29, 2024

Keep it going

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants