aura icon indicating copy to clipboard operation
aura copied to clipboard

Aura Fails with -Akuax but Succeds with -Akuax --debug

Open stef204 opened this issue 4 years ago • 13 comments

Weird behavior:

% sudo aura -Akuax
aura >>= Fetching package information...
aura: HttpExceptionRequest Request {
  host                 = "aur.archlinux.org"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/rpc"
  queryString          = "?v=5&type=info&arg%5B%5D=ddd&arg%5B%5D=deadbeef&arg%5B%5D=deb2targz&arg%5B%5D=devtodo&arg%5B%5D=dfc-git&arg%5B%5D=di&arg%5B%5D=diffmerge&arg%5B%5D=dina-font-otb&arg%5B%5D=dircolors-solarized-git&arg%5B%5D=dmenu-extended-git&arg%5B%5D=dnstracer&arg%5B%5D=driconf&arg%5B%5D=dtrx&arg%5B%5D=ducount&arg%5B%5D=dunst-git&arg%5B%5D=dwm-git&arg%5B%5D=elementary-dark-theme&arg%5B%5D=elementary-icon-theme-git&arg%5B%5D=elyxer&arg%5B%5D=emacs-lucid&arg%5B%5D=enhanced-ctorrent&arg%5B%5D=etmtk-git&arg%5B%5D=faba-icon-theme-git&arg%5B%5D=farbfeld-git&arg%5B%5D=farbfeld-resize-git&arg%5B%5D=feedreader&arg%5B%5D=fierce&arg%5B%5D=fincore&arg%5B%5D=findbrokenpkgs&arg%5B%5D=firehol&arg%5B%5D=flashbench-git&arg%5B%5D=flashplugin&arg%5B%5D=font-manager&arg%5B%5D=fontbuilder&arg%5B%5D=fontweak&arg%5B%5D=fortune-mod-entourage&arg%5B%5D=fortune-mod-entourage-ari_gold&arg%5B%5D=fortune-mod-fr&arg%5B%5D=freecheck-git&arg%5B%5D=freeoffice&arg%5B%5D=gconf&arg%5B%5D=gconf-cleaner&arg%5B%5D=gconf-editor&arg%5B%5D=genwipe.sh&arg%5B%5D=gimp-plugin-arrow&arg%5B%5D=gksu&arg%5B%5D=globonote&arg%5B%5D=gnome-breeze-git&arg%5B%5D=gnome-mime-data&arg%5B%5D=gnomishdark-theme"
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = <assumed to be undefined>, addrCanonName = <assumed to be undefined>}, host name: Just "aur.archlinux.org", service name: Just "443"): does not exist (Temporary failure in name resolution))

And now with --debug

% sudo aura -Akuax --debug
aura >>= Fetching package information...
aura >>= Comparing package versions...
aura >>= No AUR package upgrades necessary.

Self compiled:

% aura --version      
                       
 __ _ _  _ _ _ __ _    Pacman v6.0.0 - libalpm v13.0.0
/ _` | || | '_/ _` |   Copyright (C) 2006-2021 Pacman Development Team
\__,_|\_,_|_| \__,_|   Copyright (C) 2002-2006 Judd Vinet
AURA Version 3.2.5     
 by Colin Woodbury     This program may be freely redistributed under
                       the terms of the GNU General Public License.

Edit:

I can ping -4 and ping -6 on aur.archlinux.org.

stef204 avatar Jul 12 '21 15:07 stef204

That is quite odd, let me confirm.

fosskers avatar Jul 12 '21 16:07 fosskers

I switched my DNS server and looks like it's working again without --debug. Must have been a DNS issue but it's odd that it worked with --debug and not just straight. Unless it coincided (every time I used --debug ??) to a fallback to a secondary DNS server I have defined? Edit; feel free not to chase this. Might just be some very edge case which will never happen again.

stef204 avatar Jul 12 '21 19:07 stef204

Heh you seem to get lucky with those.

fosskers avatar Jul 12 '21 19:07 fosskers

Should we just close this? Can always reopen if it raises its ugly head again at some later point.

stef204 avatar Jul 12 '21 20:07 stef204

Sounds good.

fosskers avatar Jul 12 '21 20:07 fosskers

I am getting a lot of these errors lately. Might want to reopen this issue.

% sudo aura -Akuax
aura >>= Fetching package information...
aura: HttpExceptionRequest Request {
  host                 = "aur.archlinux.org"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/rpc"
  queryString          = "?v=5&type=info&arg%5B%5D=python2-cliapp&arg%5B%5D=python2-docopt&arg%5B%5D=python2-fuse&arg%5B%5D=python2-gobject2&arg%5B%5D [snip]"
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = <assumed to be undefined>, addrCanonName = <assumed to be undefined>}, host name: Just "aur.archlinux.org", service name: Just "443"): does not exist (Temporary failure in name resolution))

I've changed my DNS servers to see if the problem was there, to no avail.

Anyone else reporting these?

stef204 avatar Oct 13 '21 21:10 stef204

Not yet, nor have I noticed it myself. Please keep an eye on it.

fosskers avatar Oct 14 '21 18:10 fosskers

It now happens every time I use: % sudo aura -Akuax

Edit: I have recompiled aura and that error seems to have gone away for now. Will keep an eye on it and post again, as needed.

stef204 avatar Oct 15 '21 13:10 stef204

Thanks for the report as always @stef204

fosskers avatar Oct 21 '21 20:10 fosskers

the error is back in full force AFTER updating today and recompiling. it has just become unusable for me. i am having to resort to trizen which works and connects just fine to the aur.

can you reopen this thread please?

% sudo aura -Akuax
aura >>= Fetching package information...
aura: HttpExceptionRequest Request {
  host                 = "aur.archlinux.org"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/rpc"
  queryString          = "?v=5&type=info&arg%5B%5D=ddd&arg%5B%5D=deadbeef&arg%5B%5D=deb2targz&arg%5B%5D=devtodo&arg%5B%5D=dfc-git&arg%5B%5D=di&arg%5B%5D=diffmerge&arg%5B%5D=dina-font-otb&arg%5B%5D=dircolors-solarized-git&arg%5B% [snip]"
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = <assumed to be undefined>, addrCanonName = <assumed to be undefined>}, host name: Just "aur.archlinux.org", service name: Just "443"): does not exist (Temporary failure in name resolution))

stef204 avatar Oct 25 '21 14:10 stef204

the --debug option does not provide additional insight. It seems that the error is a DNS error? host name: Just "aur.archlinux.org", service name: Just "443"): does not exist (Temporary failure in name resolution)

stef204 avatar Nov 03 '21 11:11 stef204

I was in Europe recently and was having similar strange issues involving DNS. At the very least, I can say that this will be fixed with the Rust port, although I realize that isn't much consolation now, forgive me.

fosskers avatar Dec 08 '21 22:12 fosskers

No worries, thanks for all the work on this really useful project. Looking forward to the Rust port.

stef204 avatar Dec 16 '21 13:12 stef204