Refine the initial installation of Snag

I kind of hit a wall with my initial installation of my application in a test store to run a demo application. I followed the tutorials to the letter, the shopify_app generator generates the source code using my API key and secret access (it asks me to replace more files than indicated in the tutorial), but after that, when I start the server and place the test storage subdomain for installation through about 30 seconds, I get a Reset By Peer timeout SSL connection when the Callback class starts to return to localhost: 3000. The application displays as installed in the test repository, but I can’t get its demo to run at my end or not to pass the installation ou installation screen.

I would really appreciate any help!

thanks

+7
source share
3 answers

Try working with shopify on a public domain, not on localhost. Do you have an intermediate domain with a public domain name? If you do not, you can use the ssh proxy in the public domain (aka ssh tunneling)

0
source

Shopify runs on https and loads your localhost: 3000 through an iframe, which is clearly not https.

Since your browser does not download unsafe content, so you need to talk about it ... Here is a discussion for changing this setting:

Chrome https://superuser.com/questions/487748/how-to-allow-chrome-browser-to-load-insecure-content

0
source

Use one of the following services to tunnel your local host through an SSH connection. FREE: https://ngrok.com/ PAID: https://forwardhq.com/

0
source

All Articles