Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provider 응답이 늦어지거나, timeout발생시에 503 error #333

Open
kimalec opened this issue Jul 29, 2015 · 1 comment
Open

provider 응답이 늦어지거나, timeout발생시에 503 error #333

kimalec opened this issue Jul 29, 2015 · 1 comment

Comments

@kimalec
Copy link
Member

kimalec commented Jul 29, 2015

provider가 응답은 늦게(30초이상)하거나, timeout이 발생하면 503 error가 발생함.

response가 30sec가 넘어간 경우.

 » 28 Jul 2015 23:29:22.990 2015-07-28 14:29:22.700396+00:00 app web.1 - - verbose: Url=http://www.justwapps.com/google/bot_posts/6319813625635004694?after=2015-07-28T14:28:15.455Z&userid=558c10590528f4ac83c0f061 cName=BlogBot, fName=_requestGetPosts, userId=558c10590528f4ac83c0f061
» 28 Jul 2015 23:29:23.005 2015-07-28 14:29:22.715580+00:00 app web.1 - - verbose: + cName=google, userId=558c10590528f4ac83c0f061, url=/bot_posts/6319813625635004694?after=2015-07-28T14:28:15.455Z&userid=558c10590528f4ac83c0f061
» 28 Jul 2015 23:29:52.957 2015-07-28 14:29:52.712202+00:00 heroku router - - at=error code=H12 desc="Request timeout" method=GET path="/google/bot_posts/6319813625635004694?after=2015-07-28T14:28:15.455Z&userid=558c10590528f4ac83c0f061" host=www.justwapps.com request_id=10b1b6bc-1cdb-40b8-b85b-18b47e527025 fwd="107.21.179.11/ec2-107-21-179-11.compute-1.amazonaws.com" dyno=web.1 connect=0ms service=30002ms status=503 bytes=0 High Response TimeCritical
» 28 Jul 2015 23:29:53.013 2015-07-28 14:29:52.722120+00:00 app web.1 - - error: { statusCode: 503, Fatal
» 28 Jul 2015 23:29:53.013 2015-07-28 14:29:52.722128+00:00 app web.1 - - body: '"<!DOCTYPE html>\\n <html>\\n <head>\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\">\\n <style type=\\"text/css\\">\\n html, body, iframe { margin: 0; padding: 0; height: 100%; }\\n iframe { display: block; width: 100%; border: none; }\\n </style>\\n <title>Application Error</title>\\n </head>\\n <body>\\n <iframe src=\\"//s3.amazonaws.com/heroku_pages/error.html\\">\\n <p>Application Error</p>\\n </iframe>\\n </body>\\n </html>"',
» 28 Jul 2015 23:29:53.013 2015-07-28 14:29:52.722130+00:00 app web.1 - - url: 'http://www.justwapps.com/google/bot_posts/6319813625635004694?after=2015-07-28T14:28:15.455Z&userid=558c10590528f4ac83c0f061' } cName=BlogBot, fName=_requestGetPosts, userId=558c10590528f4ac83c0f061
» 28 Jul 2015 23:29:53.013 2015-07-28 14:29:52.722407+00:00 app web.1 - - warn: { statusCode: 503,
» 28 Jul 2015 23:29:53.014 2015-07-28 14:29:52.722410+00:00 app web.1 - - body: '"<!DOCTYPE html>\\n <html>\\n <head>\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\">\\n <style type=\\"text/css\\">\\n html, body, iframe { margin: 0; padding: 0; height: 100%; }\\n iframe { display: block; width: 100%; border: none; }\\n </style>\\n <title>Application Error</title>\\n </head>\\n <body>\\n <iframe src=\\"//s3.amazonaws.com/heroku_pages/error.html\\">\\n <p>Application Error</p>\\n </iframe>\\n </body>\\n </html>"',
» 28 Jul 2015 23:29:53.014 2015-07-28 14:29:52.722412+00:00 app web.1 - - url: 'http://www.justwapps.com/google/bot_posts/6319813625635004694?after=2015-07-28T14:28:15.455Z&userid=558c10590528f4ac83c0f061' } cName=BlogBot, fName=_getAndPush, userId=558c10590528f4ac83c0f061
@kimalec
Copy link
Member Author

kimalec commented Jul 29, 2015

google의 경우 etag를 사용해서 cache사용을 검토해봐야 함.
#311 에서 cache 기능 검토

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant