Closed auselen closed 9 years ago
@auselen Can you try using --api-key (not --app-key)? Does that solve the problem?
I tried a few combinations and none did work. However I tried it from a non-proxy network and it was ok. So I don't think I got the arguments wrong.
Hi @auselen, thanks for reporting. I'm looking into it and will report back the findings.
Hi @auselen, could you try setting environment variable HTTPS_PROXY
and then try to use the logsene
command.
You should set it to URL
of your company's https proxy server, e.g.
HTTPS_PROXY=https://your-ssl-proxy.com
The other thing I wanted to mention is that we don't use --app-key
for a while now. We did use it a while back, but it was since renamed to more intuitive --token
(and more distinctive when compared to --api-key
). So just make sure you're using the latest logsene-cli version, 1.3.1
, like this:
npm list -g --depth=0
If it's not 1.3.1
, you can then do:
npm update logsene-cli -g
And BTW, you don't need to set --token
explicitly, just use logsene search
and you'll get prompted to log in and then to choose the Logsene app you want to work with, which will pull down your --api-key
and --token
behind the scenes, and store it in your local logsene-cli session store.
Thanks
Hi, I just like to add that we use the "request" npm module and support the environment variables
in the following projects:
Thanks! request npm module hint helped. It looks like I had to set https_proxy to "http://" instead of "https://".
Great @auselen, thanks for the feedback :+1: And thank you @megastef for the hint. I'm starting to think you should be @gigasteph :)
I think I am not able to use logsene-cli because of the corporate proxy.
If I skip undefined print I get something like