I have a BOT designed to reset users password. Apparently, the BOT is not sending a response automatically until a debug is done on the BOT.
Below is the error thrown.
Email password has been updated as well
I have a BOT designed to reset users password. Apparently, the BOT is not sending a response automatically until a debug is done on the BOT.
Below is the error thrown.
Email password has been updated as well
Please see additional error log
MailKit.Security.AuthenticationException: Authentication failed. at MailKit.Net.Imap.ImapClient.AuthenticateAsync(Encoding encoding, ICredentials credentials, Boolean doAsync, CancellationToken cancellationToken) in D:\src\MailKit\MailKit\Net\Imap\ImapClient.cs:line 1265
at MailKit.Net.Imap.ImapClient.Authenticate(Encoding encoding, ICredentials credentials, CancellationToken cancellationToken) in D:\src\MailKit\MailKit\Net\Imap\ImapClient.cs:line 1320
at MailKit.MailService.Authenticate(ICredentials credentials, CancellationToken cancellationToken) in D:\src\MailKit\MailKit\MailService.cs:line 1237
at UiPath.Mail.UiPMailKit.Extensions.IMailServiceExtensions.Authenticate(IMailService service, UserSettings userSettings, CancellationToken cancellationToken)
at UiPath.Mail.MailServiceFactory.CreateMailKitService(EmailProtocol protocol, String server, Int32 port, UserSettings userSettings, SecureSocketOptions options, Int32 timeout, CancellationToken cancellationToken)
at UiPath.Mail.MimeMailService.GetIMAPMessages(UserSettings userSettings, ServerSettings serverSettings, Int32 top, String mailfolder, String filterExpression, String charset, EOrderByDate orderByDate, SecureSocketEncryption SecureConnection, Boolean deleteMessages, Boolean onlyUnreadMessages, Boolean markAsRead, Action1 logAction, CancellationToken cancellationToken) at UiPath.Mail.IMAP.Activities.GetIMAPMailMessages.<>c__DisplayClass76_0.b__0() at System.Threading.Tasks.Task
1.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
— End of stack trace from previous location —
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
— End of stack trace from previous location —
at UiPath.Mail.Activities.Extensions.TaskExtensions.TimeoutAfter[TResult](Task`1 task, Int32 timeoutMs)
at UiPath.Mail.Activities.GetMailActivity.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Output Values: Empty
This looks like a credential/Authetication issue . did you happen to recheck them?
and also on what activity is it failing?
You can also check event viewer details on the bot machine to check any unusual behabiour
cheers
On manual debugging, the BOT is able to send a response. However, while using the Orchestrator, no response is sent out.
Can you tell me what activity is failing when you run from studio?
and can you check the event viewer logs when bot failed from orchestrator?
And as per screenshot bot is failing Get mails activity.
cheers