-
Notifications
You must be signed in to change notification settings - Fork 169
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
Net::SSH::AuthenticationFailed when pulling db #659
Comments
@martin-josef as far as your report is a really complete one, it's hard to track it down as a bug. It's not reproducible, as you reported. What we probably have is a behavior in Wordmove that your current hosting provider dislikes. I can't elaborate a solution but I have a previous experience to share; Wordmove has a somewhat defective behavior when working w/ DB: it makes a lot of subsequent connections. Sometimes hosting providers set a throttle limit in order to protect themselves from ddos-like attempts and this limit could happen to resolve into a refute to auth the user. One desperate try to do in order to verify this assumption is to add these configs to the specific host into your ssh config
then in one terminal open an SSH connection to the host and in another terminal run Is this a fix? It is not for sure. It's more of a troubleshooting/possible workaround/reproduction path, but that's all I have on the table. |
It is much appreciated, thanks! I will continue debugging the situation soon, right now I manually dump / pull / search-replace. I will report back if I find anything. |
I'm also experiencing this issue. |
I couldn't solve it myself and don't have to pull / push from that host anymore, so I sadly won't be of any help. |
I'll let you know if I solve - I think it might be related to php 8.1 but honestly I don't know why. |
I only experienced this issue with one host, all my digitalocean droplets etc. are unaffected. |
If you take a litle bit of attencion you can see wordmove is not getting your env variables, to fix it you can do something like: local: Also for for integer does not add "" cause gonna be detected as string. |
Running into a similar issue and I think it's related to the current incompatibility of net-ssh 6.x.x and OpenSSL 3.x.x which ships by default with Ubuntu 22. Supposedly net-ssh 7.x.x should fix this, but I don't know how to go about fixing that here in Wordmove. (See net-ssh/net-ssh#874 for reference) |
In him case he is using bad configuration in movefile.yml, look at: mysql -e'QUIT'. Movefile is not reading env file '<%= ENV['PROD_DB_NAME'] %>' etc.. the solution is was i suggested. There is not another solution. |
|
@harnerdesigns does «similar» means only database related operations are failing? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@alessandro-fazzi sorry for the late as hell response, but yes, DB operations are the only one failing. Running |
Describe the bug
When pulling the db (-d) (hosted on rackspeed.de) I get the following error:
But I can pull the files (--all --no-db) without issues.
I specified an ssh-key in ~/.ssh/config (IdentityFile ).
Wordmove command
Expected behavior
movefile.yml
.env-file:
movefile:
Exception/trace
Environment (please complete the following information):
Doctor
wordmove doctor
command returns all greenTo add, this configuration (.env, movefile) works with other hosts flawlessly. This is rackspeed specific.
The text was updated successfully, but these errors were encountered: