Jump to content

Featured Replies

Posted

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:

image.png.1b684ae07e6b9ce928daf0a08962e1ca.png

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 by twisted89

Hi,

have you tried removing that widget from the page? (invision news) its not there by default

  • Author

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? 

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.

  • Author

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 by twisted89

To be honest I’d submit a ticket and see what the ips team have to say about this .

  • Author

Already submitted, thanks. Just thought I'd log here for anyone else with the issue.

Recently Browsing 0

  • No registered users viewing this page.