ngrok
ngrok copied to clipboard
Ngrok error 4018
I just got an ERR_NGROK_4018
from command line.
Strange enough this error code isn't listed here: https://ngrok.com/docs/errors
I am having the same issue! I've been using Laravel Homestead's share feature, that implements ngrok, for some time now, it always worked fine, but suddenly it no longer works and this error appears, and it is not referenced anywhere else :(
Not sure if the authtoken expires after a period. I recall I generated the authtoken when I started using ngrok and have used it for more than a year without issues.
However I ran ngrok authtoken <YOUR_AUTHTOKEN>
again and it was working again:
https://ngrok.com/docs#getting-started-authtoken
Btw. there's a typo in "authtoken" in the sentence: "Install your authoken: ..."
Also seeing a few people on my team here suddenly getting prompted in order to use free-tier ngrok features. Did something change in the API itself?
You should run ngrok authtoken <YOUR_AUTHTOKEN>
. it will work
These forums are unmonitored. For ongoing support, check out our slack channel: http://ngrok.com/slack
I tried run ngrok like Daemon at init... But I have a error 4018. My script.
#!/bin/bash ngrok config add-authtoken TOKEN ngrok http 80
I use
ngrok authtoken ngrok http 80
But , it's the same... 4018
I fixed the issue, and im so mad right now. After weeks of googling and looking through all the crevices in the docs to find out why it wasn't working with my token, the issue was that my region wasn't correctly set.
@Laytix thanks for posting. It's not clear to me how these two things are related. do you have any suggestions on where to add information to the docs that would have helped you?
if so, do you mind opening an issue in https://github.com/ngrok/ngrok-docs with your suggestions?