• Hi,

    We're trying to evaluate Theoepenem for use in our network, so we've done a fresh install. After following the install tutorial, we're getting the following on the first client we're trying (pre-provisioned via LDAP/AD sync)...

    2022-01-24 21:56:35,013 ERROR [4] ApiRequest - Error Retrieving API Response: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: The handshake failed due to an unexpected packet format.
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       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.ConnectStream.WriteHeaders(Boolean async)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetResponse()
       at RestSharp.Http.GetRawResponse(HttpWebRequest request)
       at RestSharp.Http.GetResponse(HttpWebRequest request)
    

    Any thoughts? We do have a firewall between the client and the server, but that's not blocking anything on port 8888.

    Thanks,
    Leigh


  • Seems like it could be firewall related. Have you installed the client on the server itself to verify it works?


  • @theopenem_admin

    Just did that to check - same error.


  • Did you verify this step and verify the certs are installed on the server?

    https://docs.theopenem.com/getting-started/test-apps/


  • @theopenem_admin Yes, I did that - followed the instructions word for word (got the '60').


  • @theopenem_admin Any other ideas? (Short of a re-install?)


  • I'm not sure why it's complaining about SSL. Did you set your Toec-API to use SSL? What is the URL of your com server?


  • @theopenem_admin That was it, much appreciated. Com server was set to https - changed this to http, rebuilt the clients and re-installed.

    Seems to be working now - I guess I'm so used to typing https!

    Many thanks,
    Leigh