java.lang.IllegalArgumentException: `uri` must have scheme "http", "https" or no scheme

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by akka-ci
, 1 year ago
`uri` must have scheme "http", "https" or no scheme
via GitHub by francisdb
, 1 year ago
`uri` must have scheme "http", "https" or no scheme
java.lang.IllegalArgumentException: `uri` must have scheme "http", "https" or no scheme
at akka.http.scaladsl.model.HttpRequest$.verifyUri(HttpMessage.scala:292)
at akka.http.scaladsl.model.HttpRequest.(HttpMessage.scala:155)
at akka.http.scaladsl.model.HttpRequest$.apply(HttpMessage.scala:302)
at akka.http.impl.engine.server.HttpServerBluePrint$PrepareRequests$$anon$1.onPush(HttpServerBluePrint.scala:133)
at akka.stream.impl.fusing.GraphInterpreter.processElement$1(GraphInterpreter.scala:587)
at akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:598)
at akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:539)
at akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:472)
at akka.stream.impl.fusing.GraphInterpreterShell.receive(ActorGraphInterpreter.scala:424)
at akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:604)
at akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:619)
at akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:530)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
at akka.actor.ActorCell.invoke(ActorCell.scala:495)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
at akka.dispatch.Mailbox.run(Mailbox.scala:224)
at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.