Aerodynamic Posted September 4 Share Posted September 4 I might be wrong so apologies up front if I am. But ever since we added the Hive add on, we started having a few 520's on the forum. See: https://admin-junkies.com/threads/error-code-520.3979/ And earlier we had a server error where it leads to my assumption: #0 src/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 src/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 src/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL) #3 src/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 src/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true) #5 src/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 src/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #7 src/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #8 src/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #9 src/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Promise\Promise->wait() #10 src/vendor/guzzlehttp/guzzle/src/Client.php(95): GuzzleHttp\Client->request('get', 'https://admin-j...', Array) #11 src/addons/Communityhive/API.php(188): GuzzleHttp\Client->__call('get', Array) #12 src/addons/Communityhive/API.php(224): Communityhive\API::prepareContent(Object(XenAddons\LD\XF\Entity\Post)) #13 src/addons/Communityhive/Pub/Controller/API.php(143): Communityhive\API::getResult() #14 src/addons/Communityhive/Pub/Controller/API.php(76): Communityhive\Pub\Controller\API->getContent() #15 src/XF/Mvc/Dispatcher.php(352): Communityhive\Pub\Controller\API->actionIndex(Object(XF\Mvc\ParameterBag)) #16 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('Communityhive:A...', 'Index', Object(XF\Mvc\RouteMatch), Object(Communityhive\Pub\Controller\API), NULL) #17 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Communityhive\Pub\Controller\API), NULL) #18 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #19 src/XF/App.php(2487): XF\Mvc\Dispatcher->run() #20 src/XF.php(524): XF\App->run() #21 index.php(20): XF::runApp('XF\\Pub\\App') #22 {main} It could totally be coincidental of course in which I apologize. But if it's not, figured you may be best to be aware of and able to look into. Also, I run Cloudflare if that has anything to do with it. Link to comment Share on other sites More sharing options...
Charles Posted September 4 Share Posted September 4 At first glance, a Cloudflare 520 error means Cloudflare could not connect to your server for some reason. Cloudflare may be able to give you more detailed reasons why. Community Hive's plugin is not run on every page load or anything like that so I do not see why it would impact your Cloudflare connection. The other error you are reporting here we will look into. 1 Link to comment Share on other sites More sharing options...
Matt Posted September 4 Share Posted September 4 4 hours ago, Aerodynamic said: I might be wrong so apologies up front if I am. But ever since we added the Hive add on, we started having a few 520's on the forum. See: https://admin-junkies.com/threads/error-code-520.3979/ And earlier we had a server error where it leads to my assumption: #0 src/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 src/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 src/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL) #3 src/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 src/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true) #5 src/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 src/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #7 src/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #8 src/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #9 src/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Promise\Promise->wait() #10 src/vendor/guzzlehttp/guzzle/src/Client.php(95): GuzzleHttp\Client->request('get', 'https://admin-j...', Array) #11 src/addons/Communityhive/API.php(188): GuzzleHttp\Client->__call('get', Array) #12 src/addons/Communityhive/API.php(224): Communityhive\API::prepareContent(Object(XenAddons\LD\XF\Entity\Post)) #13 src/addons/Communityhive/Pub/Controller/API.php(143): Communityhive\API::getResult() #14 src/addons/Communityhive/Pub/Controller/API.php(76): Communityhive\Pub\Controller\API->getContent() #15 src/XF/Mvc/Dispatcher.php(352): Communityhive\Pub\Controller\API->actionIndex(Object(XF\Mvc\ParameterBag)) #16 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('Communityhive:A...', 'Index', Object(XF\Mvc\RouteMatch), Object(Communityhive\Pub\Controller\API), NULL) #17 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Communityhive\Pub\Controller\API), NULL) #18 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #19 src/XF/App.php(2487): XF\Mvc\Dispatcher->run() #20 src/XF.php(524): XF\App->run() #21 index.php(20): XF::runApp('XF\\Pub\\App') #22 {main} It could totally be coincidental of course in which I apologize. But if it's not, figured you may be best to be aware of and able to look into. Also, I run Cloudflare if that has anything to do with it. Was this logged just once, or do you have repeated logs like this? Link to comment Share on other sites More sharing options...
Aerodynamic Posted September 4 Author Share Posted September 4 Just once. 1 Link to comment Share on other sites More sharing options...
Aerodynamic Posted September 4 Author Share Posted September 4 (edited) It could of course be because of Cloudflare, being cached and API doesn't work well with each other. Edited September 4 by Aerodynamic 1 Link to comment Share on other sites More sharing options...
Tracy Posted September 4 Share Posted September 4 You've had 520 errors on the site for a while now... I've reported where I have had issues with it prior to CH being installed. There is a setting that I mentioned that can be set to alleviate some of this in the CF admin panel.... I'll see if I can find that thread over on the site and point it out again in case you didn't make that change. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now