- Joined
- Sep 20, 2017
- Messages
- 81
- Reaction score
- 12
I am backing up our PBX daily on Google Drive using the Scheduled Backup. However when the backup runs I get an email with the following error:
This only happens for the scheduled backup. If I do a backup manually, it is saved to Google Drive succesfully. I have tried De-Authorizing the backup and setting it up again but I am still encountering the same error. Has anyone experienced this and found a solution for it?
Code:
3CX Phone System tried to backup but failed due to the following reason(s):
System.Net.Http.HttpRequestExc
eption: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at Google.Apis.Http.ConfigurableMessageHandler.<SendAsync>d__59.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Google.Apis.Requests.ClientServiceRequest`1.<ExecuteUnparsedAsync>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Google.Apis.Requests.ClientServiceRequest`1.Execute()
at Google.Apis.Requests.PageStreamer`4.<Fetch>d__5.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at GoogleDriveImpl.GdFolder.DoGetFiles(String type)
at GoogleDriveImpl.GdFolder.GetFolderId(String path)
at GoogleDriveImpl.GdFolder..ctor(GoogleDriveCreds creds, String path, String folderId)
at _3cxBackupRestoreImpl.Filesystem.GoogleDrive.GdFileSystem.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)
This only happens for the scheduled backup. If I do a backup manually, it is saved to Google Drive succesfully. I have tried De-Authorizing the backup and setting it up again but I am still encountering the same error. Has anyone experienced this and found a solution for it?