ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

Ngrok error 4018

Open bjarnef opened this issue 3 years ago • 4 comments

I just got an ERR_NGROK_4018 from command line.

image

Strange enough this error code isn't listed here: https://ngrok.com/docs/errors

bjarnef avatar Nov 09 '21 12:11 bjarnef

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 :(

CarolScope avatar Nov 10 '21 14:11 CarolScope

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: ..."

bjarnef avatar Nov 10 '21 14:11 bjarnef

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

thilylinh avatar Jan 06 '22 06:01 thilylinh

These forums are unmonitored. For ongoing support, check out our slack channel: http://ngrok.com/slack

caseysoftware avatar Oct 10 '22 16:10 caseysoftware

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

daidahan avatar May 04 '24 16:05 daidahan

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 avatar May 21 '24 15:05 Laytix

@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?

russorat avatar May 21 '24 16:05 russorat