authclient / HTTP Client Exception

Предварительное обсуждение найденных ошибок перед отправкой их авторам фреймворка, а также внесение новых предложений.
Ответить
createtruesite
Сообщения: 4
Зарегистрирован: 2017.11.15, 09:12

authclient / HTTP Client Exception

Сообщение createtruesite » 2017.11.15, 09:19

Здравствуйте! Довольно часто натыкаюсь вот на такой Exception Изображение прямо в попапе при работе с yii\authclient\clients\Facebook. Причем, обычно со второго раза всё корректно работает, иногда с первого. С yii\authclient\clients\VKontakte такой проблемы нет.
Конфиг такой:

Код: Выделить всё

                'class' => 'yii\authclient\clients\Facebook',
                'authUrl' => 'https://www.facebook.com/dialog/oauth?display=popup',
                'scope'=>'public_profile,email,user_birthday',
                // dev
                'clientId' => '', // здесь правильный  clientId
                'clientSecret' => '', // здесь правильный  clientSecret
                'attributeNames' => [
                    'id',
                    'first_name',
                    'email',
                    'birthday',
                ],
Может быть короткий таймаут соединения? В чем еще может быть причина?
Спасибо.

Аватара пользователя
samdark
Администратор
Сообщения: 8620
Зарегистрирован: 2009.04.02, 13:46
Откуда: Воронеж
Контактная информация:

Re: authclient / HTTP Client Exception

Сообщение samdark » 2017.11.17, 13:03

Картинка битая.


createtruesite
Сообщения: 4
Зарегистрирован: 2017.11.15, 09:12

Re: authclient / HTTP Client Exception

Сообщение createtruesite » 2017.11.19, 19:39

Привет, ребята. Думал, не разместите, поэтому картинку с драйва удалил. Прикрепляю то, что выводит трассировщик. Получается, с ВК всё всегда, хорошо, быстро приходит ответ и проблем со входом нету, а с фейсбука периодически вот такая вот ерунда. Иногда всё хорошо, ответ приходит быстро, а иногда попап висит секунд 10-15 и потом отваливается в такой эксепшн. Есть подозрение, что где-то нужно увеличить таймаут на ответ, но где?

Код: Выделить всё

2017-11-18 20:17:29
[95.108.236.169][-][9e085c3c2166b01e70aacd418572ff3e][error][yii\web\HttpException:400]
exception 'yii\web\HttpException' with message 'Invalid auth state
parameter.' in
/h/fishhunterby/vendor/yiisoft/yii2-authclient/OAuth2.php:104
Stack trace:
#0
/h/fishhunterby/vendor/yiisoft/yii2-authclient/clients/Facebook.php(145):
yii\authclient\OAuth2->fetchAccessToken('AQCkByaieagq1Ny...', Array)
#1 /h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(356):
yii\authclient\clients\Facebook->fetchAccessToken('AQCkByaieagq1Ny...')
#2 /h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(192):
yii\authclient\AuthAction->authOAuth2(Object(yii\authclient\clients\Facebook))
#3 /h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(177):
yii\authclient\AuthAction->auth(Object(yii\authclient\clients\Facebook))
#4 [internal function]: yii\authclient\AuthAction->run()
#5 /h/fishhunterby/vendor/yiisoft/yii2/base/Action.php(92):
call_user_func_array(Array, Array)
#6 /h/fishhunterby/vendor/yiisoft/yii2/base/Controller.php(151):
yii\base\Action->runWithParams(Array)
#7 /h/fishhunterby/vendor/yiisoft/yii2/base/Module.php(455):
yii\base\Controller->runAction('authclient', Array)
#8 /h/fishhunterby/vendor/yiisoft/yii2/web/Application.php(84):
yii\base\Module->runAction('enter/authclien...', Array)
#9 /h/fishhunterby/vendor/yiisoft/yii2/base/Application.php(375):
yii\web\Application->handleRequest(Object(yii\web\Request))
#10 /h/fishhunterby/htdocs/index.php(15): yii\base\Application->run()
#11 {main}
2017-11-18 20:17:29
[95.108.236.169][-][9e085c3c2166b01e70aacd418572ff3e][info][application]
$_GET = [
    'authclient' => 'facebook'
    'code' =>
'AQCkByaieagq1Ny_fTdkRRqGPn5kJirU2-ipIEI2IsIaps0tD9Vr_geFxrYYCM7dt5RuUeM3ANWQLqTBX8NzYLNt5V1DVjSGvhoHM1_3tkBu4su8yg_E9tgH1TtjcwsWF2AhyKzEWj8L4zSjj2ZYXUecrKGDfNn0NTe25Y6DbrFdRd4if9oWLg1fuo4guEk0PE-QLoqBqt2rA1lY6NTeuLv6paoam2pUPfN0uXnpHDlyv7r5-brKMyuJ5N1SPKDa5PfAfvXMF8tRm0By6QTKP5xuD4U7VbNc_N_q25XTFgWIPuinc-el5YuwefwlXYbTxw2CV2R86CenQ8DqL41FuXGY'
    'state' =>
'946e1588a2be3f62110b60cc0ef4663713674822ff1d896024720128fbddfc1c'
]

$_COOKIE = [
    'PHPSESSID' => '9e085c3c2166b01e70aacd418572ff3e'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => '/account'
]

$_SERVER = [
    'PATH' => '/usr/local/bin:/usr/bin:/bin'
    'PHPRC' => '/h/fishhunterby/etc'
    'PWD' => '/h/fishhunterby/fcgi-bin'
    'CONTENT_LENGTH' => '0'
    'SCRIPT_NAME' => '/index.php'
    'REQUEST_URI' =>
'/enter/authclient?authclient=facebook&code=AQCkByaieagq1Ny_fTdkRRqGPn5kJirU2-ipIEI2IsIaps0tD9Vr_geFxrYYCM7dt5RuUeM3ANWQLqTBX8NzYLNt5V1DVjSGvhoHM1_3tkBu4su8yg_E9tgH1TtjcwsWF2AhyKzEWj8L4zSjj2ZYXUecrKGDfNn0NTe25Y6DbrFdRd4if9oWLg1fuo4guEk0PE-QLoqBqt2rA1lY6NTeuLv6paoam2pUPfN0uXnpHDlyv7r5-brKMyuJ5N1SPKDa5PfAfvXMF8tRm0By6QTKP5xuD4U7VbNc_N_q25XTFgWIPuinc-el5YuwefwlXYbTxw2CV2R86CenQ8DqL41FuXGY&state=946e1588a2be3f62110b60cc0ef4663713674822ff1d896024720128fbddfc1c'
    'QUERY_STRING' =>
'authclient=facebook&code=AQCkByaieagq1Ny_fTdkRRqGPn5kJirU2-ipIEI2IsIaps0tD9Vr_geFxrYYCM7dt5RuUeM3ANWQLqTBX8NzYLNt5V1DVjSGvhoHM1_3tkBu4su8yg_E9tgH1TtjcwsWF2AhyKzEWj8L4zSjj2ZYXUecrKGDfNn0NTe25Y6DbrFdRd4if9oWLg1fuo4guEk0PE-QLoqBqt2rA1lY6NTeuLv6paoam2pUPfN0uXnpHDlyv7r5-brKMyuJ5N1SPKDa5PfAfvXMF8tRm0By6QTKP5xuD4U7VbNc_N_q25XTFgWIPuinc-el5YuwefwlXYbTxw2CV2R86CenQ8DqL41FuXGY&state=946e1588a2be3f62110b60cc0ef4663713674822ff1d896024720128fbddfc1c'
    'REQUEST_METHOD' => 'GET'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'REDIRECT_URL' => '/enter/authclient'
    'REDIRECT_QUERY_STRING' =>
'authclient=facebook&code=AQCkByaieagq1Ny_fTdkRRqGPn5kJirU2-ipIEI2IsIaps0tD9Vr_geFxrYYCM7dt5RuUeM3ANWQLqTBX8NzYLNt5V1DVjSGvhoHM1_3tkBu4su8yg_E9tgH1TtjcwsWF2AhyKzEWj8L4zSjj2ZYXUecrKGDfNn0NTe25Y6DbrFdRd4if9oWLg1fuo4guEk0PE-QLoqBqt2rA1lY6NTeuLv6paoam2pUPfN0uXnpHDlyv7r5-brKMyuJ5N1SPKDa5PfAfvXMF8tRm0By6QTKP5xuD4U7VbNc_N_q25XTFgWIPuinc-el5YuwefwlXYbTxw2CV2R86CenQ8DqL41FuXGY&state=946e1588a2be3f62110b60cc0ef4663713674822ff1d896024720128fbddfc1c'
    'REMOTE_PORT' => '42741'
    'SCRIPT_FILENAME' =>
'/h/fishhunterby/htdocs.fishhunter.by/index.php'
    'SERVER_ADMIN' => 'help@extmedia.com'
    'DOCUMENT_ROOT' => '/h/fishhunterby/htdocs'
    'REMOTE_ADDR' => '95.108.236.169'
    'SERVER_PORT' => '443'
    'SERVER_ADDR' => '91.149.189.66'
    'SERVER_NAME' => 'fishhunter.by'
    'SERVER_SOFTWARE' => 'Apache/2.2.22 (Debian)'
    'SERVER_SIGNATURE' => '<address>Apache/2.2.22 (Debian) Server at
fishhunter.by Port 443</address>
'
    'HTTP_HOST' => 'fishhunter.by'
    'HTTP_COOKIE' => 'PHPSESSID=9e085c3c2166b01e70aacd418572ff3e'
    'HTTP_ACCEPT_LANGUAGE' => 'en-us'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X
10_13) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0
Safari/604.1.38'
    'HTTP_ACCEPT_ENCODING' => 'br, gzip, deflate'
    'HTTP_CONNECTION' => 'close'
    'HTTP_ACCEPT' =>
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
    'SSL_TLS_SNI' => 'fishhunter.by'
    'HTTPS' => 'on'
    'REDIRECT_STATUS' => '200'
    'REDIRECT_SSL_TLS_SNI' => 'fishhunter.by'
    'REDIRECT_HTTPS' => 'on'
    'FCGI_ROLE' => 'RESPONDER'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1511025449.7134
    'REQUEST_TIME' => 1511025449
    'argv' => [
        0 =>
'authclient=facebook&code=AQCkByaieagq1Ny_fTdkRRqGPn5kJirU2-ipIEI2IsIaps0tD9Vr_geFxrYYCM7dt5RuUeM3ANWQLqTBX8NzYLNt5V1DVjSGvhoHM1_3tkBu4su8yg_E9tgH1TtjcwsWF2AhyKzEWj8L4zSjj2ZYXUecrKGDfNn0NTe25Y6DbrFdRd4if9oWLg1fuo4guEk0PE-QLoqBqt2rA1lY6NTeuLv6paoam2pUPfN0uXnpHDlyv7r5-brKMyuJ5N1SPKDa5PfAfvXMF8tRm0By6QTKP5xuD4U7VbNc_N_q25XTFgWIPuinc-el5YuwefwlXYbTxw2CV2R86CenQ8DqL41FuXGY&state=946e1588a2be3f62110b60cc0ef4663713674822ff1d896024720128fbddfc1c'
    ]
    'argc' => 1
]

createtruesite
Сообщения: 4
Зарегистрирован: 2017.11.15, 09:12

Re: authclient / HTTP Client Exception

Сообщение createtruesite » 2017.11.20, 18:13

А на PHP 7 вот так иногда отваливается. Думал дело в default_socket_timeout, но посмотрел стоит 60, т.е должно хватать, отваливается явно раньше

Код: Выделить всё



2017-11-20 17:54:25
[46.53.184.223][-][ffce25941d9fbbb8a9a1b4e018a2aefb][error][yii\httpclient\Exception]
yii\base\ErrorException:
fopen(https://graph.facebook.com/me?fields=id%2Cfirst_name%2Cemail%2Cbirthday&amp;access_token=EAAYHPHVHc1wBALh2hX9uSmAIVZBaHaP6gD2numRZC3LY4oGs6delCIIsbVNxZA5yobZA6QZBAuFeBmyZB1RalB99RXZAgkpaxWZA8c42uEFrhlzEc5R3OZBmxoppZAbC0d88oD15ZAZC4IQcNHIUY8G6RVJjjznYqvXLK9kFjOCYIJRpEwZDZD&amp;appsecret_proof=8ebeddf9de7c402d88313b3214f528b2847827422f2a48b5d5d2e730548511c1):
failed to open stream: Connection timed out in
/h/fishhunterby/vendor/yiisoft/yii2-httpclient/StreamTransport.php:61
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2,
'fopen(https://g...', '/h/fishhunterby...', 61, Array)
#1
/h/fishhunterby/vendor/yiisoft/yii2-httpclient/StreamTransport.php(61):
fopen('https://graph.f...', 'rb', false, Resource id #21)
#2 /h/fishhunterby/vendor/yiisoft/yii2-httpclient/Client.php(221):
yii\httpclient\StreamTransport->send(Object(yii\httpclient\Request))
#3 /h/fishhunterby/vendor/yiisoft/yii2-httpclient/Request.php(422):
yii\httpclient\Client->send(Object(yii\httpclient\Request))
#4 /h/fishhunterby/vendor/yiisoft/yii2-authclient/BaseOAuth.php(218):
yii\httpclient\Request->send()
#5 /h/fishhunterby/vendor/yiisoft/yii2-authclient/BaseOAuth.php(329):
yii\authclient\BaseOAuth->sendRequest(Object(yii\httpclient\Request))
#6
/h/fishhunterby/vendor/yiisoft/yii2-authclient/clients/Facebook.php(94):
yii\authclient\BaseOAuth->api('me', 'GET', Array)
#7 /h/fishhunterby/vendor/yiisoft/yii2-authclient/BaseClient.php(174):
yii\authclient\clients\Facebook->initUserAttributes()
#8 /h/fishhunterby/models/SiteUser.php(157):
yii\authclient\BaseClient->getUserAttributes()
#9 /h/fishhunterby/models/SiteUser.php(138):
app\models\SiteUser::signinByFacebook(Object(yii\authclient\clients\Facebook))
#10 /h/fishhunterby/controllers/EnterController.php(25):
app\models\SiteUser::signinByAuthClient(Object(yii\authclient\clients\Facebook))
#11 [internal function]:
app\controllers\EnterController->app\controllers\{closure}(Object(yii\authclient\clients\Facebook))
#12
/h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(213):
call_user_func(Object(Closure),
Object(yii\authclient\clients\Facebook))
#13
/h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(358):
yii\authclient\AuthAction->authSuccess(Object(yii\authclient\clients\Facebook))
#14
/h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(192):
yii\authclient\AuthAction->authOAuth2(Object(yii\authclient\clients\Facebook))
#15
/h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(177):
yii\authclient\AuthAction->auth(Object(yii\authclient\clients\Facebook))
#16 [internal function]: yii\authclient\AuthAction->run()
#17 /h/fishhunterby/vendor/yiisoft/yii2/base/Action.php(92):
call_user_func_array(Array, Array)
#18 /h/fishhunterby/vendor/yiisoft/yii2/base/Controller.php(151):
yii\base\Action->runWithParams(Array)
#19 /h/fishhunterby/vendor/yiisoft/yii2/base/Module.php(455):
yii\base\Controller->runAction('authclient', Array)
#20 /h/fishhunterby/vendor/yiisoft/yii2/web/Application.php(84):
yii\base\Module->runAction('enter/authclien...', Array)
#21 /h/fishhunterby/vendor/yiisoft/yii2/base/Application.php(375):
yii\web\Application->handleRequest(Object(yii\web\Request))
#22 /h/fishhunterby/htdocs/index.php(15): yii\base\Application->run()
#23 {main}

Next yii\httpclient\Exception:
fopen(https://graph.facebook.com/me?fields=id%2Cfirst_name%2Cemail%2Cbirthday&amp;access_token=EAAYHPHVHc1wBALh2hX9uSmAIVZBaHaP6gD2numRZC3LY4oGs6delCIIsbVNxZA5yobZA6QZBAuFeBmyZB1RalB99RXZAgkpaxWZA8c42uEFrhlzEc5R3OZBmxoppZAbC0d88oD15ZAZC4IQcNHIUY8G6RVJjjznYqvXLK9kFjOCYIJRpEwZDZD&amp;appsecret_proof=8ebeddf9de7c402d88313b3214f528b2847827422f2a48b5d5d2e730548511c1):
failed to open stream: Connection timed out in
/h/fishhunterby/vendor/yiisoft/yii2-httpclient/StreamTransport.php:68
Stack trace:
#0 /h/fishhunterby/vendor/yiisoft/yii2-httpclient/Client.php(221):
yii\httpclient\StreamTransport->send(Object(yii\httpclient\Request))
#1 /h/fishhunterby/vendor/yiisoft/yii2-httpclient/Request.php(422):
yii\httpclient\Client->send(Object(yii\httpclient\Request))
#2 /h/fishhunterby/vendor/yiisoft/yii2-authclient/BaseOAuth.php(218):
yii\httpclient\Request->send()
#3 /h/fishhunterby/vendor/yiisoft/yii2-authclient/BaseOAuth.php(329):
yii\authclient\BaseOAuth->sendRequest(Object(yii\httpclient\Request))
#4
/h/fishhunterby/vendor/yiisoft/yii2-authclient/clients/Facebook.php(94):
yii\authclient\BaseOAuth->api('me', 'GET', Array)
#5 /h/fishhunterby/vendor/yiisoft/yii2-authclient/BaseClient.php(174):
yii\authclient\clients\Facebook->initUserAttributes()
#6 /h/fishhunterby/models/SiteUser.php(157):
yii\authclient\BaseClient->getUserAttributes()
#7 /h/fishhunterby/models/SiteUser.php(138):
app\models\SiteUser::signinByFacebook(Object(yii\authclient\clients\Facebook))
#8 /h/fishhunterby/controllers/EnterController.php(25):
app\models\SiteUser::signinByAuthClient(Object(yii\authclient\clients\Facebook))
#9 [internal function]:
app\controllers\EnterController->app\controllers\{closure}(Object(yii\authclient\clients\Facebook))
#10
/h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(213):
call_user_func(Object(Closure),
Object(yii\authclient\clients\Facebook))
#11
/h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(358):
yii\authclient\AuthAction->authSuccess(Object(yii\authclient\clients\Facebook))
#12
/h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(192):
yii\authclient\AuthAction->authOAuth2(Object(yii\authclient\clients\Facebook))
#13
/h/fishhunterby/vendor/yiisoft/yii2-authclient/AuthAction.php(177):
yii\authclient\AuthAction->auth(Object(yii\authclient\clients\Facebook))
#14 [internal function]: yii\authclient\AuthAction->run()
#15 /h/fishhunterby/vendor/yiisoft/yii2/base/Action.php(92):
call_user_func_array(Array, Array)
#16 /h/fishhunterby/vendor/yiisoft/yii2/base/Controller.php(151):
yii\base\Action->runWithParams(Array)
#17 /h/fishhunterby/vendor/yiisoft/yii2/base/Module.php(455):
yii\base\Controller->runAction('authclient', Array)
#18 /h/fishhunterby/vendor/yiisoft/yii2/web/Application.php(84):
yii\base\Module->runAction('enter/authclien...', Array)
#19 /h/fishhunterby/vendor/yiisoft/yii2/base/Application.php(375):
yii\web\Application->handleRequest(Object(yii\web\Request))
#20 /h/fishhunterby/htdocs/index.php(15): yii\base\Application->run()
#21 {main}
2017-11-20 17:53:54
[46.53.184.223][-][ffce25941d9fbbb8a9a1b4e018a2aefb][info][application]
$_GET = [
    'authclient' => 'facebook'
    'code' =>
'AQCu5i933jLggXld86AYkPobyh6SQ7GgOKxOR9bMhI9xMs8omAGN0Pa7TZ3kn111GBNC2kxhA7_W9XZXv2YDkwDOrBxDARAASsR3gW3CGR2sLO0FBX9CyGDpVn7Jgj8B_gpbETBfgc2dFxT0P7aplaePwEXF2r-79oNaDYdWyuz0faA49RdgAXzArKOWXZRPhFaZ5__9hhTLVQ4NVPDWm4ZBV6h9eZIYZzdY4mz0Wrcbf6H3aCxuets2_GbTrY8qUjgESLzEycHNjlBEClN-wsd_FXLIt_fjNcEFivvyARXY0GAuZM0c2Tft0-PnzDdJiJv0WjuZMNERmPCt_JWvF4x-'
    'state' =>
'8e6c206015e7509075d59f6b3e9c6506bb2a683c253fe094b84d49a6484af569'
]

$_COOKIE = [
    '_identity' =>
'b8a7d8c9017298a079eea1cd02748d63818334a4e40e07bcce16da6e68a6788ca:2:{i:0;s:9:\"_identity\";i:1;s:46:\"[1,\"QpDS1rDP10ARz5tSkrXhVQiPaV-ebdGK\",2592000]\";}'
    '_ym_uid' => '1510931729231992792'
    '_ym_isad' => '1'
    'PHPSESSID' => 'ffce25941d9fbbb8a9a1b4e018a2aefb'
    '_ga' => 'GA1.2.1591244316.1510152514'
    '_gid' => 'GA1.2.1132405072.1511166634'
]

$_SESSION = [
    '__flash' => []
    'locator_city' => 'Minsk,BY'
    '__returnUrl' => '/account'
    'yii\\authclient\\clients\\Facebook_facebook_token' =>
yii\authclient\OAuthToken#1
    (
        [tokenParamKey] => 'access_token'
        [tokenSecretParamKey] => 'oauth_token_secret'
        [createTimestamp] => 1511189634
        [yii\authclient\OAuthToken:_expireDurationParamKey] =>
'expires_in'
        [yii\authclient\OAuthToken:_params] => [
            'access_token' =>
'EAAYHPHVHc1wBALh2hX9uSmAIVZBaHaP6gD2numRZC3LY4oGs6delCIIsbVNxZA5yobZA6QZBAuFeBmyZB1RalB99RXZAgkpaxWZA8c42uEFrhlzEc5R3OZBmxoppZAbC0d88oD15ZAZC4IQcNHIUY8G6RVJjjznYqvXLK9kFjOCYIJRpEwZDZD'
            'token_type' => 'bearer'
            'expires_in' => 5176357
        ]
    )
]

$_SERVER = [
    'PATH' =>
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
    'PHPRC' => '/h/fishhunterby/etc'
    'PWD' => '/h/fishhunterby/fcgi-bin'
    'CONTENT_LENGTH' => '0'
    'SCRIPT_NAME' => '/index.php'
    'REQUEST_URI' =>
'/enter/authclient?authclient=facebook&code=AQCu5i933jLggXld86AYkPobyh6SQ7GgOKxOR9bMhI9xMs8omAGN0Pa7TZ3kn111GBNC2kxhA7_W9XZXv2YDkwDOrBxDARAASsR3gW3CGR2sLO0FBX9CyGDpVn7Jgj8B_gpbETBfgc2dFxT0P7aplaePwEXF2r-79oNaDYdWyuz0faA49RdgAXzArKOWXZRPhFaZ5__9hhTLVQ4NVPDWm4ZBV6h9eZIYZzdY4mz0Wrcbf6H3aCxuets2_GbTrY8qUjgESLzEycHNjlBEClN-wsd_FXLIt_fjNcEFivvyARXY0GAuZM0c2Tft0-PnzDdJiJv0WjuZMNERmPCt_JWvF4x-&state=8e6c206015e7509075d59f6b3e9c6506bb2a683c253fe094b84d49a6484af569'
    'QUERY_STRING' =>
'authclient=facebook&code=AQCu5i933jLggXld86AYkPobyh6SQ7GgOKxOR9bMhI9xMs8omAGN0Pa7TZ3kn111GBNC2kxhA7_W9XZXv2YDkwDOrBxDARAASsR3gW3CGR2sLO0FBX9CyGDpVn7Jgj8B_gpbETBfgc2dFxT0P7aplaePwEXF2r-79oNaDYdWyuz0faA49RdgAXzArKOWXZRPhFaZ5__9hhTLVQ4NVPDWm4ZBV6h9eZIYZzdY4mz0Wrcbf6H3aCxuets2_GbTrY8qUjgESLzEycHNjlBEClN-wsd_FXLIt_fjNcEFivvyARXY0GAuZM0c2Tft0-PnzDdJiJv0WjuZMNERmPCt_JWvF4x-&state=8e6c206015e7509075d59f6b3e9c6506bb2a683c253fe094b84d49a6484af569'
    'REQUEST_METHOD' => 'GET'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'REDIRECT_QUERY_STRING' =>
'authclient=facebook&code=AQCu5i933jLggXld86AYkPobyh6SQ7GgOKxOR9bMhI9xMs8omAGN0Pa7TZ3kn111GBNC2kxhA7_W9XZXv2YDkwDOrBxDARAASsR3gW3CGR2sLO0FBX9CyGDpVn7Jgj8B_gpbETBfgc2dFxT0P7aplaePwEXF2r-79oNaDYdWyuz0faA49RdgAXzArKOWXZRPhFaZ5__9hhTLVQ4NVPDWm4ZBV6h9eZIYZzdY4mz0Wrcbf6H3aCxuets2_GbTrY8qUjgESLzEycHNjlBEClN-wsd_FXLIt_fjNcEFivvyARXY0GAuZM0c2Tft0-PnzDdJiJv0WjuZMNERmPCt_JWvF4x-&state=8e6c206015e7509075d59f6b3e9c6506bb2a683c253fe094b84d49a6484af569'
    'REDIRECT_URL' => '/enter/authclient'
    'REMOTE_PORT' => '41331'
    'SCRIPT_FILENAME' =>
'/h/fishhunterby/htdocs.fishhunter.by/index.php'
    'SERVER_ADMIN' => 'help@extmedia.com'
    'CONTEXT_DOCUMENT_ROOT' => '/h/fishhunterby/htdocs.fishhunter.by'
    'CONTEXT_PREFIX' => ''
    'REQUEST_SCHEME' => 'https'
    'DOCUMENT_ROOT' => '/h/fishhunterby/htdocs.fishhunter.by'
    'REMOTE_ADDR' => '46.53.184.223'
    'SERVER_PORT' => '443'
    'SERVER_ADDR' => '93.125.53.221'
    'SERVER_NAME' => 'fishhunter.by'
    'SERVER_SOFTWARE' => 'Apache'
    'SERVER_SIGNATURE' => ''
    'HTTP_COOKIE' =>
'_identity=b8a7d8c9017298a079eea1cd02748d63818334a4e40e07bcce16da6e68a6788ca%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A46%3A%22%5B1%2C%22QpDS1rDP10ARz5tSkrXhVQiPaV-ebdGK%22%2C2592000%5D%22%3B%7D;
_ym_uid=1510931729231992792; _ym_isad=1;
PHPSESSID=ffce25941d9fbbb8a9a1b4e018a2aefb;
_ga=GA1.2.1591244316.1510152514; _gid=GA1.2.1132405072.1511166634'
    'HTTP_ACCEPT_LANGUAGE' =>
'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7,be;q=0.6'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br'
    'HTTP_REFERER' => 'https://fishhunter.by/enter'
    'HTTP_ACCEPT' =>
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94
Safari/537.36'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CONNECTION' => 'close'
    'HTTP_HOST' => 'fishhunter.by'
    'SSL_TLS_SNI' => 'fishhunter.by'
    'HTTPS' => 'on'
    'REDIRECT_STATUS' => '200'
    'REDIRECT_SSL_TLS_SNI' => 'fishhunter.by'
    'REDIRECT_HTTPS' => 'on'
    'FCGI_ROLE' => 'RESPONDER'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1511189634.5934
    'REQUEST_TIME' => 1511189634
    'argv' => [
        0 =>
'authclient=facebook&code=AQCu5i933jLggXld86AYkPobyh6SQ7GgOKxOR9bMhI9xMs8omAGN0Pa7TZ3kn111GBNC2kxhA7_W9XZXv2YDkwDOrBxDARAASsR3gW3CGR2sLO0FBX9CyGDpVn7Jgj8B_gpbETBfgc2dFxT0P7aplaePwEXF2r-79oNaDYdWyuz0faA49RdgAXzArKOWXZRPhFaZ5__9hhTLVQ4NVPDWm4ZBV6h9eZIYZzdY4mz0Wrcbf6H3aCxuets2_GbTrY8qUjgESLzEycHNjlBEClN-wsd_FXLIt_fjNcEFivvyARXY0GAuZM0c2Tft0-PnzDdJiJv0WjuZMNERmPCt_JWvF4x-&state=8e6c206015e7509075d59f6b3e9c6506bb2a683c253fe094b84d49a6484af569'
    ]
    'argc' => 1
]


zelenin
Сообщения: 10144
Зарегистрирован: 2013.04.20, 11:30

Re: authclient / HTTP Client Exception

Сообщение zelenin » 2017.11.20, 18:28

фейсбук у вас барахлит.

createtruesite
Сообщения: 4
Зарегистрирован: 2017.11.15, 09:12

Re: authclient / HTTP Client Exception

Сообщение createtruesite » 2017.11.21, 11:28

я и подумал, что проблема скорее в самом фейсбуке, а именно в долгом ожидании ответа от него. свести бы количество этих ошибок к минимуму...

Ответить