-
Notifications
You must be signed in to change notification settings - Fork 14
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
Cuttlefish chokes on lines with only whitespace characters in the config file #1
Comments
Hello, thanks for the report. To expedite a fix, please do the following:
Without the above, this project's maintainers (who do so on their free time) will have to spend time going through your report and vernemq/vernemq#1208 to piece together a means to reproduce this issue. If you provide it here, I'm sure I can fix it this week. |
Thank you so much for this. Using |
Happy to have helped :-) |
Dear cuttlefish maintainers,
I have discovered an issue in cuttlefish as used in VerneMQ:
The original issue is here:
vernemq/vernemq#1208
The problem is that cuttlefish chokes on lines which have only whitespace characters (e.g. tabs) in the config file. This is a particularly difficult issue to debug, as you literally can't see the whitespace. (nano will turn it on if you press Alt + P).
This is what we get currently:
and when drilling down with
vernemq config generate -l debug
:I feel that lines with whitespace should be accepted and ignored.
I ran into this issue while debugging with VerneMQ for a different issue, and having edited the config file with nano.
See also
https://pi3g.com/2019/06/04/debugging-vernemq-connection-authentication-problems-for-dual-authentication-with-webhooks-and-vmq_diversity/ (Bonus section)
The text was updated successfully, but these errors were encountered: