java.lang.RuntimeException

Error starting query at https://10.103.179.34:8080/v1/statement returned an invalid response: JsonResponse{statusCode=401, statusMessage=Unauthorized, headers={Content-Length=[0], Date=[Wed, 07 Sep 2016 20:11:08 GMT], WWW-Authenticate=[Negotiate realm="presto"]}, hasValue=false, value=null} [Error: ]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web33319

  • via Google Groups by Vyaas V.S, 10 months ago
    Error starting query at https://10.103.179.34:8080/v1/statement returned an invalid response: JsonResponse{statusCode=401, statusMessage=Unauthorized, headers={Content-Length=[0], Date=[Wed, 07 Sep 2016 20:11:08 GMT], WWW-Authenticate=[Negotiate realm="presto"]}, hasValue=false, value=null} [Error: ]
  • Error starting query at http://localhost:8080/v1/statement returned an invalid response: JsonResponse{statusCode=400, statusMessage=Bad Request, headers={Content-Length=[32], Date=[Mon, 02 Nov 2015 04:28:18 GMT], Content-Type=[text/plain]}, hasValue=false, value=null}
  • Error fetching next at http://shared-presto-coordinator.companyname.com:8080/v1/statement/20160411_220449_14662_9nn7q/5 returned an invalid response: JsonResponse{statusCode=200, statusMessage=OK, headers={Content-Encoding=[gzip], Transfer-Encoding
  • Stack trace

    • java.lang.RuntimeException: Error starting query at https://10.103.179.34:8080/v1/statement returned an invalid response: JsonResponse{statusCode=401, statusMessage=Unauthorized, headers={Content-Length=[0], Date=[Wed, 07 Sep 2016 20:11:08 GMT], WWW-Authenticate=[Negotiate realm="presto"]}, hasValue=false, value=null} [Error: ] at com.facebook.presto.client.StatementClient.requestFailedException(StatementClient.java:344) at com.facebook.presto.client.StatementClient.<init>(StatementClient.java:118) at com.facebook.presto.cli.QueryRunner.startInternalQuery(QueryRunner.java:82) at com.facebook.presto.cli.QueryRunner.startQuery(QueryRunner.java:77) at com.facebook.presto.cli.Console.process(Console.java:298) at com.facebook.presto.cli.Console.runConsole(Console.java:239) at com.facebook.presto.cli.Console.run(Console.java:144) at com.facebook.presto.cli.Presto.main(Presto.java:32)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.