aboutcode-org / aboutcode-org/scancode.io

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

Abierto
#2,206 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
215
Forks
203
Merge medio
4 d 8 h
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.