Getting SSl Error When using ckanapi with https hosted ckan applications
- Dominant language
- Python
- Stars
- 212
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
SSLError: HTTPSConnectionPool(host='qa-datacatalog.mhf.mhc', port=443): Max retries exceeded with url: /api/action/resource_show (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)'),))
As Stated in a solution in the issue ticket https://github.com/ckan/ckanapi/issues/51 -------- used request_kwargs={'verify':False} forcefully in ckan code file remoteCkan.py.
.action.()
This mode of accessing should be enhanced to also take in request_kwargs
for now only using call_action we can specify request_kwargs.
Does this request make sense
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in remoteCkan.py and trace the remoteCkanObj.action.actual_action() access path. Compare it with call_action, which the issue says already accepts request_kwargs, and verify how request_kwargs should be supplied for HTTPS calls. Done means the action access mode can receive request_kwargs, including the certificate-verification setting described in the issue, with tests or a reproducible check covering the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100