by SuiteCRM

The Ultimate Outlook Plugin Has Arrived - In response to user requests, SuiteCRM have created the ultimate Outlook plugin which is maintained by SuiteCRM developers. Our plugin supports Outlook 2010 upwards and includes two way synchronisation with CRM, Calender, Calls, Meeting, Tasks and Email Archiving.

Cancel at any time!
Free Trial

#1276 - Could not construct 'login' request

Closed Bug? created by mcpacific a year ago

This comes up and I know I have the correct URL, username, password and License Key. I'm using Outlook 2010.

  1. mcox member avatar

    mcpacific

    a year ago

    Not sure if this is related, but my server only support https, and that is what I have in the URL.

  2. mcox member avatar

    mcpacific

    a year ago

    Here is the contents of my suitecrmoutlook.log file:

    VSTA_Main | ERROR | Unable to connect to SuiteCRM
    System.Exception: Could not construct 'login' request ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       --- End of inner exception stack trace ---
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
       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.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Net.TlsStream.CallProcessAuthentication(Object state)
       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.GetRequestStream(TransportContext& context)
       at System.Net.HttpWebRequest.GetRequestStream()
       at SuiteCRMClient.CrmRestServer.CreatePostRequest(String requestUrl, Byte[] bytes, String contentTypeAndEncoding)
       at SuiteCRMClient.CrmRestServer.CreateCrmRestRequest(String strMethod, Object objInput)
       --- End of inner exception stack trace ---
       at SuiteCRMClient.CrmRestServer.CreateCrmRestRequest(String strMethod, Object objInput)
       at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String method, Object input)
       at SuiteCRMClient.UserSession.AuthenticateCRM(String username, String pass)
       at SuiteCRMClient.UserSession.AuthenticateCRM()
       at SuiteCRMClient.UserSession.Login()
       at SuiteCRMAddIn.Dialogs.SettingsDialog.btnTestLogin_Click(Object sender, EventArgs e)
    Data:System.Collections.ListDictionaryInternal
    HResult:-2146233088
    
    

    Is TLS v1.2 supported?

  3. suitecrm member avatar

    SuiteCRM Provider Affiliate

    a year ago

    Hi mcpacific,

    If this is still an issue you need resolved I would recommend making the following changes in your php.ini:

    change error_reporting E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED to error_reporting(0);

    If this fails to resolve your issue you can send us your outlook plugin debug logs (logs set at level DEBUG) while replicating the issue to our support email address outlook[at]salesagility[dot]com referencing this Ticket #1276. If you could also include what PHP version you are running off of, that would be much appreciated and we'll investigate.

  4. suitecrm member avatar

    SuiteCRM Provider Affiliate

    6 months ago

    Please try out the latest version 3.0.18 and please create a new case if unresolved.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...