ikvmnet / ikvm-maven

Support for adding dependencies on Maven artifacts to .NET projects, using IKVM.
MIT License
53 stars 5 forks source link

SocketException: Unrecognized Windows Sockets error: 11: connect #22

Closed superstrom closed 2 years ago

superstrom commented 2 years ago

I created a simple project with a MavenReference and a simple GitHub action to build it. (https://github.com/superstrom/PB) When the action is run by ubuntu-latest, I get a "SocketException: Unrecognized Windows Sockets error: 11: connect" error.

/home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : ArtifactTransferException: Could not transfer artifact org.apache.pdfbox:pdfbox:pom:2.0.27 from/to central (https://repo1.maven.org/maven2/): Unrecognized Windows Sockets error: 11: connect [/home/runner/work/PB/PB/PB/PB.csproj] /home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : [/home/runner/work/PB/PB/PB/PB.csproj] /home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : SocketException: Unrecognized Windows Sockets error: 11: connect [/home/runner/work/PB/PB/PB/PB.csproj] /home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : at org.eclipse.aether.transport.http.HttpTransporter.execute(HttpUriRequest , EntityGetter ) [/home/runner/work/PB/PB/PB/PB.csproj] /home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : at org.eclipse.aether.transport.http.HttpTransporter.implGet(GetTask ) [/home/runner/work/PB/PB/PB/PB.csproj] /home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : at org.eclipse.aether.spi.connector.transport.AbstractTransporter.get(GetTask task) [/home/runner/work/PB/PB/PB/PB.csproj] /home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : at org.eclipse.aether.connector.basic.BasicRepositoryConnector.GetTaskRunner.runTask() [/home/runner/work/PB/PB/PB/PB.csproj] /home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : at org.eclipse.aether.connector.basic.BasicRepositoryConnector.TaskRunner.run() [/home/runner/work/PB/PB/PB/PB.csproj] /home/runner/.nuget/packages/ikvm.maven.sdk/1.1.0/buildTransitive/netstandard2.0/IKVM.Maven.Sdk.targets(96,9): error : [/home/runner/work/PB/PB/PB/PB.csproj]

I don't know if this is a GitHub Actions issue, or an IKVM issue.

wasabii commented 2 years ago

https://github.com/ikvm-revived/ikvm/pull/103

wasabii commented 2 years ago

It is however a duplicate of #9