-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Temporary failure in name resolution #1819
Comments
That's interesting. It seems like something in your network (or your ISP's network) blocks you for a few minutes after doing something "bad"? Is it only sometimes that this happens? Does it happen on another network? E.g. you could, if you have the data plan for it, try tethering to your phone and doing the request there. If it's really the URL in the error message that is the "Bad Thing(TM)" you get punished for, it should happen the same if you just It could be a previous network request though, and from the looks of it the previous thing that happens is the official package update. Maybe try switching pacman mirrors? |
Yes, it seems to be only sometimes. I've tried running it with my phone tethered, and it didn't seem to happen then, although admittedly it is sporadic anyway so it could just be I didn't try enough times. I noticed that my mirrorlist hadn't been updated since last year, which is odd because I think you're right though that it's happening before the AUR check. Loading that URL again and again in my browser doesn't cause the issue I'm having, so the failure to be able to fetch it by YAY must be a symptom rather than the cause. Out of curiosity, I ran |
Can you try if the same happens with vanilla pacman? It sounds like it's something that the normal requests from pacman would trigger as well. I think if it shows that pacman is doing this too, then I will close the issue. But we can continue discussing and debugging here, if only because I'm curious what's going on. 🙂 |
Have you checked on your router to see if there's any messages about disconnected internet there? They might include some diagnostics. |
There's nothing I can see, unfortunately. Other devices connected to the same router continue to function just fine when these "outages" occur though; it's only my laptop that loses access for a few minutes. |
Can you determine on which layer you get cut off? Can you ping the router IP? Can you ping a public internet IP like 8.8.8.8? What does |
Ping to an IP address appears to work, as does pinging the router. Interestingly, I also tried pinging a domain name and got this: The highlighted line occurred at the same time as the update (very) briefly appeared to hang at the "Searching AUR for updates..." step, so I'm guessing the Internet connection was interrupted at the previous step.
|
Hm I don't think a 45ms increase in ping time is anything else but a short congestion in network usage (possibly on wifi layer) from the AUR update. If it were hundreds of msecs or seconds, that might be something, but this is very tiny. It's all very weird and I can't really put my finger on it, except it sounds like it's the router that is punishing you for... something. I'm afraid I'm a bit out of my depth here. I'd search online for other people with the same router experiencing network blockage/disconnects. Maybe it's something specific to your model/firmware? Some safety/protection mechanism kicking in? Hard to say... |
Yeah. It's a strange one. I wouldn't have thought much of the ping either, it was only because I was also running the 8.8.8.8 and 192.168.0.1 pings at the same time, and saw no spike there at all, that I even thought to mention it. FWIW, no pings outside the network work at all when it totally hangs on me (I can still access the router control panel for example, but not any web sites). I honestly have no idea what's going on here either. It only started recently, and nothing on my network has changed in months. It seems to only affect this laptop too, no other devices. I imagine it'll suddenly stop being an issue at some point too, knowing my luck, and I'll never find out what caused it 😂 Thanks for your help anyway though 👍 |
Affected Version
yay v11.3.0 - libalpm v13.0.1
Describe the bug
I'm getting an error when trying to retrieve updates from the AUR. Up until I check for updates, my Internet connection is working just fine and I'm able to browse websites etc. As soon as I check for updates, I get the following error:
Then I am unable to browse webpages, pings stop responding, and traceroutes don't work. After several minutes my connection works properly again. NetworkManager shows I am still connected for the entire time that this is happening.
Reproduction Steps
yay -Syyu --combinedupgrade --nodevel --singlelineresults
(I have this aliased toupgrade
)Expected behavior
I'd expect to see a screen like this:
If there updates, it would list them here of course, but I ran it just now there were no updates to do.
This is what I'm actually getting though:
and am then unable to use my Internet connection again for several minutes, or until I disconnect and reconnect my WiFi.
Here's the output of
yay -Pg
I realise this isn't much to work on, but please let me know what other things I can provide and how to get them :)
The text was updated successfully, but these errors were encountered: