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
If there is a connection error when connecting to MISP, the current result raises an Protocol.UndefinedError which consumes the underlying cause. For example, when connecting to a MISP server with a self-signed certificate, the following error is observed.
Interactive Elixir (1.11.2)-pressCtrl+Ctoexit(typeh() ENTER for help)iex(1)>importMISPMISPiex(2)>MISP.Event.get(1)**(Protocol.UndefinedError)protocolString.Charsnotimplementedfor{:options,{:sslv3,{:versions,[:"tlsv1.2",:"tlsv1.1",:tlsv1,:sslv3]}}} of type Tuple.Thisprotocolisimplementedforthefollowingtype(s): Float,DateTime,Time,List,Version.Requirement,Atom,Integer,Version,Date,BitString,NaiveDateTime,URI(elixir1.11.2) lib/string/chars.ex:3: String.Chars.impl_for!/1(elixir1.11.2) lib/string/chars.ex:22: String.Chars.to_string/1(mispex0.1.8) lib/http.ex:87: MISP.HTTP.handle_response/1(mispex0.1.8) lib/http.ex:31: MISP.HTTP.get/2
This can be fixed by using HTTPoison.Error.message/1 to safely wrap the error instead of reaching into the struct directly.
The text was updated successfully, but these errors were encountered:
If there is a connection error when connecting to MISP, the current result raises an
Protocol.UndefinedError
which consumes the underlying cause. For example, when connecting to a MISP server with a self-signed certificate, the following error is observed.This can be fixed by using
HTTPoison.Error.message/1
to safely wrap the error instead of reaching into the struct directly.The text was updated successfully, but these errors were encountered: