aboutcode-org / aboutcode-org/scancode.io

Delivery Error in scan_single_package: No connection adapters were found for '/notifications/send_scan_notification/

Đang mở
#2,206 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
215
Fork
203
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
6

Mô tả

**Describe the bug**

I ran the scan_single_package workflow on Scancode.io. The workflow succeeds but returns a Delivery Error.

**Delivery error**
> No connection adapters were found for '/notifications/send_scan_notification/ImJiMjQyZmYzLTliNjAtNDEzYi1hMjgyLWNiY2JmZmY5YTg0ZiI:1wuxT9:Kz5ulwUZqqpSPVbvLqO3PjDN60Bvmy4HBPyIxl_41K8/'

**System configuration**
- Which version of ScanCode.io are you running? v37.1.0
- Are you running the app using Docker? Yes
- On which OS? Debian, using Podman
- What inputs are you using? Dejacode triggered scan for pkg:golang/golang.org/x/crypto@v0.53.0 but also happens for other packages.
- Which pipeline are you running? scan_single_packages

Docker compose config used: https://codeberg.org/nicorikken/aboutcode-locally/src/commit/e8b9cff8afd392262b5209d6205e24560f0c4d91

I thought that perhaps it could be related to https://github.com/aboutcode-org/dejacode/issues/139 so I added the `SITE_URL=http://127.0.0.1:8001/` with the port of scancode.io, but that didn't change anything.

**To Reproduce**

Scanned package was https://proxy.golang.org/golang.org/x/crypto/@v/v0.53.0.zip
Was triggered from Dejacode product inventory to scan a package added by importing an SBOM.

Docker compose config used: https://codeberg.org/nicorikken/aboutcode-locally/src/commit/e8b9cff8afd392262b5209d6205e24560f0c4d91

Steps to reproduce the behavior:
1. Go to DejaCode, import an SBOM in a product with a package like pkg:golang/golang.org/x/crypto@v0.53.0
2. Click on Scan in DejaCode.
3. See the scann apear in Scancode.io
4. The scan succeeds
5. The delivery error shows
**Expected behavior**
I would expect no errors.

**Screenshots**
If applicable, add screenshots to help explain your problem.

Pipeline in Scancode.io:
Image

Dejacode inventory overview with scan result:
Image

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.