Deploy shopify app on aws ec2 server

Tourist
4 0 0

I have deployed one shopify app in php on aws ec2 server but this is not working.

This is occuring  'redirect_uri is missing or not whitelisted' issue.

After installation successfully done 

First page of the show below error

 

In console log  : Refused to frame 'https://matrix.de:803/' because it violates the following Content Security Policy directive: "frame-src app.myshopify.io .shopifyapps.com .myshopify.io .myshopify.com https:// shopify-pos://*".

 

Requests to the server have been blocked by an extension.Requests to the server have been blocked by an extension.

 

 

0 Likes
Highlighted
Shopify Partner
98 20 21

Hi Neha14,

 

Given the error message shows "https://matrix.de:803/" I'd expect  you to have a port number "803" hardcoded somewhere. 

 

Try reviewing your config file or environment variables.

 

Let me know how that goes.

- Yes, we build Shopify Apps. Hit me with your idea: https://vellir.tech
- Let customers preview your products and easily add them to cart with Peek Mode
- Add free, good looking social share icons with built-in analytics to your store with Share Lab
0 Likes
Highlighted
Tourist
4 0 0

Hello,

Its a aws server ssl url i didn't hardcord anywhere but app is installed successfully after that frame is not loaded.

 

"Refused to frame 'https://x.x.x.x:803/' because it violates the following Content Security Policy directive: "child-src 'self' https://* shopify-pos://*". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback."

 

Requests to the server have been blocked by an extension.Requests to the server have been blocked by an extension.

0 Likes