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.

Free 30 day trial
Try it Now

#442 - Trial SuiteCRM Outlook Plugin - Could not construct 'login' request

Closed Installation created by itmonitor 2 years ago

Hi,

I am trying the SuiteCRM Outlook Plugin 3.0 with SuiteCRM 7.8.3 and Windows 10. The plugin install went well but when I try to login the plugin with SuiteCRM it will not do so and display the following error message "Could not construct 'login' request".

  • Password is double checked and is ok
  • user id is ok
  • Serial was copy-pasted into the respective plugin field.
  • I can login with same user and password into the SuiteCRM web interface.

Please, any advice is welcome.

Rgs

IM

  1. hbartel member avatar

    hbar

    2 years ago

    More of a workaround then a true fix, but I had to turn off require https on my web server to get the plugin working when I had this error.
    SuiteCRM Outlook Add-In 3.0.5.0
    ISS on Windows Server 2012R2
    Outlook 2013

  2. itmonitor member avatar

    itmonitor

    2 years ago

    Hi hbar, many thanks for the workaround.

    In my case, for security reasons I need to force https serverwide. Is there perhaps a solution in this case?

    • hbartel member avatar

      hbar

      2 years ago

      See this tread Also are you using a self signed certificate? That could be part of the problem as well. If the certificate does not match the server name, for example you put in the IP address instead of the domain name, it could cause problems.

  3. itmonitor member avatar

    itmonitor

    2 years ago

    Hi hbar, thanks!

    I am not using a self signed certificate, but one issued by Comodo. The website and its certificate is graded A+ in the SSL Qualys Lab test and the certificate matches the server name. SuiteCRM is on a folder covered by the SSL certificate, the bar is green. Please, is there any log we could check? The server is running on Centos 6.9 with PHP 7.

    Any help is appreciated.

    Rgs

    IM

  4. suitecrm member avatar

    SuiteCRM Provider Affiliate

    2 years ago

    Hi itmonitor,

    The issue is with PHP 7.1 on the SuiteCRM side rather than the SuiteCRM Outlook. Recommend turning off the Fatals until the SuiteCRM is updated to resolve this.

    • SuiteCRM Outlook Plugin Team
    • itmonitor member avatar

      itmonitor

      2 years ago

      Thank you. Please how to disable the fatal in php.ini?

    • suitecrm member avatar

      SuiteCRM Provider Affiliate

      2 years ago

      Hi itmonitor,

      To disable errors you are looking for error_reporting in php.ini. E_ERROR should be removed to disable fatal error reporting.

      • SuiteCRM Outlook Plugin Team
  5. itmonitor member avatar

    itmonitor

    2 years ago

    Hi again, and many thanks! :-)

    In my php.ini E_ERROR is not enabled, here you have the setup:

    "error_reporting = E_ALL & ~E_NOTICE"

    Should I disable E_ALL and leave E_NOTICE?

    Rgs

    IM

    • suitecrm member avatar

      SuiteCRM Provider Affiliate

      2 years ago

      Hi itmonitor,

      Yes, removing E_ALL would disable fatal errors. "error_reporting = E_ALL & ~E_NOTICE" will report all errors except E_NOTICE. If you wanted to report errors other than fatal you can add E_WARNING | E_PARSE

      • SuiteCRM Outlook Plugin Team
  6. itmonitor member avatar

    itmonitor

    2 years ago

    Thank you. Meanwhile, I removed the full line "error_reporting = E_ALL & ~E_NOTICE" by commenting it. Restarted Apache. But the issue "Could not construct 'login' request" persists. I really need help to solve this in order to start using the plugin.

    Rgs

    IM

    • suitecrm member avatar

      SuiteCRM Provider Affiliate

      2 years ago

      Hi itmonitor,

      You just need to remove the fatal error reporting, not comment out the full line. If you add back in error_reporting line but remove the E_ALL, it should work.

      • SuiteCRM Outlook Plugin Team
  7. itmonitor member avatar

    itmonitor

    2 years ago

    is there any way I can PM to you the suitecrmoutlook.log file?

    • suitecrm member avatar

      SuiteCRM Provider Affiliate

      2 years ago

      Hi itmonitor,

      You can contact us directly at outlook[at]salesagility[dot]com referencing this Ticket #442

      • SuiteCRM Outlook Plugin Team
  8. Simon_Brooke member avatar

    Simon_Brooke

    2 years ago

    Two problems here:

    1. No licence key (or licence key not entered);
    2. Wrong URL entered.

    Some URL was entered or the add-in would not have tried to call login (I think, will test this); what it was I can't tell at this logging level. The URL seems to have resolved to something, since an attempt was made to make a connection - we don't seem to have a DNS issue or a no-such-machine issue (I think - again hard to tell at this logging level). But the server at that URL did not respond, so it was not the correct URL of a SuiteCRM instance.

    Beyond that I can't diagnose, but it looks like a simple misconfiguration issue.

    2017-06-21 15:20:09,300 | Background | ERROR | Licence server responded "Key is required."
    2017-06-21 15:20:48,581 | Background | ERROR | Failed calling 'login'
    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: Authentication failed because the remote party has closed the transport stream.
    

    Leave a comment
    ‚Äč

  9. Simon_Brooke member avatar

    Simon_Brooke

    2 years ago

    In testing, I'm able to recreate exactly this sequence of log messages if I use the wrong protocol part of the URL (i.e., 'https:' instead of 'http:').

    Please check your URL.

  10. itmonitor member avatar

    itmonitor

    2 years ago

    Simon,

    many thanks for your time to help me solve this issue. However, I reinstalled the plugin (having removed it yesterday, it was slowing down my Outlook) and tested the configuration, it will not work. Please, see screenshot attached.
    When I go to the web interface typing exactly the same https address, it will let me login without issue. I wonder if you could make a test, I am ready to let you login into my CRM and/or test the plugin in your Outlook 2013. How can I private message you the credentials, serial and the SuiteCRM login page address?

  11. itmonitor member avatar

    itmonitor

    2 years ago

    SuiteCRM.png

  12. hbartel member avatar

    hbar

    2 years ago

    Itmonitor, Try switching your PHP version to 7.0 or 5.6 on your webserver. I was unable to get the fatal errors to stop when I had PHP 7.1 active (shared host so I don't have full control of the PHP options) but switching to an older version of PHP solved the problem.

  13. itmonitor member avatar

    itmonitor

    2 years ago

    @hbar, many thanks. I have PHP 7.0 and 5.6 enabled in my server.

  14. itmonitor member avatar

    itmonitor

    2 years ago

    Is there anybody from SuiteCRM willing to make a test and help me solve this issue?

  15. Simon_Brooke member avatar

    Simon_Brooke

    2 years ago

    Hi itmonitor, I'm on this this morning. Are you sure your web server is responding on https? I can reproduce your issue by using the wrong protocol (i.e. using 'https' where it should be 'http').

    What URL do you use when you go to the CRM system in a browser?

  16. Simon_Brooke member avatar

    Simon_Brooke

    2 years ago

    My reference for this issue is #189 (you don't need to worry about that, it's just a reminder for me to tie issues together).

  17. accountant member avatar

    accountant

    2 years ago

    Simon, many thanks! :-) The https webserver is working. The SuiteCRM plugin will accept https adresses? I can send you the SuiteCRM webserver address through email or if there is any way to PM you, please let me know.

  18. itmonitor member avatar

    itmonitor

    2 years ago

    @Simon good morning! Please, check here https://diigo.com/09wf9o the screenshot of SuiteCRM working in HTTPS. Please, let me know if the SuiteCRM Outlook plugin works with https.

  19. itmonitor member avatar

    itmonitor

    2 years ago

    Hello, anybody can tell me if SuiteCRM Outlook plugin works with https?

  20. itmonitor member avatar

    itmonitor

    2 years ago

    I will need to hire a developer to help me fix this SuiteCRM plugin issue. Please, you can close this ticket/thread. Thank you.

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