Help with error using Transfer Tool
We have a new cPanel/WHM VPS running Centos 7.8 Cpanel V90.0.16 and when attempting to use the Transfer Tool to transfer a domain from one running Centos 6.10 and cPanel V86.0.31 we get the error message shown below.
(XID cuxw2n) The system failed to connect to "oldVPS.ournetwork.net" on port "22" because of an error: Connection refused Failed to establish session and parse security token: 401 Access Denied at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/cPanel/PublicAPI.pm line 526.
Can I get some guidance please.
-
Hi @xanadu, Can you connect via SSH? Have you tried whitelisting the IP address of the server? 0 -
Both servers need to be able to talk to each other, both potentially need to be open on any firewalls. 0 -
As the previous two posters said, the basic connection between the machines need to work. You could manually test this with an SSH connection from the Destination to the Source, as that might give you some more helpful details. 0 -
Hi @xanadu, Can you connect via SSH? Have you tried whitelisting the IP address of the server?
Thanks for your response. Yes I can SSH using port 2022 and yes my static IP is white listed, Thanks again0 -
Both servers need to be able to talk to each other, both potentially need to be open on any firewalls.
Thanks, I have made sure that they are open on all firewalls.0 -
As the previous two posters said, the basic connection between the machines need to work. You could manually test this with an SSH connection from the Destination to the Source, as that might give you some more helpful details.
I will just have to figure out how to do what you suggest and will get back to you. Thanks for the suggestion.0 -
Do you have CSF firewall. If so, just shut them both down for 30 seconds, see if you can establish a connection. Do you use Host Access Control ? Whitelist both servers on each other. 0 -
Do you have CSF firewall. If so, just shut them both down for 30 seconds, see if you can establish a connection. Do you use Host Access Control ? Whitelist both servers on each other.
Sorry to take so long in responding. When I disable CSF on both servers, I can use the transfer tool. Both servers are white listed on each other in the Host Access Control.0 -
Thanks for the update on this. That would indicate that is some type of firewall block on one or both systems, that is keeping the access between the servers from working properly. You'll want to make sure you can connect over port 2087 between the two systems as well, as you already mentioned SSH was working. 0 -
This is quite an old one but here I am in 2024 with the same issue. I have CSF on both servers and the fix was to add each servers IP into the other server's csf.allow file. I found this thread in a last minute search just before I was about to hit the submit button on a ticket to the data centre - so much time was possibly saved :) Thanks!
1
Please sign in to leave a comment.
Comments
10 comments