Open glenthomas opened 3 days ago
I'm not a Python dev and don't understand the dependency versioning nightmares of Python, but I'm guessing this is because requirements.txt contains httpie==3.2.2
and this PR needs merging and my brew install
gave me httpie 3.2.4?
Hi @glenthomas, thanks for reporting this issue. I was able to reproduce it and create internal ticket to fix it. We will inform you about progress.
Best regards, Konrad Rajda
Hi @KonradRajda, I think you just need to merge the existing PR and create a new release of this plugin.
Hi @glenthomas, we are planning to release new version of httpie-edgegrid end of Nov/beginning of Dec with changes regarding versions managment and a bug fix.
@lkowalsk-akamai-com the problem is, I have just installed httpie using homebrew (macos) and there is no way to install a previous version of httpie for use with this plugin, I just get the latest. Is there some way I can get this running with the current release of httpie-edgegrid?
Problem solved. I have installed using pip instead of Homebrew.
python -m pip install httpie
httpie cli plugins install httpie-edgegrid
Although, even after installing the plugin, it doesn't work...
% http --auth-type edgegrid -a default: :/alerts/v2/alert-definitions/a@cp_529099_3593/alert-firings
usage:
http -A/--auth-type {basic, digest, bearer} [METHOD] URL [REQUEST_ITEM ...]
error:
argument --auth-type/-A: invalid choice: 'edgegrid' (choose from 'basic',
'bearer', 'digest')
OK I've found the troubleshooting note about installing with pip instead. Now it recognises the plugin for auth-type, but fails on SSL verification:
http: error: SSLError: HTTPSConnectionPool(host='akab-5tq3rdx25xbs2zq5-o3dpzmufla273lr6.luna.akamaiapis.net', port=443): Max retries exceeded with url: /alerts/v2/alert-definitions/a@cp_129099_3593/alert-firings (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))) while doing a GET request to URL: https://akab-5tq3rdx25xbs2zq5-o3dpzmufla273lr6.luna.akamaiapis.net/alerts/v2/alert-definitions/a@cp_129099_3593/alert-firings
After running pip install pip-system-certs
I finally have this thing working. What a nightmare 😓
Describe the bug
Command
httpie cli plugins install httpie-edgegrid
fails to install the plugin.To Reproduce
Steps to reproduce the behavior:
httpie cli plugins install httpie-edgegrid
Expected behavior
Plugin installation succeeds
Screenshots
(Full log output below)
Please complete the following information:
Additional context