twisted89 Posted May 1, 2020 Posted May 1, 2020 (edited) I've randomly started getting 504 timeouts attempting to access any part of my forum Admin Panel, increasing my PHP time outs to 300 I finally managed to login but it's extremely slow. I enabled slow log and it's reporting this, seems to be an issue fetching the news? script_filename = index.php [0x00007fa1bfe1e610] curl_exec() system/Http/Request/Curl.php:387 [0x00007fa1bfe1e570] _execute() system/Http/Request/Curl.php:422 [0x00007fa1bfe1e4a0] _executeAndFollowRedirects() system/Http/Request/Curl.php:298 [0x00007fa1bfe1e430] get() applications/core/extensions/core/Dashboard/LatestNews.php:68 [0x00007fa1bfe1e350] refreshNews() applications/core/extensions/core/Dashboard/LatestNews.php:48 [0x00007fa1bfe1e2a0] getBlock() applications/core/modules/admin/overview/dashboard.php:59 [0x00007fa1bfe1e180] manage() system/Dispatcher/Controller.php:96 [0x00007fa1bfe1e100] execute() system/Dispatcher/Dispatcher.php:152 [0x00007fa1bfe1e090] run() index.php:14 The main admin page also shows this: Seems like there's a ridiculously long timeout trying to fetch the Invision news which is blocking everything. EDIT: I've commented out the following as a temporary fix, can someone confirm this is an Invision issue and not related to my server? protected function refreshNews() { //\IPS\Data\Store::i()->ips_news = json_encode( array( // 'content' => \IPS\Http\Url::ips( 'news' )->request()->get()->decodeJson(), // 'time' => time() //) ); } Edited May 1, 2020 by twisted89
Mark Round Posted May 1, 2020 Posted May 1, 2020 Hi, have you tried removing that widget from the page? (invision news) its not there by default
twisted89 Posted May 1, 2020 Author Posted May 1, 2020 My dash is completely stock (I've never added or removed widgets to it), removing it seems to work but seems like avoiding the real issue here?
Mark Round Posted May 1, 2020 Posted May 1, 2020 i just tested adding it on my site and no issues with that block so maybe yes,it is something from your side and this is just masking the issue.
twisted89 Posted May 1, 2020 Author Posted May 1, 2020 (edited) Do you know the URL it requests for news so I can test? EDIT: Nevermind, managed to find it. Seems my server can't reach remoteservices.invisionpower.com, pinging works fine from my PC but get host unreachable from my server. Submitted a support ticket to host. Edited May 1, 2020 by twisted89
Mark Round Posted May 1, 2020 Posted May 1, 2020 Well the ones i have showing,they all start https://invisioncommunity.com/news/ https://invisioncommunity.com/news/product-updates/45-language-system-updates-r1200/
twisted89 Posted May 1, 2020 Author Posted May 1, 2020 Upon further investigation this is definitely an Invision issue, it just depends what server your DNS is reporting. You can see here at least 1 is down - https://www.whatsmydns.net/#A/remoteservices.invisionpower.com
Mark Round Posted May 1, 2020 Posted May 1, 2020 To be honest I’d submit a ticket and see what the ips team have to say about this .
twisted89 Posted May 1, 2020 Author Posted May 1, 2020 Already submitted, thanks. Just thought I'd log here for anyone else with the issue.
Recommended Posts