Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Prometheus PVE Exporter: Add --default-timeout=300 to pip install commands #1950

Merged

Conversation

andygrunwald
Copy link
Contributor

✍️ Description

Fixing the error

✔️  Setup Python3
⠹  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82eea50>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠙  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82ef050>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠇  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82ef850>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠸  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de843b350>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠇  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82f0550>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠸ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82f0b90>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)'))

⠼
[ERROR] in line 31: exit code 0: while executing command python3 -m pip install --quiet --root-user-action=ignore prometheus-pve-exporter


✅ Prerequisites

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • [] Testing performed (I have thoroughly tested my changes and verified expected functionality.)

🛠️ Type of Change

  • Bug fix (non-breaking change that resolves an issue)
  • [] New feature (non-breaking change that adds functionality)
  • [] Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • [] New script (a fully functional and thoroughly tested script or set of scripts)

📋 Additional Information (optional)

None

@andygrunwald andygrunwald requested a review from a team as a code owner February 2, 2025 18:31
@github-actions github-actions bot added the update script A change that updates a script label Feb 2, 2025
Copy link
Member

@MickLesk MickLesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@MickLesk MickLesk merged commit 19911f5 into community-scripts:main Feb 2, 2025
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
update script A change that updates a script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants