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

Tobin commented on METRON-2024:
-------------------------------

How did you invoke it in Stellar?

Thanks,
Tobin

From: Ryan Merriman (JIRA) <[email protected]>
Sent: 05 March 2019 15:31
To: Landricombe, Tobin <[email protected]>
Subject: [jira] [Commented] (METRON-2024) REST_GET function ignoring Basic Auth 
settings


[ 
https://issues.apache.org/jira/browse/METRON-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784564#comment-16784564<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<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.




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

________________________________________
Roke Manor Research Limited, Romsey, Hampshire, SO51 0ZN, United Kingdom.Part 
of the Chemring Group. 
Registered in England & Wales. Registered No: 00267550
http://www.roke.co.uk
_______________________________________
The information contained in this e-mail and any attachments is proprietary to 
Roke Manor Research Limited and 
must not be passed to any third party without permission. This communication is 
for information only and shall 
not create or change any contractual relationship.
________________________________________


> 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