Getting Internal Server Error on Install Unlisted App

devHam
New Member
7 0 0

Hi,

I've just built a brand new Shopify Node app using the Shopify CLI. I've Deployed the app to Heroku and now I'm going through the step (following the Shopify tutorial) to get the app installed on the dev store.

When I click "Install Unlisted App" on my development store, I get an "internal server error".

When I open up my Heroku logs I get the following output, which looks like an issue related to missing ?shop param but I'm not sure. Can someone steer me in the right direction please?

Thanks!

2021-07-12T11:19:11.487368+00:00 heroku[web.1]: State changed from starting to up
2021-07-12T11:20:24.899923+00:00 heroku[router]: at=info method=GET path="/?hmac=3af68e7e0ccbf79f64518465e1a01e842c3cb31be9b630cd9182c841e88be642&shop=hamsters-test.myshopify.com&timestamp=1626088824" host=test-shopify.herokuapp.com request_id=11b1dafb-363a-47a8-8c56-e81e6e68d203 fwd="109.156.64.251" dyno=web.1 connect=0ms service=19ms status=302 bytes=302 protocol=https
2021-07-12T11:20:24.934478+00:00 heroku[router]: at=info method=GET path="/auth?shop=hamsters-test.myshopify.com" host=test-shopify.herokuapp.com request_id=b074ab39-cb6b-43bb-ab57-4df1c27c96fe fwd="109.156.64.251" dyno=web.1 connect=0ms service=4ms status=200 bytes=16526 protocol=https
2021-07-12T11:20:25.049779+00:00 heroku[router]: at=info method=GET path="/auth/inline?shop=hamsters-test.myshopify.com" host=test-shopify.herokuapp.com request_id=83c7aa54-8464-4e3a-9b77-03037d30b69e fwd="109.156.64.251" dyno=web.1 connect=0ms service=10ms status=302 bytes=1596 protocol=https
2021-07-12T11:20:38.995257+00:00 heroku[router]: at=info method=GET path="/auth/callback?code=cda0ca647e18b9fc291da2480f92b7ba&hmac=006a6a947f6b1eafb3a371071fe59e71ca2c0f69f8b6de8417418dc1da895b45&host=aGFtc3RlcnMtY29mZmVlLm15c2hvcGlmeS5jb20vYWRtaW4&shop=hamsters-test.myshopify.com&state=758596750643291&timestamp=1626088837" host=test-shopify.herokuapp.com request_id=da854b45-d143-4ffa-b3ec-6ee8cada422e fwd="109.156.64.251" dyno=web.1 connect=0ms service=1436ms status=500 bytes=176 protocol=https
2021-07-12T11:20:39.099401+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=test-shopify.herokuapp.com request_id=dbafb8a0-557a-4ad7-a2e2-dbfbc27346b8 fwd="109.156.64.251" dyno=web.1 connect=0ms service=5ms status=302 bytes=241 protocol=https
2021-07-12T11:20:38.994670+00:00 app[web.1]: 
2021-07-12T11:20:38.994693+00:00 app[web.1]:   InternalServerError: error:0909006C:PEM routines:get_name:no start line
2021-07-12T11:20:38.994694+00:00 app[web.1]:       at Object.throw (/app/node_modules/koa/lib/context.js:97:11)
2021-07-12T11:20:38.994695+00:00 app[web.1]:       at /app/node_modules/@shopify/koa-shopify-auth/dist/src/auth/index.js:100:42
2021-07-12T11:20:38.994695+00:00 app[web.1]:       at step (/app/node_modules/tslib/tslib.js:141:27)
2021-07-12T11:20:38.994696+00:00 app[web.1]:       at Object.throw (/app/node_modules/tslib/tslib.js:122:57)
2021-07-12T11:20:38.994696+00:00 app[web.1]:       at rejected (/app/node_modules/tslib/tslib.js:113:69)
2021-07-12T11:20:38.994697+00:00 app[web.1]:       at processTicksAndRejections (internal/process/task_queues.js:95:5)
2021-07-12T11:20:38.994697+00:00 app[web.1]: 
2021-07-12T11:20:39.128771+00:00 heroku[router]: at=info method=GET path="/auth?shop=undefined" host=test-shopify.herokuapp.com request_id=9c963204-2833-406a-afa4-de676d995dd8 fwd="109.156.64.251" dyno=web.1 connect=0ms service=3ms status=200 bytes=16426 protocol=https

 

0 Likes