Cloudflare Error: "Unauthorized: Failed to get tunnel"

Tried to run npm dev and received this error:

╭─ error ──────────────────────────────────────────────────────────────────────╮
│                                                                              │
│  2023-10-09T01:22:48Z ERR Failed to serve quic connection                    │
│  error="Unauthorized: Failed to get tunnel" connIndex=0 event=0              │
│  ip=198.41.200.73                                                            │
│                                                                              │
│  2023-10-09T01:22:49Z ERR Failed to serve quic connection                    │
│  error="Unauthorized: Failed to get tunnel" connIndex=0 event=0              │
│  ip=198.41.200.73                                                            │
│                                                                              │
│  2023-10-09T01:22:54Z ERR Failed to serve quic connection                    │
│  error="Unauthorized: Failed to get tunnel" connIndex=0 event=0              │
│  ip=198.41.200.73                                                            │
│                                                                              │
│  2023-10-09T01:23:07Z ERR Failed to serve quic connection                    │
│  error="Unauthorized: Failed to get tunnel" connIndex=0 event=0              │
│  ip=198.41.200.73                                                            │
│                                                                              │
│  2023-10-09T01:23:17Z ERR Failed to serve quic connection                    │
│  error="Unauthorized: Failed to get tunnel" connIndex=0 event=0              │
│  ip=198.41.200.73                                                            │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

This is my first time coming back to the app since Friday, however, it was working on Friday and I haven’t done anything to it since. I ensured that my API token was correct and couldn’t find much documentation on the possible error. I would really appreciate some help on this, as I’m relatively new to app development.

10 Likes

Any luck about this? I have the same issue tried
npm run dev – --reset but it didn’t work
tried to reset ip didn’t work

This is so frustrating.

2 Likes

I have a same issue

4 Likes

same issue too

2 Likes

I tried reaching out with shopify support but this is what I get :disappointed_face:

4 Likes

The same issue.

2 Likes

I have the same issue.

1 Like

It’s working for me till yesterday night. now it’s not working might be a Cloudflare server issue. Hope will fix soon.

2 Likes

I get same issue :((

1 Like

Happening here too trying to spin up a new app + function so I don’t think it’s a config or local issue.

Possibly related to https://www.cloudflarestatus.com/

2 Likes

Working with the Checkout UI ext and suddenly failed some hours agao

1 Like

I’m having the same issue at this moment. Hoping Shopify could give us a solution to this.

1 Like

I think Cloudflare have some issues. You can check on this status page: Cloudflare Status

2 Likes

I’m having the same issue at this moment.

Same issue from my side as well.

Same issue

Now it is restored for me. it’s a Cloudflare issue.

2 Likes

Right now, it’s fine for me

2 Likes

Still not working on my end though

Not working for me as well