View Issue Details

IDProjectCategoryView StatusLast Update
0003355OpenFOAMBugpublic2019-09-27 23:28
Reportermeshak Assigned Tohenry  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Summary0003355: Unable to install OpenFOAM 7 on WIndows 10 using the latest stable Ubuntu LTS release on windows store
DescriptionI am following the steps given in https://openfoam.org/download/windows-10/ to install openFOAM 7.

I am using the latest stable Ubuntu LTS release on windows.

When entering the command line: sudo sh -c "wget -O - http://dl.openfoam.org/gpg.key | apt-key add -
I get an error:

Resolving dl.openfoam.org (dl.openfoam.org)... 52.208.208.42
Connecting to dl.openfoam.org (dl.openfoam.org)|52.208.208.42|:443... failed: Resource temporarily unavailable.

In terms of memory, I have around 130GB available on my hard-drive.

TagsNo tags attached.

Activities

tniemi

2019-09-26 14:58

reporter   ~0010774

Hi,

Have you tried to run that command again? I tested it right now and it worked for me. The error sounds like there has been a temporary problem connecting to dl.openfoam.org. The gpg.key-file is a very small text-file.

meshak

2019-09-26 22:20

reporter   ~0010775

Hello,

Yes, I've tried it again. Its still not working. Could it be any other limit, like filecount or processes?

tniemi

2019-09-27 04:19

reporter   ~0010776

Filecount or process limit doesn't sound likely, as the error is coming from wget and it says there is a network error. As the dl.openfoam.org is online, there has to be some firewall or other problem preventing network access.

You could first try to go to http://dl.openfoam.org with your browser (from Windows) to see that you can access it. Then you could try to "wget www.google.com" or some other common address to make sure you have network access from the WSL. If these fail, there is a network problem somewhere. If they work, then "wget http://dl.openfoam.org/gpg.key" should also work.

wyldckat

2019-09-27 11:23

updater   ~0010777

I didn't manage to look into this sooner and I vaguely remember having seen this issue before. If you search online for:

   wsl "failed: Resource temporarily unavailable."

You'll find that the problem is likely related to the Ubuntu system running on WSL is unable to connect to the Internet. This can be due to multiple issues, ranging from using Proxy, 3rd party Firewall or even if UFW was installed in Ubuntu and was constrained to only access the Internet in special situations.

@meshak: Is your machine connecting to the Internet via Proxy and/or is there a 3rd party firewall (namely one that doesn't come with Windows) installed in your machine?

wyldckat

2019-09-27 21:30

updater   ~0010779

I've investigated this a bit further and there seem to be two additional possibilities:

1. Might need rebooting/restarting the Windows machine, or manually restart the LxssManager service: https://github.com/microsoft/WSL/issues/634#issuecomment-230862990

2. If you are using the Kasperky AntiVirus with firewall capabilities, see these instructions: https://github.com/Microsoft/WSL/issues/2690#issuecomment-456120526

@meshak: Please let us know if any of these issues/solutions work or don't work for you.

henry

2019-09-27 23:27

manager   ~0010781

User support request.

Issue History

Date Modified Username Field Change
2019-09-25 12:24 meshak New Issue
2019-09-26 14:58 tniemi Note Added: 0010774
2019-09-26 22:20 meshak Note Added: 0010775
2019-09-27 04:19 tniemi Note Added: 0010776
2019-09-27 11:23 wyldckat Note Added: 0010777
2019-09-27 21:30 wyldckat Note Added: 0010779
2019-09-27 23:27 henry Assigned To => henry
2019-09-27 23:27 henry Status new => closed
2019-09-27 23:27 henry Resolution open => no change required
2019-09-27 23:27 henry Note Added: 0010781
2019-09-27 23:28 henry Priority high => low
2019-09-27 23:28 henry Severity block => minor