-
Notifications
You must be signed in to change notification settings - Fork 603
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
When host specified as string url, default port is 80 #625
Comments
PR: #647 |
estolfo
pushed a commit
that referenced
this issue
May 7, 2019
Closed
picandocodigo
pushed a commit
to elastic/elastic-transport-ruby
that referenced
this issue
Jun 7, 2021
renaperes824
added a commit
to renaperes824/ruby-elastic-transport
that referenced
this issue
Sep 12, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A bug was recently filed on the Logstash Elasticsearch Filter Plugin, indicating that specifying a schema in the host argument would cause the client to fail to provide the default port.
The issue is that when we send
URI#parse(String)
, URI finds the http/https implementation ofURI
, each of which have default ports that get set on the instance.Although it's not particularly clean, the following will always create a
URI::Generic
(which has no default port):The text was updated successfully, but these errors were encountered: