###問題になっていること
ログイン認証を受ける際、待機に時間を今まで以上に要して、タイムアウトになってしまう。
####エラーメッセージ
exception 'Abraham\TwitterOAuth\TwitterOAuthException' with message 'Resolving timed out after 10518 milliseconds' in [TwitterOAuthのディレクトリ]/src/TwitterOAuth.php:408 Stack trace: #0 [TwitterOAuthのディレクトリ]/src/TwitterOAuth.php(334): Abraham\TwitterOAuth\TwitterOAuth->request('https://api.twi...', 'POST', 'Authorization: ...', Array) #1 [TwitterOAuthのディレクトリ]/src/TwitterOAuth.php(135): Abraham\TwitterOAuth\TwitterOAuth->oAuthRequest('https://api.twi...', 'POST', Array) #2 [ログインスクリプトのディレクトリ]login.php(13): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_t...', Array) #3 {main}
###補足
以下のリソースを使用しています。
TwitterOAuth - https://twitteroauth.com/
以前まではしっかりと動作していました。また、Application Managementにてコンシューマーキーの再作成も行っています。
TwitterOAuth内のConfig.phpにあるtimeoutとconnectionTimeoutの変数をともに10に設定しています。
スクリプトの作成にあたり、以下の資料を参考にしています。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。