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
This error seems to be similar as mentioned in this https://github.com/msys2/MSYS2-packages/issues/1098 thread.
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
I am also experiencing this issue for all of my packages
That is not working when one needs to download base image of msys2
Its on sourceforge, where I just got my copy.
We are trying to get in contact with the person sponsoring the server.
Work has started on restoring the server, but it might take a while.
@lazka Any progress update?
The server seems to be back up for me.
Yes, repo.msys2.org is up for me too now.
Thanks, server-admin! <3
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.
md5-84eb597a37c4290f4289cd54b670cf20
$ pacman -Syu
md5-f8a830e6df691a0d49607a2ae6e31ec3
:: 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
@kr5ture No, it went down again in the process of further fixing.
We're back to patience...
...and it's up again.
Should remain up at least for the immediate future, is my understanding.
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
@ylluminate Check your DNS and internet connection
Maybe some proxy?
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.
This has just happened again. Are there commands and documentation on running a mirror?
Looks like it is down again. Can't even download from https://repo.msys2.org/distrib/x86_64/msys2-x86_64-20200903.exe
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
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?
Are there mirrors available by any chance?
https://github.com/msys2/MSYS2-packages/tree/master/pacman-mirrors installed to /etc/pacman.d
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.
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.
Any idea when this is going to get fixed?
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.
@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.
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.
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
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 🤦🏻♂️
Most helpful comment
Work has started on restoring the server, but it might take a while.