You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've updated Faraday from 1.7.0 to 1.7.1 and I'm getting this deprecation warning from elasticsearch-transport, when the elasticsearch endpoint is authenticated through basic auth embedded in the url, http://test:deprecation@localhost:9200:
$ rails c
WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:basic_auth, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
I'm following the issue in Faraday, see if the support for basic auth in URLs is dropped. But I may update the client anyway to maybe send the auth header instead of depending on Faraday for this.
Hi,
I've updated Faraday from 1.7.0 to 1.7.1 and I'm getting this deprecation warning from
elasticsearch-transport
, when the elasticsearch endpoint is authenticated through basic auth embedded in the url,http://test:deprecation@localhost:9200
:elasticsearch-ruby/elasticsearch-transport/lib/elasticsearch/transport/transport/http/faraday.rb
Line 62 in 216903c
Versions:
Ref: lostisland/faraday#1306
The text was updated successfully, but these errors were encountered: