App Proxy intermittently fails ("There was an error in the third-party application") and requests are never forwarded to the origin

Hi all,

Our app’s App Proxy intermittently returns 500 “There was an error in the third-party application.” on the storefront. According to our network logs, the failed requests are never forwarded to our origin at all. Shopify Support could not trace Ray IDs and suggested posting here.

Setup

  • App: custom distribution, embedded (React Router template), installed on one dev store
  • App Proxy: prefix “apps”, subpath “creatorgoods” → https:///creatorgoods/proxy
  • Origin: AWS Application Load Balancer (ap-northeast-1) → ECS Fargate
  • The App Proxy URL has not changed since it was first configured on 2026-10-14. write_app_proxy scope was added on 2026-10-30 (no change).

Symptom

  • Requests to /apps/creatorgoods/* alternate between success and failure, often within a minute.
  • Reproduces from different networks (office and mobile), with or without browser cache.
  • Failed responses: HTTP 500, cf-cache-status: DYNAMIC.

Evidence from our side (ALB access logs, ALB connection logs, VPC Flow Logs)

  • Successful requests reach our origin and return 200.
  • Failed requests never reach our network: no packets, no TLS connection, no HTTP request is recorded.
  • During the failures, the Cloudflare → origin TCP connections created by the successful requests remain alive (packets are exchanged every minute), but the failed requests are not sent over them either.
  • Public resolvers (1.1.1.1, 8.8.8.8) and our authoritative DNS (Route 53) resolve the origin host correctly. Security group, network ACLs, TLS policy and WAF were verified.

Failed requests (2026-10-30, UTC, Cf-Ray)
07:30:00 a528b658a8e44a4f-KIX
07:31:30 a528b883fd5b14e8-KIX
07:33:10 a528baf4ea83fca0-KIX
07:33:50 a528bbee594e9646-KIX
07:34:30 a528bce8df5896bb-KIX
07:35:10 a528bde2588ab204-KIX
07:36:00 a528bf1c1c33d1cb-KIX
07:36:50 a528c0647afa8310-KIX

Successful requests for comparison (reached our origin)
07:30:45 a528b76b0a068b51-KIX
07:32:30 a528b9facd5e7e85-KIX

DNS history
Our origin host has the form stg.alpha… Until about 2026-10-29 00:40 UTC, our authoritative DNS returned NXDOMAIN for the intermediate name alpha.. (an empty non-terminal), which can break resolvers that use QNAME minimisation. We added a TXT record at that name to fix it. The failures became less frequent after that, but they have not stopped.

Questions

  1. Can someone from Shopify check why the App Proxy did not forward the requests for the Ray IDs above?
  2. Could there be cached DNS results (for example, a cached NXDOMAIN) or cached routing state for our origin host on the App Proxy side?

I can share the store domain, app client ID and origin host privately with Shopify staff.

Thanks in advance.

Update (2026-11-04)

Since posting, we ran more tests. Nothing changed the behavior.

  1. Removed and re-added the app proxy

    • Removed [app_proxy] from shopify.app.toml → shopify app deploy
      → /apps/creatorgoods/* returned 404 (proxy gone)
    • Re-added the same [app_proxy] → shopify app deploy
    • Result: the intermittent 500 continued.
  2. Moved the proxy target to a brand-new hostname

  3. VPC flow logs (Nov 2, 05:40-06:05 UTC)

    • Shopify/Cloudflare opened exactly ONE TCP connection to our ALB
      (05:57:46 UTC), and that request succeeded with HTTP 200.
    • The failed requests produced no packets at all (no SYN), so they were
      never attempted toward our server.

Additional observations:

  • With normal reloads the proxy usually works now, but after clearing the
    browser cache and doing a hard reload, the 500 appears again.
  • Right after we deploy (shopify app deploy, or a new version of our server),
    the 500 happens very frequently, and it becomes more stable over time.

Example of a failed request:

  • x-request-id: f6a49964-77af-4120-bc45-be61b4a32496-1793753112
  • Cf-Ray: a54f9838dc62337e-KIX
  • Time: 2026-11-04 00:45 UTC

This has also been escalated through Shopify Support (ticket 71834142).
Any insight into why the App Proxy sometimes fails without contacting the
origin would be appreciated.

If it helps the investigation, we are also willing to redeploy our service on purpose to reproduce the issue, and share the exact time and x-request-id values of the failed requests.

Hey @Takashi.K - thanks for flagging this, and for the detailed logs and Ray IDs. They made it much easier to trace.

We’ve reproduced the failures on our side. For the affected requests, Shopify’s App Proxy fails while resolving the proxy hostname, so it never opens a connection to your origin. That’s why your ALB, connection logs and VPC Flow Logs have no record of those requests. When that lookup fails, the App Proxy returns the generic “There was an error in the third-party application.” 500 page.

The issue continued after the DNS changes on your side, and your hostname resolves correctly from public resolvers. You don’t need to keep changing your app proxy settings, hostname or origin while we investigate.

We’ve raised this with the team that runs our edge network and are following up through your support ticket. Please keep store-specific details there, and we’ll post here once there’s an update we can share publicly.