Frontend compilation fails when i start penpot devenv

i am getting the below error when i start the docker env for the first time.

Here is what i did:

$./manage.sh stop-devenv

#cleanup
docker rm $(docker ps -qa --no-trunc --filter "status=exited")
docker volume rm penpotdev_minio_data penpotdev_user_data penpotdev_postgres_data

$./manage.sh run-devenv

What i expected: there should be no error downloading the artifacts at startup

What i get on the 1:shadow watch* tmux cnsole

penpot@17f87e54895b:~$ cd penpot/frontend
penpot@17f87e54895b:~/penpot/frontend$ 
penpot@17f87e54895b:~/penpot/frontend$ clojure -M:dev:shadow-cljs watch main
Downloading: org/clojure/tools.namespace/maven-metadata.xml from central
Downloading: org/clojure/tools.namespace/1.3.0/tools.namespace-1.3.0.pom from central
Downloading: org/clojure/pom.contrib/1.1.0/pom.contrib-1.1.0.pom from central
Downloading: cider/cider-nrepl/0.28.3/cider-nrepl-0.28.3.pom from clojars
Downloading: instaparse/instaparse/1.4.10/instaparse-1.4.10.pom from clojars
Downloading: funcool/tubax/2021.05.20-0/tubax-2021.05.20-0.pom from clojars
Downloading: funcool/okulary/2022.04.11-16/okulary-2022.04.11-16.pom from clojars
Downloading: garden/garden/1.3.10/garden-1.3.10.pom from clojars
Downloading: funcool/rumext/2022.04.19-148/rumext-2022.04.19-148.pom from clojars
Downloading: funcool/potok/2022.04.28-67/potok-2022.04.28-67.pom from clojars
Downloading: metosin/reitit-core/0.5.17/reitit-core-0.5.17.pom from clojars
Downloading: com/google/javascript/closure-compiler-main/v20220202/closure-compiler-main-v20220202.pom from central
Downloading: org/sonatype/oss/oss-parent/9/oss-parent-9.pom from central
Downloading: com/yahoo/platform/yui/yuicompressor/2.4.8/yuicompressor-2.4.8.pom from central
Downloading: org/clojure/java.classpath/1.0.0/java.classpath-1.0.0.pom from central
Downloading: thheller/shadow-undertow/0.2.0/shadow-undertow-0.2.0.pom from clojars
Downloading: hiccup/hiccup/1.0.5/hiccup-1.0.5.pom from clojars
Downloading: thheller/shadow-cljsjs/0.0.22/shadow-cljsjs-0.0.22.pom from clojars
Downloading: com/bhauman/cljs-test-display/0.1.1/cljs-test-display-0.1.1.pom from clojars
Downloading: thheller/shadow-client/1.3.3/shadow-client-1.3.3.pom from clojars
Downloading: cider/piggieback/0.5.3/piggieback-0.5.3.pom from clojars
Downloading: lambdaisland/uri/1.13.95/uri-1.13.95.pom from clojars
Downloading: meta-merge/meta-merge/1.0.0/meta-merge-1.0.0.pom from clojars
Downloading: commons-codec/commons-codec/1.15/commons-codec-1.15.pom from central
Downloading: org/wildfly/client/wildfly-client-config/1.0.1.Final/wildfly-client-config-1.0.1.Final.pom from central
Downloading: org/wildfly/common/wildfly-common/1.5.2.Final/wildfly-common-1.5.2.Final.pom from central
Downloading: org/jboss/jboss-parent/23/jboss-parent-23.pom from central
Error building classpath. Failed to read artifact descriptor for commons-codec:commons-codec:jar:1.15
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for commons-codec:commons-codec:jar:1.15
        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:259)
        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:175)
        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:255)
        at clojure.tools.deps.alpha.extensions.maven$read_descriptor.invokeStatic(maven.clj:115)
        at clojure.tools.deps.alpha.extensions.maven$fn__1137.invokeStatic(maven.clj:143)
        at clojure.tools.deps.alpha.extensions.maven$fn__1137.invoke(maven.clj:143)
        at clojure.lang.MultiFn.invoke(MultiFn.java:244)
        at clojure.tools.deps.alpha$expand_deps$children_task__773$fn__775$fn__776.invoke(alpha.clj:405)
        at clojure.tools.deps.alpha.util.concurrent$submit_task$task__481.invoke(concurrent.clj:35)
        at clojure.lang.AFn.call(AFn.java:18)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact commons-codec:commons-codec:pom:1.15 from/to central (https://repo1.maven.org/maven2/): /home/penpot/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.pom.part (No such file or directory)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:425)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:229)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:207)
        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:244)
        ... 13 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact commons-codec:commons-codec:pom:1.15 from/to central (https://repo1.maven.org/maven2/): /home/penpot/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.pom.part (No such file or directory)
        at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:52)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:369)
        at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:75)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:628)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:262)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:514)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:402)
        ... 16 more
Caused by: java.io.FileNotFoundException: /home/penpot/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.pom.part (No such file or directory)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
        at org.eclipse.aether.internal.impl.DefaultFileProcessor.copy(DefaultFileProcessor.java:163)
        at org.eclipse.aether.internal.impl.DefaultFileProcessor.copy(DefaultFileProcessor.java:151)
        at org.eclipse.aether.internal.impl.DefaultFileProcessor.move(DefaultFileProcessor.java:252)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:482)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:364)
        ... 21 more

Hello @ymolists

Is this still happening today?

This is what i got just now.

Downloading: org/ow2/asm/asm/9.2/asm-9.2.pom from central
Downloading: org/msgpack/msgpack/0.6.12/msgpack-0.6.12.pom from central
Downloading: javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.pom from central
Downloading: org/clojure/core.memoize/1.0.253/core.memoize-1.0.253.pom from central
Downloading: org/clojure/tools.analyzer/1.1.0/tools.analyzer-1.1.0.pom from central
Downloading: org/ow2/ow2/1.5/ow2-1.5.pom from central
Downloading: javax/xml/bind/jaxb-api-parent/2.3.0/jaxb-api-parent-2.3.0.pom from central
Downloading: org/jboss/logging/jboss-logging/3.4.1.Final/jboss-logging-3.4.1.Final.pom from central
Downloading: net/java/jvnet-parent/5/jvnet-parent-5.pom from central
Downloading: org/jboss/threads/jboss-threads/3.1.0.Final/jboss-threads-3.1.0.Final.pom from central
Downloading: org/jboss/xnio/xnio-nio/3.8.0.Final/xnio-nio-3.8.0.Final.pom from central
Downloading: commons-codec/commons-codec/1.15/commons-codec-1.15.pom from central
Downloading: com/fasterxml/oss-parent/43/oss-parent-43.pom from central
Downloading: org/jboss/jboss-parent/34/jboss-parent-34.pom from central
Downloading: org/jboss/jboss-parent/36/jboss-parent-36.pom from central
Downloading: org/jboss/xnio/xnio-all/3.8.0.Final/xnio-all-3.8.0.Final.pom from central
Downloading: org/jboss/xnio/xnio-api/3.8.0.Final/xnio-api-3.8.0.Final.pom from central
Error building classpath. Failed to read artifact descriptor for org.graalvm.sdk:graal-sdk:jar:22.0.0.2
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.graalvm.sdk:graal-sdk:jar:22.0.0.2
        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:259)
        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:175)
        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:255)
        at clojure.tools.deps.alpha.extensions.maven$read_descriptor.invokeStatic(maven.clj:115)
        at clojure.tools.deps.alpha.extensions.maven$fn__1137.invokeStatic(maven.clj:143)
        at clojure.tools.deps.alpha.extensions.maven$fn__1137.invoke(maven.clj:143)
        at clojure.lang.MultiFn.invoke(MultiFn.java:244)
        at clojure.tools.deps.alpha$expand_deps$children_task__773$fn__775$fn__776.invoke(alpha.clj:405)
        at clojure.tools.deps.alpha.util.concurrent$submit_task$task__481.invoke(concurrent.clj:35)
        at clojure.lang.AFn.call(AFn.java:18)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.graalvm.sdk:graal-sdk:pom:22.0.0.2 from/to central (https://repo1.maven.org/maven2/): /home/penpot/.m2/repository/org/graalvm/sdk/graal-sdk/22.0.0.2/graal-sdk-22.0.0.2.pom.part (No such file or directory)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:425)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:229)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:207)
        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:244)
        ... 13 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.graalvm.sdk:graal-sdk:pom:22.0.0.2 from/to central (https://repo1.maven.org/maven2/): /home/penpot/.m2/repository/org/graalvm/sdk/graal-sdk/22.0.0.2/graal-sdk-22.0.0.2.pom.part (No such file or directory)
        at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:52)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:369)
        at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:75)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:628)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:262)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:514)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:402)
        ... 16 more
Caused by: java.io.FileNotFoundException: /home/penpot/.m2/repository/org/graalvm/sdk/graal-sdk/22.0.0.2/graal-sdk-22.0.0.2.pom.part (No such file or directory)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
        at org.eclipse.aether.internal.impl.DefaultFileProcessor.copy(DefaultFileProcessor.java:163)
        at org.eclipse.aether.internal.impl.DefaultFileProcessor.copy(DefaultFileProcessor.java:151)
        at org.eclipse.aether.internal.impl.DefaultFileProcessor.move(DefaultFileProcessor.java:252)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:482)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:364)
        ... 21 more
penpot@320088ab89df:~/penpot/frontend$ 

It sounds like you are having some network issues when downloading the artifacts from the mvn repository