Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: getaddrinfo ERRNOTFOUND during shopify app dev #3874

Open
2 tasks done
jan-gebauer opened this issue May 9, 2024 · 9 comments
Open
2 tasks done

[Bug]: getaddrinfo ERRNOTFOUND during shopify app dev #3874

jan-gebauer opened this issue May 9, 2024 · 9 comments
Labels
Area: @shopify/app @shopify/app package issues Type: Bug Something isn't working

Comments

@jan-gebauer
Copy link

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

App

Expected behavior

shopify app dev succesfully completes the startup and my application is accessible in the development store.

Actual behavior

21:55:48 │ graphiql │ GraphiQL server started on port 3457
21:55:49 │ remix │
21:55:49 │ remix │ 💿 remix dev
21:55:49 │ remix │
21:55:49 │ remix │ info building...
21:55:50 │ remix │ info built (755ms)
21:55:50 │ remix │ [shopify-api/INFO] version 9.3.0, environment Remix
21:55:50 │ remix │ [remix-serve] http://localhost:35611 (http://192.168.0.11:35611)
21:55:50 │ remix │ Could not reach Remix dev server at https://generating-trend-beginning-singing.trycloudflare.com/ping
21:55:50 │ remix │
21:55:50 │ remix │ /home/yan/code/discounter/node_modules/@remix-run/web-fetch/src/fetch.js:112
21:55:50 │ remix │ reject(new FetchError(request to ${request.url} failed, reason: ${err.message}, 'system', err));
21:55:50 │ remix │ ^
21:55:50 │ remix │ FetchError: request to https://generating-trend-beginning-singing.trycloudflare.com/ping failed, reason: getaddrinfo ENOTFOUND
generating-trend-beginning-singing.trycloudflare.com
21:55:50 │ remix │ at ClientRequest. (/home/yan/code/discounter/node_modules/@remix-run/web-fetch/src/fetch.js:112:11)
21:55:50 │ remix │ at ClientRequest.emit (node:events:530:35)
21:55:50 │ remix │ at TLSSocket.socketErrorListener (node:_http_client:495:9)
21:55:50 │ remix │ at TLSSocket.emit (node:events:518:28)
21:55:50 │ remix │ at emitErrorNT (node:internal/streams/destroy:169:8)
21:55:50 │ remix │ at emitErrorCloseNT (node:internal/streams/destroy:128:3)
21:55:50 │ remix │ at processTicksAndRejections (node:internal/process/task_queues:82:21)

Verbose output

https://github.com/jan-gebauer/metafield_discounts/blob/6425ecf7a7b9f366caf7e028d73b0f12a4259510/output.txt

Reproduction steps

  1. Run shopify app dev on my machine
  2. Observe the issue

Operating System

Pop!_OS 22.04 LTS

Shopify CLI version (check your project's package.json if you're not sure)

3.60.0

Shell

No response

Node version (run node -v if you're not sure)

v20.11.0

What language and version are you using in your application?

TypeScript, Node

@jan-gebauer jan-gebauer added the Type: Bug Something isn't working label May 9, 2024
@jan-gebauer
Copy link
Author

Note that running shopify auth logout and then shopify app dev alleviates the issue then but if I quit shopify app dev and run it again, I get the error again.

@isaacroldan
Copy link
Contributor

Hi @jan-gebauer, could you please run the same command with the verbose flag: shopify app dev --verbose and attach the output here? that'd help us investigate the issue

@isaacroldan isaacroldan added the Area: @shopify/app @shopify/app package issues label May 10, 2024
@jan-gebauer
Copy link
Author

jan-gebauer commented May 10, 2024

Hello @isaacroldan , thank you for getting back to me. I just want to clear something up. I posted a link to the verbose output in my repository because the output is too large for pastebin, and therefore, I assume, also for this page. If you still think I should post it, I'd be happy to do so.

@isaacroldan
Copy link
Contributor

Hi @jan-gebauer, in that verbose output I don't see the ERRNOTFOUND error. Is that the right output? What should I see in that file? :)

@jan-gebauer
Copy link
Author

Hello, @isaacroldan, I also don't see the error. I was surprised by that as well. I ran something like shopify app dev > output.txt. Since I didn't see the error, I was hoping i would get help from the contributors. Perhaps there's a better way to export it?

@isaacroldan
Copy link
Contributor

That way should work fine. Do you see the error in the terminal but not on the exported file?

@jan-gebauer
Copy link
Author

jan-gebauer commented May 13, 2024 via email

@BoraVivek-Furrl
Copy link

I am also facing the same issue

@HadiMalikDev
Copy link

HadiMalikDev commented Jun 12, 2024

Likewise. I've tried both ngrok and cloudflare tunnels but the issue persists either way. It doesn't work for me even when I log out of Shopify and log back in. I've also tried renewing my IP address, using a different network, using a VPN, changing node versions, and clearing my DNS. Nothing seems to work.
Screenshot 2024-06-12 at 10 09 55 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/app @shopify/app package issues Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants