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

ERROR: unknown shorthand flag: 'o' in -ostname=my-app.ngrok.io #72

Open
anthonielamay opened this issue Mar 18, 2024 · 5 comments
Open

Comments

@anthonielamay
Copy link

anthonielamay commented Mar 18, 2024

Unknown error in regards to the deployment of a NGROK docker image in a TrueNAS setup. NGROK had been working for at least a year before this. Less than 48 hours ago something changed (might of been an update to the image). Unfortunately I am not a programmer, but I am good at following instructions. So any assistance that can be provided to me would be most appreciated. I am using a NGROK paid account.
Screenshot 2024-03-17 211103

Also, what does "failed to created fsnotify watcher: too many open files" mean?

@mbonig
Copy link

mbonig commented Mar 22, 2024

We're having the same issue and can't do some major maintenance on our repo until this is resolved (or we find a different docker image to use)(

@anthonielamay
Copy link
Author

Appreciate the response. I am not great (or even good at this stuff), so I am slightly hopeful that this can get solved since the problem isn't necessarily me.

@anthonielamay
Copy link
Author

anthonielamay commented Apr 11, 2024

We're having the same issue and can't do some major maintenance on our repo until this is resolved (or we find a different docker image to use)(

Did you come up with a solution? Still having a problem myself.

Late Edit: I finally bit the bullet and got the NGROK/NGROK version working for truenas. I should not have delayed as much as I did. Once I figured out the basic environment commands and got the storage (for the .yml files) it was much easier going using basic setup from the NGROK website.

@ryan-hansen
Copy link

@mbonig I'm sure you've probably moved past this by now, but for you or anyone else who may be having this problem with this image, we were having the same issue so I identified it and fixed it. Well, I should say I fixed it as far as my needs go. Presumably it will work for anyone. Literally just a couple missing dashes in the entrypoint.sh file. Anyway, since the maintainers here haven't responded and there are a couple open PRs in this repo that have been open for a while with no response, I had to assume this issue wouldn't be fixed soon, so I just cloned the repo and created my own image. It's exactly the same as this one, works in exactly the same way, just fixed. So if you need it, it's here: https://hub.docker.com/r/mrhattyhat/ngrok. I may submit the PR for it on this repo. Just couldn't wait for it.

@trostli
Copy link

trostli commented May 24, 2024

@ryan-hansen thank you for providing that image, that's solved my issue as well. Do you have a github repo up some where?

I'd also like to point out that if you provide NGROK_BINDTLS as 'true' in both wernight/ngrok and mrhattyhat/ngrok images as an ENV var, a similar error appears like ERROR: unknown shorthand flag: 'b' in -bind-tls . My guess is that ngrok no longer supports that option?

Once I remove setting that ENV var the error goes away and the ngrok tunnel still uses https. I suppose that ENV var reference in the README can probably be removed as well as the associated code.

fyi @wernight

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

4 participants