7

为了让演示应用程序启动并运行,我将我的应用程序初始安装到测试商店时有点碰壁。我已经完全按照教程进行操作,shopify_app 生成器使用我的 API 密钥和秘密共享生成初始代码(它确实要求我替换比教程中列出的更多的文件)但是当我运行服务器并放置大约 30 秒后要安装的测试存储的子域当回调类开始推回 localhost:3000 时,我得到一个 SSL Connection Reset By Peer 超时。该应用程序显示为已安装在测试商店中,但我无法让它在我的终端上启动演示,也无法通过初始安装屏幕。

非常感谢任何帮助!

谢谢

4

3 回答 3

0

使用以下服务之一通过 SSH 连接来隧道化您的 localhost。免费:https : //ngrok.com/ 付费:https ://forwardhq.com/

于 2016-09-04T07:32:55.537 回答
0

Shopify runs on https and loads your localhost:3000 via an iframe, which isn't https obviously.

As your browser doesn't load insecure content so you have to tell it to... Here is a discussion for changing that setting:

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

于 2016-04-01T00:49:14.897 回答
0

Try working with shopify on a public domain and not on localhost. Do you have a staging environment with a public domain name? If you do not you can use an ssh reverse proxy on a public domain (aka ssh tunneling)

于 2015-10-08T12:34:19.870 回答