java.lang.IllegalArgumentException: The URI scheme, of the URI ///vamp-persistence/deployments/_search, must be equal (ignoring case) to 'http', 'https', 'ws', or 'wss'

GitHub | harmw | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Elasticsearch url seems broken

    GitHub | 8 months ago | harmw
    java.lang.IllegalArgumentException: The URI scheme, of the URI ///vamp-persistence/deployments/_search, must be equal (ignoring case) to 'http', 'https', 'ws', or 'wss'
  2. 0

    ACLs update with PUT raised an error.

    GitHub | 4 years ago | letnotimitateothers
    java.lang.IllegalArgumentException: The URI scheme, of the URI file1.acl, must be equal (ignoring case) to 'http', 'https', 'ws', or 'wss'

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The URI scheme, of the URI ///vamp-persistence/deployments/_search, must be equal (ignoring case) to 'http', 'https', 'ws', or 'wss'

      at com.ning.http.util.AsyncHttpProviderUtils.validateSupportedScheme()
    2. Asynchronous Http Client
      AsyncHttpClient.executeRequest
      1. com.ning.http.util.AsyncHttpProviderUtils.validateSupportedScheme(AsyncHttpProviderUtils.java:55)[vamp.jar:0.9.0]
      2. com.ning.http.client.RequestBuilderBase$RequestImpl.toURI(RequestBuilderBase.java:175)[vamp.jar:0.9.0]
      3. com.ning.http.client.RequestBuilderBase$RequestImpl.getURI(RequestBuilderBase.java:158)[vamp.jar:0.9.0]
      4. com.ning.http.client.RequestBuilderBase$RequestImpl.getUrl(RequestBuilderBase.java:144)[vamp.jar:0.9.0]
      5. com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:990)[vamp.jar:0.9.0]
      6. com.ning.http.client.providers.netty.NettyAsyncHttpProvider.execute(NettyAsyncHttpProvider.java:935)[vamp.jar:0.9.0]
      7. com.ning.http.client.AsyncHttpClient.executeRequest(AsyncHttpClient.java:499)[vamp.jar:0.9.0]
      7 frames
    3. dispatch
      Http.apply
      1. dispatch.HttpExecutor$class.apply(execution.scala:47)[vamp.jar:0.9.0]
      2. dispatch.Http.apply(execution.scala:12)[vamp.jar:0.9.0]
      3. dispatch.HttpExecutor$class.apply(execution.scala:42)[vamp.jar:0.9.0]
      4. dispatch.Http.apply(execution.scala:12)[vamp.jar:0.9.0]
      4 frames
    4. io.vamp.common
      RestClient$.post
      1. io.vamp.common.http.RestClient$.http(RestClient.scala:64)[vamp.jar:0.9.0]
      2. io.vamp.common.http.RestClient$.post(RestClient.scala:38)[vamp.jar:0.9.0]
      2 frames
    5. io.vamp.pulse
      ElasticsearchClient.search
      1. io.vamp.pulse.ElasticsearchClient.search(ElasticsearchClient.scala:86)[vamp.jar:0.9.0]
      1 frame
    6. io.vamp.persistence
      PersistenceActor$$anonfun$receive$1$$anonfun$applyOrElse$3.apply
      1. io.vamp.persistence.db.ElasticsearchPersistenceActor.all(ElasticsearchPersistenceActor.scala:41)[vamp.jar:0.9.0]
      2. io.vamp.persistence.db.PersistenceActor$$anonfun$receive$1$$anonfun$applyOrElse$3.apply(PersistenceActor.scala:71)[vamp.jar:0.9.0]
      3. io.vamp.persistence.db.PersistenceActor$$anonfun$receive$1$$anonfun$applyOrElse$3.apply(PersistenceActor.scala:71)[vamp.jar:0.9.0]
      3 frames
    7. Scala
      Try$.apply
      1. scala.util.Try$.apply(Try.scala:192)[vamp.jar:0.9.0]
      1 frame
    8. io.vamp.common
      ReplyActor$class.reply
      1. io.vamp.common.akka.ReplyMagnet$$anon$1.get(ReplyActor.scala:57)[vamp.jar:0.9.0]
      2. io.vamp.common.akka.ReplyActor$class.reply(ReplyActor.scala:22)[vamp.jar:0.9.0]
      2 frames
    9. io.vamp.persistence
      PersistenceActor$$anonfun$receive$1.applyOrElse
      1. io.vamp.persistence.db.ElasticsearchPersistenceActor.reply(ElasticsearchPersistenceActor.scala:25)[vamp.jar:0.9.0]
      2. io.vamp.persistence.db.PersistenceActor$$anonfun$receive$1.applyOrElse(PersistenceActor.scala:70)[vamp.jar:0.9.0]
      2 frames
    10. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:484)[vamp.jar:0.9.0]
      1 frame
    11. io.vamp.persistence
      ElasticsearchPersistenceActor.aroundReceive
      1. io.vamp.persistence.db.ElasticsearchPersistenceActor.aroundReceive(ElasticsearchPersistenceActor.scala:25)[vamp.jar:0.9.0]
      1 frame
    12. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[vamp.jar:0.9.0]
      2. akka.actor.ActorCell.invoke(ActorCell.scala:495)[vamp.jar:0.9.0]
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[vamp.jar:0.9.0]
      4. akka.dispatch.Mailbox.run(Mailbox.scala:224)[vamp.jar:0.9.0]
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)[vamp.jar:0.9.0]
      5 frames
    13. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[vamp.jar:0.9.0]
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[vamp.jar:0.9.0]
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[vamp.jar:0.9.0]
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[vamp.jar:0.9.0]
      4 frames