Skip to content

Python issues unless container is set to use proxy server #87

@sir-bogbrush

Description

@sir-bogbrush

**This is a follow-up to issue #83 as it seems I have a similar but different problem again now with the latest / more recent builds. After 1 failed job the web interface says python version n/a.

When running with no proxy set in docker-compose:**

docker-compose run netdisco-do -D stats
[+] Creating 1/0
✔ Container netdisco-netdisco-postgresql-1 Running
[1] 2025-10-14 15:50:49 info App::Netdisco version 2.091001 loaded.
[1] 2025-10-14 15:50:49 info stats: started at Tue Oct 14 15:50:49 2025
[1] 2025-10-14 15:50:49 debug stats: running with timeout 600s
[1] 2025-10-14 15:50:49 debug //// CHECK \\ phase
[1] 2025-10-14 15:50:49 debug ⮕ worker Internal::BackendFQDN p1000000
[1] 2025-10-14 15:50:49 debug ⮕ worker Internal::SNMPFastDiscover p1000000
[1] 2025-10-14 15:50:49 debug running with configured SNMP timeouts
[1] 2025-10-14 15:50:49 debug //// EARLY \\ phase
[1] 2025-10-14 15:50:49 debug ⮕ worker PythonShim netdisco.worklet.stats.early p0
[1] 2025-10-14 15:50:49 debug 🐍 starting persistent Python worklet subprocess
[1] 2025-10-14 15:52:53 debug � Failed to build netdisco @ � file:///home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/python/netdisco
��� Failed to resolve requirements from build-system.requires
��� No solution found when resolving: uv-build>=0.8.22, <0.9.0
��� Failed to fetch: https://pypi.org/simple/uv-build/
��� Request failed after 3 retries
��� error sending request for url (https://pypi.org/simple/uv-build/)
��� operation timed out
[1] 2025-10-14 15:52:53 debug -> process ended prematurely at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/Python.pm line 90.
[1] 2025-10-14 15:52:53 debug ⬅ (error) process ended prematurely at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/Python.pm line 90.

[1] 2025-10-14 15:52:53 debug //// MAIN \\ phase
[1] 2025-10-14 15:52:53 debug ⮕ worker Stats p0
[1] 2025-10-14 15:52:55 debug ⬅ (done) Updated statistics
[1] 2025-10-14 15:52:55 info stats: finished at Tue Oct 14 15:52:55 2025
[1] 2025-10-14 15:52:55 info stats: status error: process ended prematurely at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/Python.pm line 90.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions