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

Malformed configuration file when I set BLACKLIST #39

Open
llaumgui opened this issue Nov 15, 2024 · 1 comment
Open

Malformed configuration file when I set BLACKLIST #39

llaumgui opened this issue Nov 15, 2024 · 1 comment

Comments

@llaumgui
Copy link

When I set BLACKLIST on YAML :

Malformed configuration file /root/theengsgw.conf: Expecting ':' delimiter: line 30 column 39 (char 923)
[15:16:39] INFO: �[32mCreating TheengsGateway configuration...�[0m
[15:16:43] INFO: �[32mIDENTITIES: �[0m
[15:16:43] INFO: �[32mBINDKEYS: �[0m
[15:16:43] INFO: �[32mBLACKLIST: {"XX:XX:XX:XX:XX:XX","XX:XX:XX:XX:XX:XX"}�[0m
[15:16:43] INFO: �[32mWHITELIST: �[0m
[15:16:43] INFO: �[32mStarting TheengsGateway...�[0m

And Theengs don't start. If I remove blacklist, all is OK.

@mihsu81
Copy link
Owner

mihsu81 commented Nov 15, 2024

I don't use the whitelist and blacklist.
The syntax I wrote in the documentation is just an approximation based on the syntax of the other arguments. https://github.com/theengs/gateway/blob/development/docs/use/use.md is not really clear on how to add more than 1 address.
If you replace "," with ":", the error goes away. Please check of it actually works.
Maybe @1technophile or @johhanes can clarify the syntax.

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

2 participants