DK0029: MYSQL_DUMP_COMMON: Error (255): @kex_exchange_identification: Connection closed by remote host

I am attempting to import an existing WordPress staging site and am encountering this error after DevKinsta successfully created the MySQL database.

main.log output:

[2025-05-22 19:27:17.073] [info]  [dockerUtil/getContainer] Get 'devkinsta_fpm' Docker container
[2025-05-22 19:27:36.411] [info]  [containerExec] Command 'ssh asdf@35.245.139.135 -p 45087 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -o "ChallengeResponseAuthentication no" 'mysqldump  -h localhost -u asdf -p****** asdf > "/www/asdf_201/public/backup.sql"'' on devkinsta_fpm finished with exit code 255
[2025-05-22 19:27:36.417] [warn]  [dumpSiteDatabase] Some warnings from mysql: @kex_exchange_identification: Connection closed by remote host 
[2025-05-22 19:27:36.419] [error] Error - DK0029: MYSQL_DUMP_COMMON: Error (255): @kex_exchange_identification: Connection closed by remote host
    at C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:889258
    at tryCatch (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1832189)
    at Generator.<anonymous> (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1833838)
    at Generator.next (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1832738)
    at asyncGeneratorStep (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1824034)
    at _next (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1824333)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[2025-05-22 19:27:36.422] [error] [ipcMainStep] Error in operation SITE_CREATION, step rsync: Error - DK0029: MYSQL_DUMP_COMMON: Error (255): @kex_exchange_identification: Connection closed by remote host
    at C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:889258
    at tryCatch (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1832189)
    at Generator.<anonymous> (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1833838)
    at Generator.next (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1832738)
    at asyncGeneratorStep (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1824034)
    at _next (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1824333)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[2025-05-22 19:27:36.523] [info]  [ProgressIndicator] { isFailed: true, isOpen: true }

Info:
PHP Version = 8.2
Site type = WordPress 6.8.1
WebServer = NGINX
Database = MariaDB
WP Multisite = no

I have clicked “Retry” as suggested by this document. About 3 retry attempts were made in a 15 minute interval and all attempts had the same result as the initial failure.

I would appreciate any help into resolving this error. Please let me know if more information is needed to look into this.

Hi @RaffySantayana! Welcome to the Kinsta community forums! We appreciate you reaching out to us!

I’m sorry to see that you are experiencing this error when you attempt to import your staging site into DevKinsta. I understand the importance of resolving this as soon as possible.

I would like to ensure that no environment level issue is occurring on the MyKinsta staging site. Would it be possible to please private message me the name and domain of your staging site? You may also provide me the directly MyKinsta link to the environment as well. This will allow us to check and ensure no issues are occurring on the staging site that is preventing the SSH connection from completing successfully as required for the rsync process to complete.

We look forward to hearing from you!

Best regards