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

(Just letting you know) ngrok agent v2 has stopped support for unauthenticated calls, this library v4 affected #305

Open
shelooks16 opened this issue May 18, 2023 · 2 comments

Comments

@shelooks16
Copy link

shelooks16 commented May 18, 2023

Hi,

I have been using this library version 4.3.3 without any auth token and everything was perfect until today.

The way I use the library is simply:

ngrok.connect(port);

All of the sudden ngrok.connect started to throw TypeError: Cannot read properties of undefined (reading 'body'). After inspecting logs from underlying ngrok agent:

Your ngrok agent version "2" is no longer supported. Only the most recent version of the ngrok agent is supported without an account.

Upgrading to v5 solved this problem

@zfael
Copy link

zfael commented May 18, 2023

^^ I can confirm, bumping to v5 solved the problem 👍

@andershagbard
Copy link

For some reason ncc cant compile version 5 🤷🏼‍♂️

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

3 participants