powa-team / powa-web

PoWA user interface
http://powa.readthedocs.io/
73 stars 31 forks source link

Powa-web proxy error #118

Closed TezkaRabota closed 3 years ago

TezkaRabota commented 3 years ago

Hi guys, I have a problem getting "Details for all queries" for some databases. I get an error message:

""" An error occured while loading this widget Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /server/18/metrics/database_all_queries/c3_sikkr/.

Reason: Error reading from remote server """

Can you please advise me what can cause this problem and how to solve it.

Regards, Domen

rjuju commented 3 years ago

Hello,

That's an unusual message. Are you using the UI with an external http daemon, like apache?

TezkaRabota commented 3 years ago

Yes, I'm using apache http deamon.

Best regards!

Domen Šetar Computer Systems Support IZUM – Institute of Information Science | Prešernova ulica 17 | 2000 Maribor | Slovenia T: +386 2 25 20 339 | M: +386 41 676 342 | http://www.izum.si/ www.izum.si | domen.setar@izum.si mailto:domen.setar@izum.si

From: Julien Rouhaud notifications@github.com Sent: Wednesday, November 25, 2020 1:28 PM To: powa-team/powa-web powa-web@noreply.github.com Cc: Domen Šetar domen.setar@izum.si; Author author@noreply.github.com Subject: Re: [powa-team/powa-web] Powa-web proxy error (#118)

Hello,

That's an unusual message. Are you using the UI with an external http daemon, like apache?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/powa-team/powa-web/issues/118#issuecomment-733677381 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5BF7GIJI4MHDRNW2NPLHDSRTZ6TANCNFSM4UCD4FTQ . https://github.com/notifications/beacon/AP5BF7DO7RZNHW4AQ3MFACDSRTZ6TA5CNFSM4UCD4FT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFO5QORI.gif

TezkaRabota commented 3 years ago

Best regards!

Domen Šetar Computer Systems Support IZUM – Institute of Information Science | Prešernova ulica 17 | 2000 Maribor | Slovenia T: +386 2 25 20 339 | M: +386 41 676 342 | http://www.izum.si/ www.izum.si | domen.setar@izum.si mailto:domen.setar@izum.si

From: Julien Rouhaud notifications@github.com Sent: Wednesday, November 25, 2020 1:28 PM To: powa-team/powa-web powa-web@noreply.github.com Cc: Domen Šetar domen.setar@izum.si; Author author@noreply.github.com Subject: Re: [powa-team/powa-web] Powa-web proxy error (#118)

Hello,

That's an unusual message. Are you using the UI with an external http daemon, like apache?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/powa-team/powa-web/issues/118#issuecomment-733677381 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5BF7GIJI4MHDRNW2NPLHDSRTZ6TANCNFSM4UCD4FTQ . https://github.com/notifications/beacon/AP5BF7DO7RZNHW4AQ3MFACDSRTZ6TA5CNFSM4UCD4FT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFO5QORI.gif

rjuju commented 3 years ago

You're probably missing some configuration on mod_proxy then. Maybe that database has more rows to be fetched compared to other databases, making the query runs for a longer time, so adding some timeout / keepalive parameter would help. Note that this isn't due to powa-web, so you might get better answer from people with more apache knowledge than me.

rjuju commented 3 years ago

I'm closing this issue as I didn't have news for some time. I hope the problem is fixed, if not and if you still have questions feel frop to reply here or open a new issue.