ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 530 forks source link

Cannot connect with username/password when the password starts with a digit #454

Closed DeLoWaN closed 5 years ago

DeLoWaN commented 5 years ago

General information

Issue Description

When I connect with a username/password, if the password starts with a digit, ElasticHQ considers it as the port of the elasticsearch cluster. See in the console of the browser.

Source Code / Logs

For example, the URL: https://test:1test@localhost:9200

ElasticHQ tries to connect to:

ip: "localhost", port: "1", username: "test", password: "1test", use_ssl: false}

As you can see, the port is wrong.

pcasa commented 5 years ago

Fix pushed to develop branch. Should be merged to master shortly.

anitakrueger commented 5 years ago

@pcasa @royrusso I just ran into this issue and was wondering why elasticsearch-HQ would try to connect to port 53. Any chance this fix can be merged into develop please?

royrusso commented 5 years ago

Is this not merged in to develop yet? Seems that @pcasa did.

anitakrueger commented 5 years ago

Ah ok. I'm using the latest docker image and it's not in there unfortunately.

royrusso commented 5 years ago

There should be a docker image for the develop branch.

francisdb commented 5 years ago

Fixed half a year ago but still not fixed in the latest docker image?

royrusso commented 5 years ago

Should be on the develop docker image. I will hopefully do a release this week. :-)

royrusso commented 5 years ago

Should be in master. If still broken, please reopen this or create a new ticket.

francisdb commented 4 years ago

Thank you! I can confirm this to be fixed.