Why am I getting a 404 error on my Rails app deployed on Heroku?

Why am I getting a 404 error on my Rails app deployed on Heroku?

mubarra
Shopify Partner
1 0 0

I am creating a Shopify app with rails and have deployed it on Heroku. 
I have properly updated all the configuration variables and updated my application urls too. But I'm getting error 404 on installing the application

2022-03-28T07:35:58.176987+00:00 heroku[run.1229]: State changed from starting to up
2022-03-28T07:35:58.379124+00:00 heroku[run.1229]: Awaiting client
2022-03-28T07:35:58.404183+00:00 heroku[run.1229]: Starting process with command `bundle exec rake db:migrate`
2022-03-28T07:36:10.194693+00:00 heroku[run.1229]: Process exited with status 0
2022-03-28T07:36:10.275276+00:00 heroku[run.1229]: State changed from up to complete
2022-03-28T07:37:30.413329+00:00 heroku[router]: at=info method=GET path="/" host=csv-mms-test.herokuapp.com request_id=845da67f-60b6-4efa-bda4-029c51b76aef fwd="103.104.212.46" dyno=web.1 connect=0ms service=15ms status=302 bytes=1381 protocol=https
2022-03-28T07:37:30.650183+00:00 heroku[router]: at=info method=GET path="/login" host=csv-mms-test.herokuapp.com request_id=90246086-4f1d-49a1-bd3e-ab0676bb7f43 fwd="103.104.212.46" dyno=web.1 connect=0ms service=10ms status=200 bytes=10931 protocol=https
2022-03-28T07:37:43.315624+00:00 heroku[router]: at=info method=POST path="/login" host=csv-mms-test.herokuapp.com request_id=875203ca-18c5-4408-aaf8-ec9ae8f9eeb4 fwd="103.104.212.46" dyno=web.1 connect=0ms service=10ms status=200 bytes=10571 protocol=https
2022-03-28T07:37:45.431624+00:00 heroku[router]: at=info method=GET path="/login?shop=mubarrateststore.myshopify.com&top_level=true" host=csv-mms-test.herokuapp.com request_id=45be5bdb-90a6-49d7-8474-0af87670e517 fwd="103.104.212.46" dyno=web.1 connect=2ms service=10ms status=200 bytes=1941 protocol=https
2022-03-28T07:37:47.960557+00:00 heroku[router]: at=info method=POST path="/auth/shopify" host=csv-mms-test.herokuapp.com request_id=91890d79-6043-43d9-b697-b3ac7dd24fb7 fwd="103.104.212.46" dyno=web.1 connect=0ms service=8ms status=302 bytes=1905 protocol=https
2022-03-28T07:37:47.953625+00:00 app[web.1]: D, [2022-03-28T07:37:47.953535 #4] DEBUG -- omniauth: (shopify) Setup endpoint detected, running now.
2022-03-28T07:37:47.954044+00:00 app[web.1]: D, [2022-03-28T07:37:47.954003 #4] DEBUG -- omniauth: (shopify) Request phase initiated.
2022-03-28T07:37:50.320034+00:00 heroku[router]: at=info method=GET path="/auth/shopify/callback?code=b172588e85da4ce996cb0412571dce16&hmac=cc3df231542761bfc8df2d51a33f9f91a96d545b075d62fdd776143869ec5d6f&host=bXViYXJyYXRlc3RzdG9yZS5teXNob3BpZnkuY29tL2FkbWlu&shop=mubarrateststore.myshopify.com&state=20c2b127434372518ecf813d7d1bbc5df4778fdea02fc817&timestamp=1648453068" host=csv-mms-test.herokuapp.com request_id=fd3d0cc4-537a-4cdf-af13-24d7053b1d5e fwd="103.104.212.46" dyno=web.1 connect=0ms service=10ms status=302 bytes=1162 protocol=https
2022-03-28T07:37:50.312579+00:00 app[web.1]: D, [2022-03-28T07:37:50.312486 #4] DEBUG -- omniauth: (shopify) Setup endpoint detected, running now.
2022-03-28T07:37:50.313244+00:00 app[web.1]: D, [2022-03-28T07:37:50.313189 #4] DEBUG -- omniauth: (shopify) Callback phase initiated.
2022-03-28T07:37:50.313586+00:00 app[web.1]: E, [2022-03-28T07:37:50.313545 #4] ERROR -- omniauth: (shopify) Authentication failure! invalid_signature: OmniAuth::Strategies::OAuth2::CallbackError, invalid_signature | Signature does not match, it may have been tampered with.
2022-03-28T07:37:50.572438+00:00 heroku[router]: at=info method=GET path="/auth/failure?message=invalid_signature&origin=https%3A%2F%2Fcsv-mms-test.herokuapp.com%2Flogin%3Fshop%3Dmubarrateststore.myshopify.com%26top_level%3Dtrue&strategy=shopify" host=csv-mms-test.herokuapp.com request_id=553ffc54-34cf-450d-812a-f0b8af0b8884 fwd="103.104.212.46" dyno=web.1 connect=0ms service=8ms status=404 bytes=1902 protocol=https

Can someone please help me on this?

Replies 0 (0)