eaststandboy
Active member
Hey
I have seen the below 10 times in the last week. Do you know what is causing it?
InvalidArgumentException: Status code must be an integer value between 1xx and 5xx.
src/vendor/guzzlehttp/psr7/src/Response.php:151
Stack trace
#0 src/vendor/guzzlehttp/psr7/src/Response.php(98): GuzzleHttp\Psr7\Response->assertStatusCodeRange(999)
#1 src/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php(81): GuzzleHttp\Psr7\Response->__construct(999, Array, Object(XF\Http\Stream), '1.1', 'Request denied')
#2 src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(545): GuzzleHttp\Handler\EasyHandle->createResponse()
#3 [internal function]: GuzzleHttp\Handler\CurlFactory->GuzzleHttp\Handler\{closure}(Resource id #91, '
')
#4 src/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(40): curl_exec(Resource id #91)
#5 src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#6 src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#7 src/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(37): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#8 src/vendor/guzzlehttp/guzzle/src/Middleware.php(30): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#9 src/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(54): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#10 src/vendor/guzzlehttp/guzzle/src/Middleware.php(58): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#11 src/vendor/guzzlehttp/guzzle/src/HandlerStack.php(67): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#12 src/vendor/guzzlehttp/guzzle/src/Client.php(277): GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#13 src/vendor/guzzlehttp/guzzle/src/Client.php(125): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array)
#14 src/vendor/guzzlehttp/guzzle/src/Client.php(131): GuzzleHttp\Client->requestAsync('get', Object(GuzzleHttp\Psr7\Uri), Array)
#15 src/XF/Http/Reader.php(365): GuzzleHttp\Client->request('get', 'https://uk.link...', Array)
#16 src/XF/Http/Reader.php(110): XF\Http\Reader->_request(Object(GuzzleHttp\Client), 'get', 'https://uk.link...', Array, Object(XF\Http\Stream), Array, NULL)
#17 src/XF/Http/Reader.php(79): XF\Http\Reader->requestUntrusted('get', 'https://uk.link...', Array, NULL, Array, NULL)
#18 src/XF/Http/MetadataFetcher.php(58): XF\Http\Reader->getUntrusted('https://uk.link...', Array, NULL, Array, NULL)
#19 src/XF/Service/Unfurl/Fetcher.php(22): XF\Http\MetadataFetcher->fetch('https://uk.link...', NULL)
#20 unfurl.php(57): XF\Service\Unfurl\Fetcher->fetch()
#21 {main}
Request state
array(4) {
["url"] => string(11) "/unfurl.php"
["referrer"] => string(57) "https://yellowsforum.co.uk/threads/r-i-p-bury.2867/page-2"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["result_ids"] => array(4) {
[0] => string(4) "2078"
[1] => string(4) "2309"
[2] => string(4) "2309"
[3] => string(4) "2309"
}
["_xfRequestUri"] => string(31) "/threads/r-i-p-bury.2867/page-2"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "****"
}
}
I have seen the below 10 times in the last week. Do you know what is causing it?
InvalidArgumentException: Status code must be an integer value between 1xx and 5xx.
src/vendor/guzzlehttp/psr7/src/Response.php:151
Stack trace
#0 src/vendor/guzzlehttp/psr7/src/Response.php(98): GuzzleHttp\Psr7\Response->assertStatusCodeRange(999)
#1 src/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php(81): GuzzleHttp\Psr7\Response->__construct(999, Array, Object(XF\Http\Stream), '1.1', 'Request denied')
#2 src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(545): GuzzleHttp\Handler\EasyHandle->createResponse()
#3 [internal function]: GuzzleHttp\Handler\CurlFactory->GuzzleHttp\Handler\{closure}(Resource id #91, '
')
#4 src/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(40): curl_exec(Resource id #91)
#5 src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#6 src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#7 src/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(37): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#8 src/vendor/guzzlehttp/guzzle/src/Middleware.php(30): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#9 src/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(54): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#10 src/vendor/guzzlehttp/guzzle/src/Middleware.php(58): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#11 src/vendor/guzzlehttp/guzzle/src/HandlerStack.php(67): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
#12 src/vendor/guzzlehttp/guzzle/src/Client.php(277): GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
#13 src/vendor/guzzlehttp/guzzle/src/Client.php(125): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array)
#14 src/vendor/guzzlehttp/guzzle/src/Client.php(131): GuzzleHttp\Client->requestAsync('get', Object(GuzzleHttp\Psr7\Uri), Array)
#15 src/XF/Http/Reader.php(365): GuzzleHttp\Client->request('get', 'https://uk.link...', Array)
#16 src/XF/Http/Reader.php(110): XF\Http\Reader->_request(Object(GuzzleHttp\Client), 'get', 'https://uk.link...', Array, Object(XF\Http\Stream), Array, NULL)
#17 src/XF/Http/Reader.php(79): XF\Http\Reader->requestUntrusted('get', 'https://uk.link...', Array, NULL, Array, NULL)
#18 src/XF/Http/MetadataFetcher.php(58): XF\Http\Reader->getUntrusted('https://uk.link...', Array, NULL, Array, NULL)
#19 src/XF/Service/Unfurl/Fetcher.php(22): XF\Http\MetadataFetcher->fetch('https://uk.link...', NULL)
#20 unfurl.php(57): XF\Service\Unfurl\Fetcher->fetch()
#21 {main}
Request state
array(4) {
["url"] => string(11) "/unfurl.php"
["referrer"] => string(57) "https://yellowsforum.co.uk/threads/r-i-p-bury.2867/page-2"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["result_ids"] => array(4) {
[0] => string(4) "2078"
[1] => string(4) "2309"
[2] => string(4) "2309"
[3] => string(4) "2309"
}
["_xfRequestUri"] => string(31) "/threads/r-i-p-bury.2867/page-2"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "****"
}
}