-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Cannot connect to AUR #528
Comments
That's odd, let me look into this. |
I've tried to analyze packets using tcpdump and wireshark to see if anything obvious came up, but did not notice anything. |
I'm out of town at the moment for work, but I'm pretty sure I know what to look for. I'll check it once I'm back, later this week. |
I've tried to downgrade back to 1.4 in the meantime but that does not work for me--as, for some reason, 1.4 has long since stopped picking up new or updated versions of packages in the AUR. Still getting this:
. |
The As for 2.0 not detecting things... I'm not having that issue on my end. |
Is the Map issue an upstream fix or something I should do here? If so, some guidance would be helpful. Yes, This DID work for quite some time and then, stopped suddenly, about 2 to 3 weeks ago, Let me clarify: it is version 1.4 which fails to detect changes, updates, etc. But I've upgraded to version 2.0 which is the topic at hand. And version 2 works as expected, detecting changes, etc. The current issue is ths error which needs fixing in aura 2.0 master branch (aura-git in AUR) is::
Sure would like to resolve this as it breaks aura and makes it unusable (for me.) |
Following your recent changes, I have recompiled master branch today; and problem(s) described above still present, IOW still cannot connect to AUR with same error message, plus the internal.hs error below:
|
Thanks for the update. |
Just pulled and compiled again now, same 2 issues still present. |
I will - thanks for your patience. |
@stef204 fyi: My problems:
Solution:
So I guess I found out by luck, that the problem is probably not in aura 2.x, but that the servers in my pacman mirrorlist may be the source of trouble. |
Oh that's an excellent find @marksutt , I will note this somewhere. |
Doesn't make sense. |
@fosskers
All of my other applications using or connecting to AUR work, pacman connects to mirrors, if I use (reluctantly) another AUR helper, it works and connects to AUR perfectly. It looks to me like there is something hardcoded into aura 2+ which breaks this connection, either the actual url/ip addresses, etc., or perhaps it's a certificate issue, I really don't know. This error has never gone away since I opened this ticket in April 2019. I supposed I could use a packet sniffer like
It looks like the use of See below.for version. Thanks.
|
Ah man, sorry about this. Can you run:
And tell me what it says? |
|
You're on the HEAD of
What version of |
Seems there are conflicts on my box.
That is in my Note: you can see all of its dependencies here.
Using the local stack gives:
The local stack might be using GHC 7+. (version 7.10.3). So, the whole issue might be due to the aura 2 being built on my box with the wrong tool/deps/versions? It does build though, using the I may not have thought this through all the way to the end, as it were.... Thoughts? PS I've also just built in manually, following the procedure in the README, both using the global stack and local one and error persists. |
Ah, I see what it was doing. I had meant for you to do |
in the meantime, since i had not done anything Haskell for quite some time now, I nuked haskell from my box, both global (from Arch repo) and locally. I should now start again fresh. But should probably stick to local install. Since you're the Haskell Pro (and I believe you use Arch?), which of the different ways suggested here would you recommend I do if I want to stick to local? |
In the meantime, I've installed stack locally from https://get.haskellstack.org/ and:
|
And I've now compiled
Where do we go from there? |
Is that |
I'm 100% sure since I uninstalled the
That's where
I even tried with the I've now just run the test suite again (from the cloned directory) and it passes. To be more precise, If I try to get So there is a connection negotiated successfully with:
It seems to be the use of I can look at the source to see what conditions result in printing the I'm still of the opinion I need to use wireshark or tcpdump to sniff what is going on which creates that failure. Started briefly yesterday but couldn't find anything yet. I can compare this, still using wireshark, to another aur help |
Thank you for persisting, that motivates me to find the source of the issue. Okay, some more tests. Does a single |
Shouldn't be, I fixed that bug 🤔
Let me see where this is coming from, and if the error handling code is being too broad. It could be that there's another (unforeseen) reason that it's failing. |
Just compiled today, using stack.
Same error:
How can I help further narrowing down the problem? |
I recently ran into the same problem. It seems like Here's the complete output:
|
Informative. |
Ah ha! I thought that might be it. I will change the logic of that function to do calls in batches of 50 packages at a time. |
@stef204 I just pushed up a fix to that branch. Can you pull it and try again? |
Looks good? |
My friend, our issue is fixed :) Thank you again for your patience. I'll release Aura |
Great. Thanks to you (I knew it had to be something simple.) Nicely done. |
@stef204 |
I've just encountered this same issue while trying to install
|
@mkoloberdin can you try again with a fresh |
|
Mine is working too on 2.2.0. |
@mateusfccp is the issue present for you with |
I'm fixed at 2.2.0 right now and it's working fine. Do you want me to update to 2.2.1 to see if there's regression? |
@mateusfccp Yes please. |
I'm also having this issue after a recent upgrade:
I built master (791281f), tried |
Ah, here's something else. I tried installing each package independently ( Edit: The plot thickens. I installed everything except
If it happens to me again, I'll try to get to the root cause. |
Aura should be able to handle large dep trees just fine, for instance Either way I'll add some more debugging messages around the location of this issue and see if that helps us. Thanks for reporting, everyone. |
@fosskers I updated to 2.2.1 and still works flawlessly here. |
@fosskers maybe there is a regression in 3.1.4-2 (aura-bin) (pacman 5.2.2/libalpm 12.0.2)? |
Whoa, quite interesting. That package in particular isn't working for me either, although a usual |
Oh, that package appears to be fairly few, only a few days old. |
I added a few debug statements:
|
|
Either way I'm patching Aura to give a better message than what you were seeing. Clearly this wasn't a connection error. |
Back in April I managed to track down the cause but forgot to post, sorry (I was looking into making a patch/PR but did not have the time): it is the fact that aura does not handle "provides" (e.g. EDIT: Example: https://aur.archlinux.org/packages/themix-plugin-base16-git/ : https://github.com/fosskers/aura/blob/master/aura/lib/Aura/Dependencies.hs#L142 |
You raise a good point. I need to reexamine that particular part of the code, but off the top of my head I believe it isn't directly involved in the discovery of packages that satisfy a "provides" condition even when a package of that exact name doesn't exist (as was the case here with |
Note the error at the end.
(This package is aura-git in the AUR.)
aura can no longer connect to AUR, resulting in this error:
This error started a few days ago and is now 100% consistently present.
Can you please look into this? How can I help troubleshoot?
The text was updated successfully, but these errors were encountered: