[ 
https://issues.apache.org/jira/browse/APEXCORE-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pramod Immaneni resolved APEXCORE-517.
--------------------------------------
    Resolution: Fixed

> ApexCli is not working with Hadoop web services when BASIC authentication is 
> enabled
> ------------------------------------------------------------------------------------
>
>                 Key: APEXCORE-517
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-517
>             Project: Apache Apex Core
>          Issue Type: Improvement
>    Affects Versions: 3.4.0
>            Reporter: Pramod Immaneni
>            Assignee: Pramod Immaneni
>
> When BASIC authentication is enabled on Hadoop web services, ApexCLI fails to 
> connect with the errors shown below. This is because BASIC auth is not 
> currently supported. Add this support.
> Error: Authentication scheme Basic not supported
> 2016-xx-xx xx:xx:xx,xxx WARN com.datatorrent.stram.client.StramAgent: Caught 
> exception when retrieving web service info for app application_xxxx
> org.codehaus.jettison.json.JSONException: A JSONObject text must begin with 
> '{' at character 1 of <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>Error 401 Authentication required</title>
> </head>
> <body><h2>HTTP ERROR 401</h2>
> <p>Problem accessing /proxy/application_xxxxx/ws. Reason:
> <pre>    Authentication required</pre></p><hr /><i><small>Powered by 
> Jetty://</small></i><br/>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to