[ 
https://issues.apache.org/jira/browse/METRON-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784564#comment-16784564
 ] 

Ryan Merriman commented on METRON-2024:
---------------------------------------

I just tested in master and it worked with this endpoint:
{code:java}
curl -u user:password -X GET "http://httpbin.org/basic-auth/user/password"; -H 
"accept: application/json"{code}
Happy to help you troubleshoot further if you want to work through a use case.

> REST_GET function ignoring Basic Auth settings
> ----------------------------------------------
>
>                 Key: METRON-2024
>                 URL: https://issues.apache.org/jira/browse/METRON-2024
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Tobin
>            Priority: Major
>
> In Zeppelin:
> %stellar
> swagger_conf := \{ "basic.auth.user": "admin", "basic.auth.password.path": 
> "/user/zeppelin/swagger_pass" }
> REST_GET("http://metron.node:8082/api/v1/sensor/enrichment/config/bro";, 
> swagger_conf)
> It returns with no response and no error.
>  
> Zeppelin logs show the normal "status 401" and "unauthorized" messages from 
> Swagger.
> tcpdump shows no "Authorization" header in the request.
>  
> I can't find anything else in the zeppelin, metron-rest, etc logs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to