platformio-core: Max retries exceeded with url: /v3/packages/platformio/tool/tool-scons

We’ve a platformio build that runs every hour and has started failing since 4:19pm on Jun 30th:

I don;t think we have changed anything, could it be something at the platformio end? Any ideas?

Here’s a build log:

Running with gitlab-runner 14.5.2 (e91107dd)
   on New nGxj884L
Preparing the "shell" executor
00:00
 Using Shell executor...
Preparing environment
00:00
 Running on cq-ecl0[2](https://dev-gitlab.cryptoquantique.com/firmware-development/esp32_tc03_demo/-/jobs/40453#L2)...
Getting source from Git repository
00:06
 Fetching changes with git depth set to 50...
 Reinitialized existing Git repository in /home/gitlab-runner/builds/nGxj884L/0/firmware-development/esp[3](https://dev-gitlab.cryptoquantique.com/firmware-development/esp32_tc03_demo/-/jobs/40453#L3)2_tc03_demo/.git/
 Checking out db6ff930 as master...
 Skipping Git submodules setup
Executing "step_script" stage of the job script
01:[4](https://dev-gitlab.cryptoquantique.com/firmware-development/esp32_tc03_demo/-/jobs/40453#L4)5
 $ docker login -u "$QL_AZURE_CR_USERNAME" -p "$QL_AZURE_CR_PASSWORD" $QL_AZURE_CR_URL
 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
 WARNING! Your password will be stored unencrypted in /home/gitlab-runner/.docker/config.json.
 Configure a credential helper to remove this warning. See
 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
 Login Succeeded
 $ docker build -f ./deployments/Dockerfile-test -t esp32-tc03-test-image-$CI_COMMIT_SHORT_SHA .
 Step 1/5 : FROM quarklink.azurecr.io/basebuild_ebed:pio_v1.0
  ---> a379a3bd7[6](https://dev-gitlab.cryptoquantique.com/firmware-development/esp32_tc03_demo/-/jobs/40453#L6)eb
 Step 2/5 : RUN apt-get install openssh-client
  ---> Using cache
  ---> 4d[7](https://dev-gitlab.cryptoquantique.com/firmware-development/esp32_tc03_demo/-/jobs/40453#L7)c58360f84
 Step 3/5 : WORKDIR /app
  ---> Using cache
  ---> 3c72b40785ba
 Step 4/5 : COPY . .
  ---> bdc[9](https://dev-gitlab.cryptoquantique.com/firmware-development/esp32_tc03_demo/-/jobs/40453#L9)f3b644d9
 Step 5/5 : RUN chmod +x /app/deployments/build-artifact.sh
  ---> Running in 9aa62f658305
 Removing intermediate container 9aa62f658305
  ---> 00b77fb894ed
 Successfully built 00b77fb894ed
 Successfully tagged esp32-tc03-test-image-db6ff930:latest
 $ docker run -v /dev:/dev --privileged --name esp32-tc03-test-container-$CI_COMMIT_SHORT_SHA esp32-tc03-test-image-$CI_COMMIT_SHORT_SHA sh -c "platformio test --upload-port /dev/ttyUSB0 --test-port /dev/ttyUSB0"
 Verbose mode can be enabled via `-v, --verbose` option
 Collected 1 items
 Processing * in heltec_wifi_kit_32 environment
 --------------------------------------------------------------------------------
 Building...
 Tool Manager: Installing platformio/tool-scons @ ~4.40200.0
 Error: HTTPSConnectionPool(host='api.registry.ns1.platformio.org', port=443): Max retries exceeded with url: /v3/packages/platformio/tool/tool-scons (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f1f68a2adc0>, 'Connection to api.registry.ns1.platformio.org timed out. (connect timeout=[10](https://dev-gitlab.cryptoquantique.com/firmware-development/esp32_tc03_demo/-/jobs/40453#L10))'))

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 23 (13 by maintainers)

Most upvoted comments

Working again,

Thank you for your help and support.

Best Regards

[CQ_logo]https://video.wixstatic.com/video/68379b_8883894bdbb649708251ed48b1806b27/720p/mp4/file.mp4

Greg Product Engineering Manager

m: +44 7967 388967tel:+447827820250 e: https://www.cryptoquantique.com/ @.@.> w: www.cryptoquantique.comhttps://www.cryptoquantique.com/

Crypto Quantique Limited | London @.***,-0.1025479,17z/data=!3m1!4b1!4m5!3m4!1s0x487605189bfa826b:0x60678a50bc1e1a7d!8m2!3d51.5038438!4d-0.1003592?hl=en%20>

Connect with us:LinkedInhttps://www.linkedin.com/company/crypto-quantique/


From: Ivan Kravets @.> Sent: 11 July 2022 12:25 To: platformio/platformio-core @.> Cc: Greg Smith @.>; Manual @.> Subject: [EXTERNAL]: Re: [platformio/platformio-core] Max retries exceeded with url: /v3/packages/platformio/tool/tool-scons (Issue #4341)

CAUTION:This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Done! Please check that you use the latest PlatformIO 6.1.1 or above and map the container’s ~/.platformio folder to the external folder on the host machine. Run a few times docker container and ensure that you don’t see package redownloading on each “build”.

— Reply to this email directly, view it on GitHubhttps://github.com/platformio/platformio-core/issues/4341#issuecomment-1180280495, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2AEIRNFQXSNGDHDNJF4KULVTQABHANCNFSM52QN4X4Q. You are receiving this because you are subscribed to this thread.Message ID: @.***>