-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
Mup Setup and Deploy fail - All configured authentication methods failed #974
Comments
Did you forget to add your key to
or did you commit out this part ? |
@guillim yeah, I tried with pem and without, it gives me the same error :( |
I'm on the sidelines. We've also tried adding the password the key in the file. Same error again. It seems like the ssh-agent does not like something. The error messages really aren't that helpful when it comes to SSH. The problem started happening after an OS update. This exact app has gotten deployed before and the problem didn't exist a few weeks ago. I use the exact same MUP setup and I can deploy without problems. The only difference is that I'm on Ubuntu 18.04 |
Well ...can you at least ssh your webserver through your terminal directly ? @TechStacker @MathiasKandelborg |
That was also my first thought. Thinking that it could have been a problem regarding the ssh-agent itself. But no, the ability to connect to the server with the ssh-agent was a-ok! So... It took several hours of non-stop trying different things. Finally concluding that some permissions weren't correct regarding the node installation. The reason this went sour was a wrong configuration on the computer, I'm not sure how to handle that. Perhaps some documentation should be written, which I'd also gladly do. On a side note: The error handling around SSH'ing is of course extremely hard to get right. If you got a suggestion on a PR I could make - I'd happily try my best. |
@TechStacker Also, make sure you don't have password on your ssh key. It will ease the debugging process (Later, you can use a password with the ssh key but it is another step forward, let's try easy first) |
@guillim Dude, we fixed it. |
At this point I can deploy without problems if I do the following before
If I don't do the above, I get this on
I have no clue why I have to do this, but if anyone has some advice, I'd appreciate it! :) |
hello MathiasKandelborg |
For anyone coming to this later, I just had the same problem. (As suggested by @guillim, testing by ssh'ing directly to the server was helpful to figure out what was going wrong.) After doing the following, I was finally able to run
All perhaps a bit obvious in retrospect, but these things are never clear in the moment. :) |
I struggled for many hours to resolve the mup ssh connection issues to a new AWS EC2 Ubuntu 22 server (within a new VPC). I was able to ssh from the commandline, but I found the answer here which is to allow
I also struggled a little with setting up the VPC for internet access, and the linked article was very helpful to troubleshoot. Hope it helps someone. |
@productiveme thanks! Btw for anybody else who made the same mistake as me make sure to do that fix on the new server and not on your local machine. |
*If you have the flexibility to change OS of your server For us an alternative solution was to just downgrade our instance to Ubuntu 20 since it seems the issue is rooted in the compatibility between Mup and Ubuntu 22. |
Thanks a lot |
Cool. Many thanks. It work |
This worked for me! Thank you! |
I had the same problem after upgrading to Ubuntu 22.04: Instead of adding According to the Gitlab documentation: "Available documentation suggests ED25519 is more secure than RSA."
|
Awesome. It worked! |
Hey,
I've spent hours trying to deploy my app to my DigitalOcean Droplet. I keep getting this error:
I've tried using pem + password in my mup file, and without, same error.
My setup is
Mac Sierra (latest)
Latest Mup version
Latest Meteor (1.7)
Here’s my mup file (edited out sensitive info):
I have no clue where to go from here, any suggestions? :-)
The text was updated successfully, but these errors were encountered: