- Joined
- Jan 9, 2014
- Messages
- 5,076
- Reaction score
- 1,096
HI,
On windows pbxs on latest supported release, I noticed randomly on two different PBX , failed scheduled backup only on Windows PBXs, resolving IPV6 prior to IPV4 to resolve FTP location domain, in that case it's all the time an impossible access on FTP server and an undone backup.
I get this mail from pbx:
Your 3CX backup failed due to the following reason(s):
System.IO.IOException: Failed to connect to host.
at FluentFTP.FtpSocketStream.Connect(String host, Int32 port, FtpIpVersion ipVersions)
at FluentFTP.FtpClient.Connect(FtpSocketStream stream)
at FluentFTP.FtpClient.Connect()
at FluentFTP.FtpClient.Execute(String command)
at FluentFTP.FtpClient.DeleteFile(String path)
at _3cxFilesystemImplementations.FTP.FtpFilesystem.Delete(String filename)
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
If I uncheck IPV6 in NIC properties to disable it, it works instantly.
What is the best way to handle this with IPV6 enabled ?
Thanks for advices
On windows pbxs on latest supported release, I noticed randomly on two different PBX , failed scheduled backup only on Windows PBXs, resolving IPV6 prior to IPV4 to resolve FTP location domain, in that case it's all the time an impossible access on FTP server and an undone backup.
I get this mail from pbx:
Your 3CX backup failed due to the following reason(s):
System.IO.IOException: Failed to connect to host.
at FluentFTP.FtpSocketStream.Connect(String host, Int32 port, FtpIpVersion ipVersions)
at FluentFTP.FtpClient.Connect(FtpSocketStream stream)
at FluentFTP.FtpClient.Connect()
at FluentFTP.FtpClient.Execute(String command)
at FluentFTP.FtpClient.DeleteFile(String path)
at _3cxFilesystemImplementations.FTP.FtpFilesystem.Delete(String filename)
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
If I uncheck IPV6 in NIC properties to disable it, it works instantly.
What is the best way to handle this with IPV6 enabled ?
Thanks for advices
Last edited: