App proxy returns 404

Highlighted
New Member
3 0 0

I’ve gone through this tutorial:
https://help.shopify.com/en/api/guides/application-proxies

…and setup my app proxy as follows:

Screen Shot 2019-06-28 at 8.23.46 AM.png

If I test the following URL https://jspizza.myshopify.com/apps/my-app-proxy/app_path/

…I receive a 404.

Should that redirect to this url?:
https://my-app-proxy.com/app_proxy/app_path 

 

0 Likes
Highlighted

Hello 

Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
New Member
3 0 0

1) still gives me a 404

2) I’ve not created a route. I’m not sure how to create a route to the app proxy or how that piece works. The Shopify App Proxy documentation is lacking in that area.

0 Likes
Highlighted

Which language you are using to develop this. Laravel,codeignter or any other.

 

Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
New Member
3 0 0

Shopify App CLI (Node JS version) https://github.com/Shopify/shopify-app-cli

0 Likes
Highlighted
New Member
3 0 0

Just in case it helps some people, as I was banging my head against the wall on this. I was using a local dev environment to test the Shopify App signup and App page processes, which work fine as the requests come from directly your browser.

The app-proxy, on the other hand, involves Shopify's backend (not your browser) making an HTTP request to your Proxy URL to download the contents of your page.

In my case, the Proxy URL I was using was not publicly accessible, so once I switched to use Ngrok it worked fine.

0 Likes