Hi guys I tried to upgrade into latest elixir version which is 1.10 by using a version manager (kiex). Then, I encountered an issue
:path in URI must be nil or an absolute path if :host or :authority are given, got: %URI{authority: nil, fragment: nil, host: "secure.gravatar.com/avatar/", path: "e64c7d89f26bd1972efa854d13d7dd61", port: nil, query: "s=120", scheme: "https", userinfo: nil}
I tried to access a gravatar but it showed an error like this one, How can I resolve this one?
Seems like the error was added in 1.10. Whatever you’re using for gravatar retrieval probably needs an update for 1.10 compatibility by making sure the path it actually an absolute one.
@LostKobrakai ,
I’m very new to elixir and I’m just using it to setup an open source project that I need so I don’t know how to do the update you were talking about in your answer.
could you please show me how to do that ?
this is the error message
[error] #PID<0.1006.0> running Opencov.Endpoint terminated
Server: 0.0.0.0:4000 (http)
Request: GET /projects/new
** (exit) {%ArgumentError{message: ":path in URI must be nil or an absolute path if :host or :authority are given, got: %URI{authority: nil, fragment: nil, host: \"secure.gravatar.com/avatar/\", path: \"e64c7d89f26bd1972efa854d13d7dd61\", port: nil, query: \"s=24\", scheme: \"https\", userinfo: nil}"}, []}