(Just letting you know) ngrok agent v2 has stopped support for unauthenticated calls, this library v4 affected
shelooks16 opened this issue · 2 comments
shelooks16 commented
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 commented
^^ I can confirm, bumping to v5 solved the problem 👍
andershagbard commented
For some reason ncc cant compile version 5 🤷🏼♂️