aboutcode-org / aboutcode-org/scancode.io

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

Open
#2,206 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
215
Forks
203
Avg merge
4d 8h
Merged PRs (30d)
6

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.