Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo.msys2.org is not accessible #1884

Closed
bogdanlytvynovskyi opened this issue Mar 5, 2020 · 30 comments
Closed

repo.msys2.org is not accessible #1884

bogdanlytvynovskyi opened this issue Mar 5, 2020 · 30 comments

Comments

@bogdanlytvynovskyi
Copy link

Tried building FFMPEG using vcpkg, and failed due to error while downloading msys2 package:

Acquiring MSYS2...
-- Downloading http://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20181211.tar.xz...
-- Downloading http://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20181211.tar.xz... Failed. Status: 7;"Couldn't connect to server"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:175 (message):

After that tried accessing downloads from msys2.org and got same issue with chrome on download links: http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20190524.exe
ERR_CONNECTION_REFUSED

@Biswa96
Copy link
Member

Biswa96 commented Mar 5, 2020

This error seems to be similar as mentioned in this #1098 thread.

@bogdanlytvynovskyi
Copy link
Author

That thread mentioned Asia a lot. My report is coming from USA, WA. Also I get refused connection right away rather than super slow speeds

@apockill
Copy link

apockill commented Mar 5, 2020

I am also experiencing this issue for all of my packages

@bogdanlytvynovskyi
Copy link
Author

That is not working when one needs to download base image of msys2

@theAltaran
Copy link

Its on sourceforge, where I just got my copy.

@lazka lazka pinned this issue Mar 5, 2020
@lazka
Copy link
Member

lazka commented Mar 5, 2020

We are trying to get in contact with the person sponsoring the server.

@lazka
Copy link
Member

lazka commented Mar 5, 2020

Work has started on restoring the server, but it might take a while.

@b9AcE
Copy link

b9AcE commented Mar 7, 2020

@lazka Any progress update?

@GarrisonJohnston123
Copy link

The server seems to be back up for me.

@b9AcE
Copy link

b9AcE commented Mar 8, 2020

Yes, repo.msys2.org is up for me too now.
Thanks, server-admin! <3

@kr5ture
Copy link

kr5ture commented Mar 8, 2020

Unfortunately I still cannot download installer from repo.msys2.org (link taken from http://msys2.org main page):

$ wget --connect-timeout 10 http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20190524.exe
--2020-03-08 22:56:39--  http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20190524.exe
Resolving repo.msys2.org (repo.msys2.org)... 45.59.69.178
Connecting to repo.msys2.org (repo.msys2.org)|45.59.69.178|:80... failed: Connection timed out.
Retrying.

--2020-03-08 22:56:50--  (try: 2)  http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20190524.exe
Connecting to repo.msys2.org (repo.msys2.org)|45.59.69.178|:80... failed: Connection timed out.
Retrying.

Update command is still getting connection timeouts but ultimately succeeds:

$ pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'mingw32.db' from repo.msys2.org : Connection timed out after 10009 milliseconds
 mingw32 is up to date
error: failed retrieving file 'mingw64.db' from repo.msys2.org : Connection timed out after 10009 milliseconds
 mingw64 is up to date
error: failed retrieving file 'msys.db' from repo.msys2.org : Connection timed out after 10006 milliseconds
error: failed retrieving file 'msys.db' from sourceforge.net : Operation timed out after 10010 milliseconds with 0 out of 0 bytes received
 msys is up to date
:: Starting core system upgrade...
 there is nothing to do
:: Starting full system upgrade...
 there is nothing to do

@b9AcE
Copy link

b9AcE commented Mar 8, 2020

@kr5ture No, it went down again in the process of further fixing.
We're back to patience...

@b9AcE
Copy link

b9AcE commented Mar 9, 2020

...and it's up again.
Should remain up at least for the immediate future, is my understanding.

@ylluminate
Copy link

After downloading the nightly from https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-x86_64-latest.exe, installing and executing pacman -Syu I'm still having failures such as:

# pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'mingw32.db' from repo.msys2.org : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'mingw32.db' from sourceforge.net : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'mingw32.db' from www2.futureware.at : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'mingw32.db' from mirror.yandex.ru : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'mingw32.db' from mirrors.tuna.tsinghua.edu.cn : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'mingw32.db' from mirrors.ustc.edu.cn : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'mingw32.db' from mirror.bit.edu.cn : Resolving timed out after 10000 milliseconds
error: failed to update mingw32 (download library error)
error: failed retrieving file 'mingw64.db' from repo.msys2.org : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'mingw64.db' from sourceforge.net : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'mingw64.db' from www2.futureware.at : Resolving timed out after 10001 milliseconds
error: failed retrieving file 'mingw64.db' from mirror.yandex.ru : Resolving timed out after 10001 milliseconds
error: failed retrieving file 'mingw64.db' from mirrors.tuna.tsinghua.edu.cn : Resolving timed out after 10001 milliseconds
error: failed retrieving file 'mingw64.db' from mirrors.ustc.edu.cn : Resolving timed out after 10001 milliseconds
error: failed retrieving file 'mingw64.db' from mirror.bit.edu.cn : Resolving timed out after 10000 milliseconds
error: failed to update mingw64 (download library error)
error: failed retrieving file 'msys.db' from repo.msys2.org : Resolving timed out after 10001 milliseconds
error: failed retrieving file 'msys.db' from sourceforge.net : Resolving timed out after 10001 milliseconds
error: failed retrieving file 'msys.db' from www2.futureware.at : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'msys.db' from mirror.yandex.ru : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'msys.db' from mirrors.tuna.tsinghua.edu.cn : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'msys.db' from mirrors.ustc.edu.cn : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'msys.db' from mirror.bit.edu.cn : Resolving timed out after 10000 milliseconds
error: failed to update msys (download library error)
error: failed to synchronize all databases

@Delagen
Copy link

Delagen commented Mar 26, 2020

@ylluminate Check your DNS and internet connection

@lazka
Copy link
Member

lazka commented Mar 26, 2020

Maybe some proxy?

@ylluminate
Copy link

ylluminate commented Mar 26, 2020

Hmmm... @Delagen I have even statically set DNS servers and flushed the DNS cache (ipconfig /flushdns as admin cmd.exe). Ping:

C:\Windows\System32>ping repo.msys2.org

Pinging diablo.msys2.org [45.59.69.178] with 32 bytes of data:
Reply from 45.59.69.178: bytes=32 time=82ms TTL=49
...

Update: It turns out that something had indeed corrupted the network settings of this particular computer (other workstations on the network were fine). After doing a complete Win10 network reset MSYS2's pacman began pulling down data.

@Lewiscowles1986
Copy link

This has just happened again. Are there commands and documentation on running a mirror?

@BigslimVdub
Copy link

Looks like it is down again. Can't even download from https://repo.msys2.org/distrib/x86_64/msys2-x86_64-20200903.exe

@Biswa96
Copy link
Member

Biswa96 commented Oct 2, 2020

There is a recent reboot happen in that server and no answer from it. Installer can be downloaded from this release page https://github.com/msys2/msys2-installer/releases

@BigslimVdub
Copy link

There is a recent reboot happen in that server and no answer from it. Installer can be downloaded from this release page https://github.com/msys2/msys2-installer/releases

Thanks! I was actually looking to update pacman and it was timing out so thought I'd just DL the latest. I will check in a while to see or maybe tomorrow. Are there mirrors available by any chance?

@jeremyd2019
Copy link
Member

Are there mirrors available by any chance?

https://github.com/msys2/MSYS2-packages/tree/master/pacman-mirrors installed to /etc/pacman.d

@jamesseanwright
Copy link

jamesseanwright commented Oct 3, 2020

Are there mirrors available by any chance?

https://github.com/msys2/MSYS2-packages/tree/master/pacman-mirrors installed to /etc/pacman.d

These mirrorlists match the default ones that came with my MSYS2 installation, and the SourceForge mirror is unsuitable as it has a relatively small maximum file download size. I was therefore able to strip these two entries from the respective lists with cat and tail:

$ cp -r /etc/pacman.d /etc/pacman.d.backup
$ cat /etc/pacman.d/mirrorlist.mingw32 | tail -n 6 > /etc/pacman.d/mirrorlist.mingw32
$ cat /etc/pacman.d/mirrorlist.mingw64 | tail -n 6 > /etc/pacman.d/mirrorlist.mingw64
$ cat /etc/pacman.d/mirrorlist.msys | tail -n 6 > /etc/pacman.d/mirrorlist.msys

The remaining mirrors work for me.

Edit popped a cp command in there to backup the original contents.

@Biswa96
Copy link
Member

Biswa96 commented Oct 3, 2020

Doing that you will loose the mirror url. Just open those files in any text editor and put # before the mirror you want to comment it out.

@systemhalted
Copy link

Any idea when this is going to get fixed?

@Biswa96
Copy link
Member

Biswa96 commented Oct 5, 2020

As far as I know know, there is no timeline. Comment out the msys2 and sourceforge mirrors and you are good to go. If you want to know the exact time of the fix, just do ping repo.msys2.org until you get response.

@krader1961
Copy link

@Biswa96, Note that updating the mirror list in the various /etc/pacman.d/mirrorlist.m* files won't work if you, like me, have a moderately old installation. In that case you'll see errors like the following rather than a simple timeout:

error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
:: Import PGP key 4A6129F4E4B84AE46ED7F635628F528CF3053E04? [Y/n]
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: mingw64: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown

Something is seriously broken with respect to package signatures and mirrors.

@Biswa96
Copy link
Member

Biswa96 commented Oct 5, 2020

In that case, you can download a stable installer from this release page https://github.com/msys2/msys2-installer/releases. Then install it in another location, install the packages and move configurations from old one. I have done it some times, just takes 1-2 minutes depending on network speed.

@jeremyd2019
Copy link
Member

I think you should have gotten those same errors against the primary, it looks like #2058/https://www.msys2.org/news/#2020-06-29-new-packagers

@jamesseanwright
Copy link

jamesseanwright commented Oct 5, 2020

Doing that you will loose the mirror url. Just open those files in any text editor and put # before the mirror you want to comment it out.

That's easier said than done when MSYS2 doesn't come with a text editor by default (unless I was looking in the wrong place)! 😉 I could have just edited the files in Windows with Notepad. Not sure why I was trying to edit them exclusively through MSYS2 at the time 🤦🏻‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests