You are viewing limited content. For full access, please sign in.

Question

Question

"A call to SSPI failed, see inner exception." when testing smtp email from Laserfiche Workflow & Forms configuration

asked on February 5 Show version history

Hi, when we test email by providing our smtp configurations in Workflow Configuration Manager. Getting below error. Same is happening then testing from Forms server configuration.

 

Note: Same settings are working from my local machine but not from server. What can be the cause?

 

 

Inner Exception details:

----------------------------------------

Timestamp: 2020-02-02 06:19:07.492

Local Time: 02-02-2020 09:19:07

Category: Communication

Machine: 

Severity: Error

Application Domain: Laserfiche.Workflow.Service.exe

Process Id: 4888

Process Name: C:Program FilesLaserficheLaserfiche Workflow 10.2Laserfiche.Workflow.Service.exe

Win32 Thread Id: 5492 -

Thread Name:

Message: <Exception handlingInstanceId="">

  <Description>An exception of type 'Laserfiche.Connection.LFSOException' occurred and was caught.</Description>

  <DateTime>2020-02-02 09:19:07Z</DateTime>

  <ExceptionType>Laserfiche.Connection.LFSOException, Laserfiche.Workflow.Common, Version=8.3.0.0, Culture=neutral, PublicKeyToken=</ExceptionType>

  <Message>A call to SSPI failed, see inner exception.</Message>

  <Source />

  <HelpLink />

  <Property name="LFROError">False</Property>

  <Property name="LFSOError">False</Property>

  <Property name="ErrorCode">780</Property>

  <Property name="TargetSite">&lt;undefined value&gt;</Property>

  <Property name="HResult">-2146233088</Property>

  <StackTrace />

  <additionalInfo>

    <info name="MachineName" value="" />

    <info name="TimeStamp" value="02-02-2020 06:19:07" />

    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

    <info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />

    <info name="ThreadIdentity" value="" />

    <info name="WindowsIdentity" value="NT AUTHORITYSYSTEM" />

  </additionalInfo>

  <InnerException>

    <ExceptionType>System.Security.Authentication.AuthenticationException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>

    <Message>A call to SSPI failed, see inner exception.</Message>

    <Source>System</Source>

    <HelpLink />

    <Property name="Operation">TestEmailServer</Property>

    <Property name="Session">uuid:;id=7515</Property>

    <Property name="Application">Laserfiche.Workflow.ConfigurationManager.exe</Property>

    <Property name="User"></Property>

    <Property name="SID"></Property>

    <Property name="IP">127.0.0.1</Property>

    <Property name="RemoteMachine"></Property>

    <Property name="TargetSite">Void StartSendAuthResetSignal(System.Net.Security.ProtocolToken, System.Net.AsyncProtocolRequest, System.Exception)</Property>

    <Property name="HResult">-2146233087</Property>

    <StackTrace>   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)

   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)

   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.Mail.SmtpConnection.Flush()

   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)

   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)

   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)

   at System.Net.Mail.SmtpClient.GetConnection()

   at System.Net.Mail.SmtpClient.Send(MailMessage message)

   at Laserfiche.Workflow.Operations.DesignerSupport.TestEmailServerOperation.Execute(WcfOperationContext context)

   at Laserfiche.Workflow.Runtime.Systems.SubsystemCommandHandler.ProcessExecuteCommand(ExecuteOperationCommand command)

   at Laserfiche.Workflow.Runtime.WcfSubsystem.ExecuteOperation(OperationCommand operation)</StackTrace>

    <InnerException>

      <ExceptionType>System.ComponentModel.Win32Exception, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=</ExceptionType>

      <Message>The client and server cannot communicate, because they do not possess a common algorithm</Message>

      <Source />

      <HelpLink />

      <Property name="NativeErrorCode">-2146893007</Property>

      <Property name="ErrorCode">-2147467259</Property>

      <Property name="TargetSite"></Property>

      <Property name="HResult">-2147467259</Property>

      <StackTrace />

    </InnerException>

  </InnerException>

</Exception>

----------------------------------------

0 0

Answer

SELECTED ANSWER
replied on February 10

If this is Workflow 10.4.1 or lower, and you disabled TLS 1.0 and 1.1, you need extra configuration to use TLS 1.2. See this KB article.

1 0

Replies

replied on February 6

<info name="WindowsIdentity" value="NT AUTHORITYSYSTEM" />

The user specified for the Workflow Server service login does not have rights to authenticate to your mail server.

0 0
replied on February 8

Hi Mirnuna, just to add that I have tried the same SMTP settings from my local machine workflow configurations and it's successfully sending an email. My workflow service is running as local system too just like on server. I have tried changing Workflow service login to user instead of local system on server, but the same issue.

 

In addition, TelNet email test is failing on server. As this is customer's infrastructure without our full control, so I have requested them to at least make it work with TelNet email on server level first. Application's email should supposed to work then.

 

As per my searching on particular error, I'm finding that there is an issue with TLS version between client/server. Inner exception: <Message>The client and server cannot communicate, because they do not possess a common algorithm</Message>

 

I don't think there are any configuration level changes required within Laserfiche for this. Right?

0 0
SELECTED ANSWER
replied on February 10

If this is Workflow 10.4.1 or lower, and you disabled TLS 1.0 and 1.1, you need extra configuration to use TLS 1.2. See this KB article.

1 0
replied on February 10

Thanks a lot Miruna. It worked after applying the KB article.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.