# NgrokError when using Forge Tunnel

**URL:** <https://community.developer.atlassian.com/t/ngrokerror-when-using-forge-tunnel/75624>\
**Category:** Forge\
**Tags:** incident, forge-tunnel, ngrok\
**Created:** [December 19, 2023, 7:20pm UTC](https://community.developer.atlassian.com/t/ngrokerror-when-using-forge-tunnel/75624 "2023-12-19T19:20:18Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![JingYuan](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@JingYuan](https://community.developer.atlassian.com/u/JingYuan)\
**Post date:** [December 19, 2023, 9:59pm UTC](https://community.developer.atlassian.com/t/ngrokerror-when-using-forge-tunnel/75624/12 "2023-12-19T21:59:17Z")

</div>

Please follow this [https://developer.atlassian.com/platform/forge/tunneling/#providing-credentials-for-ngrok](https://developer.atlassian.com/platform/forge/tunneling/#providing-credentials-for-ngrok) to set up your ngrok config, the original workaround has been deprecated.

> [@JingYuan](#):
>
> Looks like ngrok stopped supporting anonymous users without announcing in [changelog](https://ngrok.com/docs/agent/changelog/).
> 
> The error is caused by this: [ERR\_NGROK\_4018 | ngrok documentation](https://ngrok.com/docs/errors/err_ngrok_4018/).
> 
> The workaround is:
> 
> 1. Sign up for an ngrok account: [ngrok - Online in One Line](https://dashboard.ngrok.com/signup)
> 2. Create a ngrok.yml file, sample:
> 
> ```auto
> version: 2
> log_level: debug
> region: us
> authtoken: <your-ngrok-authtoken>
> 
> ```
> 
> 1. Run `forge tunnel --ngrok-config <your-ngrok-config-path>`  
> [https://developer.atlassian.com/platform/forge/cli-reference/tunnel/#options](https://developer.atlassian.com/platform/forge/cli-reference/tunnel/#options)
> 
> I verified on my local, it’s working

---

_[View the full topic](https://community.developer.atlassian.com/t/ngrokerror-when-using-forge-tunnel/75624)._
