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

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

Thanks but that hasn’t brought up anything new.

The only new info I have is that if I call REST_GET more than a few times in a 
row, the command starts timing out.

It’s a though the command just isn’t finishing.

Regards,
Tobin

From: Ryan Merriman (JIRA) <[email protected]>
Sent: 06 March 2019 13:34
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=16785637#comment-16785637<https://issues.apache.org/jira/browse/METRON-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785637#comment-16785637>
 ]

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

You can enable debug logging in the Stellar shell with a custom 
"log4j.properties" file.  The command is then:
{code:java}
/usr/metron/0.7.1/bin/stellar --zookeeper node1:2181 --log4j 
/tmp/log4j.properties {code}
Here is what mine looks like:
{code:java}
log4j.logger.org.apache.metron=DEBUG, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss.SSS} 
%-5p [%c] - %m%n{code}




--
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