workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🐛 BUG:

Open Dev2211 opened this issue 3 years ago • 1 comments

What version of Wrangler are you using?

2.1.4

What operating system are you using?

Linode

Describe the Bug

can't connect to linode server auth link goes to localhost:8976

Dev2211 avatar Sep 19 '22 17:09 Dev2211

Hi! Would you be able to provide a way for us to replicate this issue? In particular:

  • The wrangler command you're running
  • The operating system you're using (are you trying to run Wrangler within a Linode server?)

penalosa avatar Sep 20 '22 09:09 penalosa

I assume this is to do with running an OAuth flow on a remote server. When going to the auth link from a browser on the local machine, the web server hosted on the remote machine won't receive the callback response as they will be redirected on the local machine.

Possible workaround: Use API tokens, this is the recommended method if using wrangler for CI/CD (https://developers.cloudflare.com/workers/wrangler/ci-cd/)

cameron-robey avatar Sep 26 '22 09:09 cameron-robey

Closing in favour of https://github.com/cloudflare/wrangler2/issues/884

Please open a new issue @Dev2211 if this is not the same issue

cameron-robey avatar Sep 26 '22 09:09 cameron-robey