Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

install-tool don't work (through proxy?) anymore #1237

Closed
Wurstnase opened this issue Jul 26, 2023 · 0 comments · Fixed by #1243
Closed

install-tool don't work (through proxy?) anymore #1237

Wurstnase opened this issue Jul 26, 2023 · 0 comments · Fixed by #1243
Assignees
Labels
priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation type:bug Bug fix of existing functionality

Comments

@Wurstnase
Copy link

Issue started in discussion -> renovatebot/renovate#23556

Was this something which used to work for you, and then stopped?

It used to work, and then stopped

Describe the problem

With renovate:36.18.3 I was able to use the install-tool to install python.

I use a proxy, which may be related to this issue.

FROM renovate/renovate:36.18.4

USER root

# renovate: datasource=github-releases depName=containerbase/python-prebuild
ENV PYTHON_VERSION="3.10.12"
RUN install-tool python ${PYTHON_VERSION}

USER 1000
docker build --build-arg http_proxy='myproxy' --build-arg https_proxy='myproxy' --build-arg no_proxy='internal.urls' renovate:custom .

Relevant debug logs

Logs
[10:13:45.642] INFO (1): Installing tool python v3.10.12...
installing v2 tool python v3.10.12
[10:13:46.094] INFO (41): Downloading file ...
    url: "https://github.com/containerbase/python-prebuild/releases/download/3.10.12/python-3.10.12-focal-x86_64.tar.xz.sha512"
    output: "/tmp/b606cd1b1235545b9540985a5f5f9e25d66b3c26783456c3c3a13c7a9c1185e4/python-3.10.12-focal-x86_64.tar.xz.sha512"
[10:15:58.270] FATAL (41): connect ETIMEDOUT 140.82.121.4:443
    err: {
      "type": "RequestError",
      "message": "connect ETIMEDOUT 140.82.121.4:443",
      "stack":
          RequestError: connect ETIMEDOUT 140.82.121.4:443
              at ClientRequest.<anonymous> (/snapshot/dist/containerbase-cli.js:37024:94)
              at Object.onceWrapper (node:events:652:26)
              at ClientRequest.emit (node:events:549:35)
              at TLSSocket.socketErrorListener (node:_http_client:465:9)
              at TLSSocket.emit (node:events:537:28)
              at emitErrorNT (node:internal/streams/destroy:151:8)
              at emitErrorCloseNT (node:internal/streams/destroy:116:3)
              at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
              at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1237:16)
      "code": "ETIMEDOUT",
      "timings": {
        "start": 1690280026110,
        "socket": 1690280026113,
        "lookup": 1690280026113,
        "error": 1690280158264,
        "phases": {
          "wait": 3,
          "dns": 0,
          "total": 132154
        }
      },
      "name": "RequestError",
      "options": {
        "agent": {},
        "decompress": true,
        "timeout": {},
        "prefixUrl": "",
        "ignoreInvalidCookies": false,
        "context": {},
        "hooks": {
          "init": [],
          "beforeRequest": [],
          "beforeError": [],
          "beforeRedirect": [],
          "beforeRetry": [],
          "afterResponse": []
        },
        "followRedirect": true,
        "maxRedirects": 10,
        "throwHttpErrors": true,
        "username": "",
        "password": "",
        "http2": false,
        "allowGetBody": false,
        "headers": {
          "user-agent": "got (https://github.com/sindresorhus/got)",
          "accept-encoding": "gzip, deflate, br"
        },
        "methodRewriting": false,
        "retry": {
          "limit": 2,
          "methods": [
            "GET",
            "PUT",
            "HEAD",
            "DELETE",
            "OPTIONS",
            "TRACE"
          ],
          "statusCodes": [
            408,
            413,
            429,
            500,
            502,
            503,
            504,
            521,
            522,
            524
          ],
          "errorCodes": [
            "ETIMEDOUT",
            "ECONNRESET",
            "EADDRINUSE",
            "ECONNREFUSED",
            "EPIPE",
            "ENOTFOUND",
            "ENETUNREACH",
            "EAI_AGAIN"
          ],
          "backoffLimit": null,
          "noise": 100
        },
        "method": "GET",
        "cacheOptions": {},
        "https": {},
        "resolveBodyOnly": false,
        "isStream": true,
        "responseType": "text",
        "url": "https://github.com/containerbase/python-prebuild/releases/download/3.10.12/python-3.10.12-focal-x86_64.tar.xz.sha512",
        "pagination": {
          "countLimit": null,
          "backoff": 0,
          "requestLimit": 10000,
          "stackAllItems": false
        },
        "setHost": true,
        "enableUnixSockets": false
      }
    }
[10:15:58.272] INFO (41): Download completed with errors  in 2m 12.1s.
Download failed: https://github.com/containerbase/python-prebuild/releases/download/3.10.12/python-3.10.12-focal-x86_64.tar.xz.sha512

@viceice viceice added type:bug Bug fix of existing functionality priority-2-important User-visible bugs or very important features status:ready Ready to start implementation labels Jul 26, 2023
@viceice viceice self-assigned this Jul 26, 2023
@viceice viceice added status:in-progress Someone is working on implementation and removed status:ready Ready to start implementation labels Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation type:bug Bug fix of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants