Error code 500 from Shopify App proxy

We have a shopify app that use application proxy. When the user accesses etechfocus-demo, our backend should be called, but did not. And I saw 500 error code from Cloudflare. I wonder if anyone knows what is going on. thanks

  • Request URL: etechfocus-demo
    • Request Method: GET
    • Status Code: 500
    • Remote Address: 23.227.38.64:443
    • Referrer Policy: no-referrer-when-downgrade
  • Response Headers
    • cf-ray: 4ebf4d642ca2d946-HKG
    • content-encoding: gzip
    • content-language: en
    • content-security-policy: block-all-mixed-content; frame-ancestors *; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=app_liquid&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=storefront_section%2Fapp_proxy&source%5Bsection%5D=storefront&source%5Buuid%5D=543a9e02-6eb4-45f8-b155-606ee82257cc
    • content-type: text/html; charset=utf-8
    • date: Mon, 24 Jun 2019 14:13:26 GMT
    • expect-ct: max-age=604800, report-uri="…
    • server: Cloudflare
    • set-cookie: secure_customer_sig=; path=/; expires=Fri, 24 Jun 2039 14:13:26 -0000; secure; HttpOnly
    • set-cookie: cart_sig=; path=/; expires=Mon, 08 Jul 2019 14:13:26 -0000; HttpOnly
    • status: 500
    • strict-transport-security: max-age=7889238
    • vary: Accept-Encoding
    • x-content-type-options: nosniff
    • x-dc: gcp-us-east1,gcp-us-east1,gcp-us-east1
    • x-download-options: noopen
    • x-permitted-cross-domain-policies: none
    • x-request-id: 543a9e02-6eb4-45f8-b155-606ee82257cc
    • x-shardid: 52
    • x-shopid: 21465161
    • x-shopify-stage: production
    • x-sorting-hat-podid: 52
    • x-sorting-hat-shopid: 21465161
    • x-xss-protection: 1; mode=block; report=…

What is the body/response of the request? I believe Shopify just recently started working with CF, but this 500 error likely isn’t an issue with CF.

If I go to the URL myself:

A CF error looks like so:

Hi Judge

Thanks for helping out. The body does not contain anything useful. The only line that contains an error is like

 (new Image()).src = '//v.shopify.com/internal_errors/track?error=trekkie_load';

and

There was an error in the third-party application.

I have uploaded the body to etechfocus-demo

thanks again

Anyone wants if there is anyway to debug the error code 500 more? I did not see any calls from Cloudflare to our server

This topic was automatically closed after 14 days. New replies are no longer allowed.