dotnet restore fails in docker on 1 wifi, ok others
up vote
0
down vote
favorite
I have a local build of my dotnet core app that runs in the microsoft/dotnet:2.1-sdk image. The dotnet restore part of this works perfectly fine on most connections but there is 1 wifi connection where I work and I get errors like:
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/index.json'.
The SSL connection could not be established, see inner exception.
Authentication failed because the remote party has closed the transport stream.
If I try using curl to get the json file by manually running the image, it works ok:
PS C:DevsrcDeployment> docker run -it 6baac bash
root@99660525f031:/# curl https://api.nuget.org/v3-
flatcontainer/system.buffers/index.json --ssl
{
"versions": [
"4.0.0-rc2-24027",
"4.0.0",
...
I tried to 'forget' the connection and re-establish it. Ive tried re-installing Docker. Ive tried standing on my head. Nothing seems to work - unless I move to another location and use an different wifi connection (or my docking station which I left in another country).
Does this make any sense to anyone??
docker .net-core nuget wificonfiguration
add a comment |
up vote
0
down vote
favorite
I have a local build of my dotnet core app that runs in the microsoft/dotnet:2.1-sdk image. The dotnet restore part of this works perfectly fine on most connections but there is 1 wifi connection where I work and I get errors like:
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/index.json'.
The SSL connection could not be established, see inner exception.
Authentication failed because the remote party has closed the transport stream.
If I try using curl to get the json file by manually running the image, it works ok:
PS C:DevsrcDeployment> docker run -it 6baac bash
root@99660525f031:/# curl https://api.nuget.org/v3-
flatcontainer/system.buffers/index.json --ssl
{
"versions": [
"4.0.0-rc2-24027",
"4.0.0",
...
I tried to 'forget' the connection and re-establish it. Ive tried re-installing Docker. Ive tried standing on my head. Nothing seems to work - unless I move to another location and use an different wifi connection (or my docking station which I left in another country).
Does this make any sense to anyone??
docker .net-core nuget wificonfiguration
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a local build of my dotnet core app that runs in the microsoft/dotnet:2.1-sdk image. The dotnet restore part of this works perfectly fine on most connections but there is 1 wifi connection where I work and I get errors like:
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/index.json'.
The SSL connection could not be established, see inner exception.
Authentication failed because the remote party has closed the transport stream.
If I try using curl to get the json file by manually running the image, it works ok:
PS C:DevsrcDeployment> docker run -it 6baac bash
root@99660525f031:/# curl https://api.nuget.org/v3-
flatcontainer/system.buffers/index.json --ssl
{
"versions": [
"4.0.0-rc2-24027",
"4.0.0",
...
I tried to 'forget' the connection and re-establish it. Ive tried re-installing Docker. Ive tried standing on my head. Nothing seems to work - unless I move to another location and use an different wifi connection (or my docking station which I left in another country).
Does this make any sense to anyone??
docker .net-core nuget wificonfiguration
I have a local build of my dotnet core app that runs in the microsoft/dotnet:2.1-sdk image. The dotnet restore part of this works perfectly fine on most connections but there is 1 wifi connection where I work and I get errors like:
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/index.json'.
The SSL connection could not be established, see inner exception.
Authentication failed because the remote party has closed the transport stream.
If I try using curl to get the json file by manually running the image, it works ok:
PS C:DevsrcDeployment> docker run -it 6baac bash
root@99660525f031:/# curl https://api.nuget.org/v3-
flatcontainer/system.buffers/index.json --ssl
{
"versions": [
"4.0.0-rc2-24027",
"4.0.0",
...
I tried to 'forget' the connection and re-establish it. Ive tried re-installing Docker. Ive tried standing on my head. Nothing seems to work - unless I move to another location and use an different wifi connection (or my docking station which I left in another country).
Does this make any sense to anyone??
docker .net-core nuget wificonfiguration
docker .net-core nuget wificonfiguration
asked 16 hours ago
Jonesie
2,45953051
2,45953051
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53203266%2fdotnet-restore-fails-in-docker-on-1-wifi-ok-others%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password