20

I already read these threads: 1, 2, 3 and 4 which address the connection error connect failed in tcp_connect(). I found out that the address I can't connect to is 178.77.68.21 but there is nothing ftp://178.77.68.21 and http://178.77.68.21. It would even be helpful if someone could validate that this process works for him right now. Which file do I need to change to force a repository change to something like CTAN.

This is a clean fresh installation (but reinstalling seems to have helped this guy at least temporarily). Also I do not have any other problems with my internet connection on any port.

I have no firewall. And get the following:

Installation dialog comes up

Installation failed

Synchronize failed

Repo change failed

Update1

Obviously this issue can't be generalized some of us suffer sometimes from it and have to deal with it while generating specific solutions. When I solved this problem I will post (in detail) what was the cause and the fix to it.

Update2

The solution is that MikTex won't use the systems default proxy settings. It always assumes that there is no proxy. On Windows use the console cmd.exe and type ipconfig /all and proxycfg -u(or netsh winhttp import proxy ie) to find all necessary information about your NICs. The line Proxyserver from proxycfg command will tell you what to enter here: enter image description here

Yes, I am behind a proxy on this machine and didn't take this into account...

6
  • 3
    This happens to me when a MiKTeX mirror is not online. Try changing the repo to another manually. Or you can't do that either?
    – marczellm
    Commented Mar 25, 2014 at 11:57
  • 1
    @marczellm Could you explain how to do it manually. So which file will I have to edit. Until now I only used the GUI which is not working at the moment as you can see in the 4th image. Could you please also link in your answer to an up-to-date mirror list.
    – dkeck
    Commented Mar 25, 2014 at 12:04
  • 4
    This question appears to be off-topic because it is about an issue that cannot retraced by other users, because it was either temporary or caused by a not TeX related connection problem.
    – Speravir
    Commented Mar 26, 2014 at 2:20
  • 3
    Please reopen this question. It is very relevant to all Miktex users, who struggle with it again and again. Let's try to solve it together!
    – mathreader
    Commented Mar 25, 2019 at 17:22
  • 2
    I had this problem too, but the solution with the proxy didn't work for me, since I was not using a proxy. I solved the problem by uninstalling MiKTeX and then installing it again with the NET installer (miktex.org/download -> All downloads). I installed it with all packages. More a workaround than a solution but for me it works.
    – Ian Fako
    Commented May 1, 2019 at 10:01

1 Answer 1

6

Everything works fine here. I just made an update and installed new packages.

Some more information:

178.77.68.21 - Reverse IP Lookup on DomainTools shows you, that this IP is used amongst others for http://miktex.org/. The reason is that in these cases, when you have package installation from a random or from the “nearest” repository selected, the page http://api.miktex.org/Repository.asmx is called. Maybe this was temporarily down or you have more serious connection issues from your region.

But this is not TeX related and also for your question is guilty what I wrote in Cannot install MiKTeX 2.9 after a new Windows installation:

“Sorry, but this kind of questions is not answerable on a valuable level. The issue is in most cases not related to MiKTeX installer itself, not speaking of TeX in general”.

3
  • Thanks for your answer. Since the problem persists for me the problem is obviously on my side. I totally agree that this is off topic in the context of coding in tex but to find information you need context or at least some kind of anchor-keywords pointing to a topic. As a user of an application you are only connected to the front-end/top layer such that the anchor for a problem will always be the applications name or its specific usage. Though I agree with you I don't know of any better place to put such issues.
    – dkeck
    Commented Mar 26, 2014 at 9:30
  • @dkeck: All these questions like yours are only closed, not deleted, and hence can be found by other people facing this or a similar issue.
    – Speravir
    Commented Mar 26, 2014 at 16:10
  • 12
    The problem is encountered by many users again and again. And IT IS related to Miktex. So it would be nice if people were less arrogant. After all this site is designed to help others with the problems.
    – mathreader
    Commented Nov 9, 2018 at 11:33

Not the answer you're looking for? Browse other questions tagged .