Cannot include space in password for elasticsearch_hosts

I am attempting to connect to an elasticsearch cluster that uses native authentication. The password for the account that I am using has a space in it. When I attempt to start graylog the service errors out and I get the following message:

Caused by: Illegal character in authority at index 8: username:password@

I get the same error message whether I do:

elasticsearch_hosts = https://username:password with spaces@


elasticsearch_hosts = https://username:password\u0020with\u0020spaces@

as the documentation says:

This is the Graylog configuration file. The file has to use ISO 8859-1/Latin-1 character encoding.

Characters that cannot be directly represented in this encoding can be written using Unicode escapes

If I remove the spaces graylog does not error out, but then the password is incorrect. How am I able to include spaces in the password?

Have you tried quoting the string?

Unfortunately not. I tried the following variations with the same result:


consider this as a bug and please open a bug report over at github:

Until this is fixed you need to change the password to something without a space

Thank you. I will do those things.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.