ember-learn / ember-api-docs

Ember API Docs viewer
https://api.emberjs.com
MIT License
73 stars 116 forks source link

Diagnose API docs downtime #670

Closed jenweber closed 2 years ago

jenweber commented 4 years ago
Screen Shot 2020-02-20 at 6 03 50 PM

Checking...

Heroku logs - 503 app crashed. Get logs with heroku logs -a ember-api-docs-subdomain-setup -n 1000

`desc="App crashed" method=GET path="/ember/release/classes/Ember.DataAdapter/properties"``

jenweber commented 4 years ago

It resolved on its own. These periodic stack traces might be worth looking into though:

2020-02-20T23:16:55.057155+00:00 app[web.1]: Error while processing route: class Only absolute URLs are supported TypeError: Only absolute URLs are supported
2020-02-20T23:16:55.057172+00:00 app[web.1]: at getNodeRequestOptions (/app/tmp/deploy-dist/node_modules/node-fetch/lib/index.js:1293:9)
2020-02-20T23:16:55.057173+00:00 app[web.1]: at /app/tmp/deploy-dist/node_modules/node-fetch/lib/index.js:1393:19
2020-02-20T23:16:55.057174+00:00 app[web.1]: at new Promise (<anonymous>)
2020-02-20T23:16:55.057174+00:00 app[web.1]: at fetch (/app/tmp/deploy-dist/node_modules/node-fetch/lib/index.js:1390:9)
2020-02-20T23:16:55.057174+00:00 app[web.1]: at abortableFetch (/app/node_modules/abortcontroller-polyfill/dist/cjs-ponyfill.js:436:12)
2020-02-20T23:16:55.057175+00:00 app[web.1]: at n.fetch (/app/tmp/deploy-dist/assets/ember-api-docs-25572d828074f773af58544e93b72153.js:247:94)
2020-02-20T23:16:55.057175+00:00 app[web.1]: at n.model (/app/tmp/deploy-dist/assets/ember-api-docs-25572d828074f773af58544e93b72153.js:147:34)
2020-02-20T23:16:55.057176+00:00 app[web.1]: at n.deserialize (/app/tmp/deploy-dist/assets/vendor-8829232c84130863b1988edd68288c26.js:3339:121)
2020-02-20T23:16:55.057176+00:00 app[web.1]: at /app/tmp/deploy-dist/assets/vendor-8829232c84130863b1988edd68288c26.js:3963:88
2020-02-20T23:16:55.057177+00:00 app[web.1]: at n.e.runSharedModelHook (/app/tmp/deploy-dist/assets/vendor-8829232c84130863b1988edd68288c26.js:3963:122)
2020-02-20T23:16:55.080670+00:00 app[web.1]: 2020-02-20T23:16:55.079Z 200 OK /ember/release/classes/Route
2020-02-20T23:16:55.177603+00:00 app[web.1]: 2020-02-20T23:16:55.176Z 200 OK /classes/Ember.NativeArray.html
2020-02-20T23:16:55.247883+00:00 app[web.1]: Error while processing route: data-class Only absolute URLs are supported TypeError: Only absolute URLs are supported
2020-02-20T23:16:55.247885+00:00 app[web.1]: at getNodeRequestOptions (/app/tmp/deploy-dist/node_modules/node-fetch/lib/index.js:1293:9)
2020-02-20T23:16:55.247886+00:00 app[web.1]: at /app/tmp/deploy-dist/node_modules/node-fetch/lib/index.js:1393:19
2020-02-20T23:16:55.247886+00:00 app[web.1]: at new Promise (<anonymous>)
2020-02-20T23:16:55.247887+00:00 app[web.1]: at fetch (/app/tmp/deploy-dist/node_modules/node-fetch/lib/index.js:1390:9)
2020-02-20T23:16:55.247887+00:00 app[web.1]: at abortableFetch (/app/node_modules/abortcontroller-polyfill/dist/cjs-ponyfill.js:436:12)
2020-02-20T23:16:55.247888+00:00 app[web.1]: at n.fetch (/app/tmp/deploy-dist/assets/ember-api-docs-25572d828074f773af58544e93b72153.js:247:94)
2020-02-20T23:16:55.247888+00:00 app[web.1]: at n.model (/app/tmp/deploy-dist/assets/ember-api-docs-25572d828074f773af58544e93b72153.js:150:34)
2020-02-20T23:16:55.247888+00:00 app[web.1]: at n.deserialize (/app/tmp/deploy-dist/assets/vendor-8829232c84130863b1988edd68288c26.js:3339:121)
2020-02-20T23:16:55.247889+00:00 app[web.1]: at /app/tmp/deploy-dist/assets/vendor-8829232c84130863b1988edd68288c26.js:3963:88
2020-02-20T23:16:55.247889+00:00 app[web.1]: at n.e.runSharedModelHook (/app/tmp/deploy-dist/assets/vendor-8829232c84130863b1988edd68288c26.js:3963:122)
2020-02-20T23:16:55.257286+00:00 app[web.1]: 2020-02-20T23:16:55.257Z 200 OK /data/classes/DS.Model.html
bertdeblock commented 4 years ago

Hi @jenweber, I noticed today that navigating directly to https://api.emberjs.com/ember/release results in the same error screen. I'm located in Belgium.

sivakumar-kailasam commented 4 years ago

Our systems show that there was a 2min downtime. Did you notice it being longer?

Regards, Siva

On Mon, 9 Mar, 2020, 5:27 am Bert De Block, notifications@github.com wrote:

Hi @jenweber https://github.com/jenweber, I noticed today that navigating directly to https://api.emberjs.com/ember/release results in the same error screen. I'm located in Belgium.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ember-learn/ember-api-docs/issues/670?email_source=notifications&email_token=AAETPVI3T2QVM3ENLJDEURLRGSY7XA5CNFSM4KYYTGPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGKJMA#issuecomment-596419760, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAETPVO3YCQ7WPFVTIIBXBLRGSY7XANCNFSM4KYYTGPA .

cbliard commented 4 years ago

At 11:05 (GMT+01) it was not working

bertdeblock commented 4 years ago

@sivakumar-kailasam, yes it was definitely longer than 2 minutes for me. It's back up now though 👍.

sivakumar-kailasam commented 4 years ago

Seems close to what's reported at http://status.emberjs.com/5540057

Report shows that it was about 12 mins.