Discord Fixed GuzzleHttp\Exception\ConnectException: cURL error 35

No, I need to look more in to this one.

@NixFifty Also getting lot of this Server error log:

Code:
GuzzleHttp\Exception\ConnectException: cURL error 35: OpenSSL SSL_connect: Connection reset by peer in connection to discord.com:443 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:185

Generated by: Nagar Baul May 11, 2021 at 7:38 PM

Stack trace

#0 src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(149): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(102): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 src/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#3 src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#4 src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#5 src/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(66): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#6 src/vendor/guzzlehttp/guzzle/src/Middleware.php(30): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#7 src/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(70): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#8 src/vendor/guzzlehttp/guzzle/src/Middleware.php(60): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#9 src/vendor/guzzlehttp/guzzle/src/HandlerStack.php(67): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#10 src/vendor/guzzlehttp/guzzle/src/Client.php(277): GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#11 src/vendor/guzzlehttp/guzzle/src/Client.php(125): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array)
#12 src/vendor/guzzlehttp/guzzle/src/Client.php(131): GuzzleHttp\Client->requestAsync('POST', Object(GuzzleHttp\Psr7\Uri), Array)
#13 src/addons/NF/Discord/Api.php(715): GuzzleHttp\Client->request('POST', 'https://discord...', Array)
#14 src/addons/NF/Discord/Api.php(498): NF\Discord\Api->request(Array, 'channels/496302...', Array)
#15 src/addons/NF/Discord/XF/Entity/Post.php(56): NF\Discord\Api->createMessage('496302814436524...', 'Nagar Baul repl...', Array)
#16 src/addons/NF/Discord/XF/Service/Thread/Replier.php(19): NF\Discord\XF\Entity\Post->nfNotifyDiscord('thread_reply')
#17 src/XF/Pub/Controller/Thread.php(445): NF\Discord\XF\Service\Thread\Replier->sendNotifications()
#18 src/addons/SV/UserEssentials/XF/Pub/Controller/Thread.php(46): XF\Pub\Controller\Thread->finalizeThreadReply(Object(NF\Discord\XF\Service\Thread\Replier))
#19 src/XF/Pub/Controller/Thread.php(596): SV\UserEssentials\XF\Pub\Controller\Thread->finalizeThreadReply(Object(NF\Discord\XF\Service\Thread\Replier))
#20 src/addons/KL/EditorManager/XF/Pub/Controller/Thread.php(30): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#21 src/addons/Snog/ForceSecure/XF/Pub/Controller/Thread.php(17): KL\EditorManager\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#22 src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php(114): Snog\ForceSecure\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#23 src/addons/SV/ReplyMoreOptions/XF/Pub/Controller/Thread.php(24): xenMade\STFRT\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#24 src/XF/Mvc/Dispatcher.php(350): SV\ReplyMoreOptions\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#25 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\ReplyMoreOptions\XF\Pub\Controller\Thread), NULL)
#26 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ReplyMoreOptions\XF\Pub\Controller\Thread), NULL)
#27 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#28 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#29 src/XF.php(488): XF\App->run()
#30 index.php(20): XF::runApp('XF\\Pub\\App')
#31 {main}

Request state

array(4) {
  ["url"] => string(24) "/threads/84186/add-reply"
  ["referrer"] => string(37) "/threads/84186/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(9) {
    ["message_html"] => string(24420) "<p><span style="font-size: 18px;"><strong>কথা পর্ব ৬</strong></span></p><p><span style="font-size: 18px;"><strong>বাকি অংশ পরের পর্বে...</strong></span></p>"
    ["last_date"] => string(10) "1620722950"
    ["last_known_date"] => string(10) "1620722950"
    ["load_extra"] => string(1) "1"
    ["klPage"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(15) "/threads/84186/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

Nix

Administrator
Staff member
I moved this out of the other thread since it's unrelated but this error is caught in the next version. Worth mentioning it might be caused by an underlying issue with your installation of curl though hard to be sure.
 
Top