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

Drizzle studio cli host param does not work when using remote dev (github codespaces) #381

Open
KyGuy2002 opened this issue Apr 26, 2024 · 0 comments

Comments

@KyGuy2002
Copy link

The cli has params for host and port, which also append those as url params to the web ui. If i leave them out on the cli and just add them to the url, I am able to use it in github codespaces.
https://local.drizzle.studio/?host=yourcodespacename-4983.app.github.dev&port=443 If i use these same values as params for the cli I get this error:

node:events:496
      throw er; // Unhandled 'error' event
      ^

Error: getaddrinfo ENOTFOUND ieatbeans.com
    at __node_internal_captureLargerStackTrace (node:internal/errors:563:5)
    at __node_internal_ (node:internal/errors:782:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
    at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17)
Emitted 'error' event on Server instance at:
    at GetAddrInfoReqWrap.doListen [as callback] (node:net:2072:12)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:17)
    at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
  errno: -3007,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'REDACTED BY ME'
}

Im not able to understand what this error means, but im guessing its checking if the address resolves and it doesn't because the api hasn't started yet.

Not a huge deal because I can just add the url params and its fine, but would be nice if I could have it auto populate those to make it less confusing for developers who will want to just click the link in the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant