JuliaPy / JuliaPy/PythonCall.jl
SSL CERTIFICATE_VERIFY_FAILED
- Ngôn ngữ chính
- Julia
- Star
- 1.1k
- Fork
- 86
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
**Affects:** PythonCall
**Describe the bug**
After upgrading Julia to `1.12-rc`, it seems I could not connect to the remote server because of SSL fail (for package https://github.com/SciQLop/Speasy.jl).
However, this bug only appears locally, not in CI, which is very weird. I checked the cert paths from Python, and the result is different from the previous discussion #493 , so maybe they are related.
```
julia> using PythonCall
julia> @py import ssl
julia> ssl.get_default_verify_paths()
Python: DefaultVerifyPaths(cafile=None, capath=None, openssl_cafile_env='SSL_CERT_FILE', openssl_cafile='/workspace/destdir/ssl/cert.pem', openssl_capath_env='SSL_CERT_DIR', openssl_capath='/workspace/destdir/ssl/certs')
```
**Your system**
```
julia> versioninfo()
Julia Version 1.12.0-rc1
Commit 228edd6610b (2025-07-12 20:11 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin24.0.0)
CPU: 8 × Apple M1 Pro
LLVM: libLLVM-18.1.7 (ORCJIT, apple-m1)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 6 virtual cores)
```
```
julia> Pkg.status()
Project Speasy v0.4.2
Status `~/src/Speasy.jl/Project.toml`
[2569d6c7] ConcreteStructs v0.2.3
[992eb4ea] CondaPkg v0.2.29
[46f1a544] NanoDates v1.0.3
[6099a3de] PythonCall v0.9.26
[0b37b92c] SpaceDataModel v0.1.12
[10745b16] Statistics v1.11.1
[1986cc42] Unitful v1.24.0
[ade2ca70] Dates v1.11.0
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by reproducing the failure through PythonCall on Julia 1.12-rc1 and macOS, using the reported ssl.get_default_verify_paths() output as the initial entry point. Compare the certificate-path behavior with discussion #493 and the working CI environment; done means identifying and fixing the local SSL verification failure with a regression check.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100