Skip to content

SSL certs and wrong ip retrival #34

@saleemalharir1

Description

@saleemalharir1
2025-12-22 16:08:32 [INFO] api.tasks.metrics_task: {"public_ip": "155.98.131.0", "cpu": "4.0%", "memory": "11.2GB/31.3GB", "disk": "53.1GB/390.1GB", "version": "0.5.0", "organization": "SCI-Utah", "ep_name": "Saleem_Test_Dec", "num_datasets": 0, "num_services": 0, "services": [], "timestamp": "2025-12-22T16:08:32.669941Z"}

the ip that is being reported is not correct

2025-12-22 16:08:32 [ERROR] api.services.status_services.system_metrics: Error counting datasets: HTTPSConnectionPool(host='10.244.2.200', port=8443): Max retries exceeded with url: /api/action/package_search (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1032)')))

also the internal functions to count the datasets and anything with ckan need to have the verify = false as a default

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions