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
{{ message }}
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.
I use scalaj to do a http-request, works well but in some times i recive this issue.
Exception Trace: java.net.MalformedURLException: no protocol: null
at java.net.URL.(URL.java:593)
at java.net.URL.(URL.java:490)
at java.net.URL.(URL.java:439)
at scalaj.http.HttpRequest.exec(Http.scala:335)
at scalaj.http.HttpRequest.asString(Http.scala:455)
at
****.scala:859)
The line of the error is in the part of the http-response, the url is https protocol.
Hi!
I use scalaj to do a http-request, works well but in some times i recive this issue.
Exception Trace: java.net.MalformedURLException: no protocol: null
at java.net.URL.(URL.java:593)
at java.net.URL.(URL.java:490)
at java.net.URL.(URL.java:439)
at scalaj.http.HttpRequest.exec(Http.scala:335)
at scalaj.http.HttpRequest.asString(Http.scala:455)
at
****.scala:859)
The line of the error is in the part of the http-response, the url is https protocol.
resp = Http(url)
.method("get")
.cookies(cookies)
.headers(Seq(("Accept", "Application/json"),
("Content-Type", "Application/json")
))
.asString
The text was updated successfully, but these errors were encountered: