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

Request timeout #22

Open
cwdcwd opened this issue Dec 7, 2016 · 9 comments
Open

Request timeout #22

cwdcwd opened this issue Dec 7, 2016 · 9 comments
Assignees

Comments

@cwdcwd
Copy link
Contributor

cwdcwd commented Dec 7, 2016

The request() call, when posting into the TC API, occasionally times out. Seeing upwards of 30s in some events

@cwdcwd
Copy link
Contributor Author

cwdcwd commented Jun 20, 2017

Failed to create challenge
Status code: 503
Response body:

"<!DOCTYPE html>\n\t<html>\n\t  <head>\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\t\t<meta charset=\"utf-8\">\n\t\t<title>Application Error</title>\n\t\t<style media=\"screen\">\n\t\t  html,body,iframe {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t  }\n\t\t  html,body {\n\t\t\theight: 100%;\n\t\t\toverflow: hidden;\n\t\t  }\n\t\t  iframe {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder: 0;\n\t\t  }\n\t\t</style>\n\t  </head>\n\t  <body>\n\t\t<iframe src=\"//www.herokucdn.com/error-pages/application-error.html\"></iframe>\n\t  </body>\n\t</html>"

@jmgasper
Copy link
Collaborator

Hmmm... OK. I'll take a look. Was this done through the mock directly or by configuring the plugin to point at the mock?

@jmgasper jmgasper self-assigned this Jun 20, 2017
@jmgasper
Copy link
Collaborator

Also, which Heroku instance is this on? Do I have access to take a look at the logs?

@cwdcwd
Copy link
Contributor Author

cwdcwd commented Jun 20, 2017

hitting prod

@cwdcwd
Copy link
Contributor Author

cwdcwd commented Jun 20, 2017

yes you should

@jmgasper
Copy link
Collaborator

👍

@cwdcwd
Copy link
Contributor Author

cwdcwd commented Jun 20, 2017

oh prod might need to be reconfig'd

@cwdcwd
Copy link
Contributor Author

cwdcwd commented Jun 20, 2017

the APIURL_BASE, APIURL_CHALLENGE, and APIURL_OAUTHACCESS all might need updating

@cwdcwd
Copy link
Contributor Author

cwdcwd commented Jun 21, 2017

Failed to create challenge
Status code: 404
Response body:

"<!DOCTYPE html>\n<html>\n  <head>\n    <title></title>\n    <link rel='stylesheet' href='/stylesheets/style.css' />\n  </head>\n  <body>\n    <h1>Not Found</h1>\n<h2>404</h2>\n<pre>Error: Not Found\n    at /app/app.js:30:15\n    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/app/node_modules/express/lib/router/index.js:312:13)\n    at /app/node_modules/express/lib/router/index.js:280:7\n    at Function.process_params (/app/node_modules/express/lib/router/index.js:330:12)\n    at next (/app/node_modules/express/lib/router/index.js:271:10)\n    at /app/node_modules/express/lib/router/index.js:618:15\n    at next (/app/node_modules/express/lib/router/index.js:256:14)\n    at Function.handle (/app/node_modules/express/lib/router/index.js:176:3)\n    at router (/app/node_modules/express/lib/router/index.js:46:12)</pre>\n\n  </body>\n</html>\n"

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

No branches or pull requests

2 participants