Login issue after upgrading to 6.1.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • telecastg
    replied
    Not sure if this helps but this is where the setting authTokenPreventConcurrent is set in Espo 7.x

    Click image for larger version

Name:	Screenshot 2022-02-02 122748.png
Views:	905
Size:	58.3 KB
ID:	78601

    Leave a comment:


  • arrestthepresident
    replied
    I am stuck with the new Version 7.x (I tested Espo Version 7.0.8 and 7.0.9) of Espo as i seem to have the same Issue. I have Espo Version 6.1.4 running perfectly on the same webspace as i now encounter a Error-401:

    XHR GET https://apps.hansdampf.de/crm/api/v1/I18n?default=true [HTTP/2 401 Unauthorized 74ms]
    XHR GET https://apps.hansdampf.de/crm/api/v1/Settings [HTTP/2 401 Unauthorized 74ms]

    rel(?): https://forum.espocrm.com/forum/inst...is-unavailable

    Also: In 7.x 'authTokenPreventConcurrent' does not seem to be available in the config.php file in the data directory. (So much for the fix until now)

    Leave a comment:


  • anuar
    commented on 's reply
    Great! Will upgrade this weekend

  • Christian
    commented on 's reply
    The upgrade to 6.1.1. works fine and fixes the problem, thanks so much!

  • vps
    commented on 's reply
    Works! Thanks for the quick workaround.

  • Maximus
    replied
    Hi everyone,
    We were able to reproduce the issue so now our developers are working on its fix.
    To be able to log in to your systems before we will deliver the fix, please open the config.php file in the data directory and set the 'authTokenPreventConcurrent' to false. E.g:
    Code:
    'authTokenPreventConcurrent' => false,
    After, refresh the EspoCRM webpage and try to log in.

    Leave a comment:


  • vps
    commented on 's reply
    Yes, the $authToken variable appears to be null.

  • yuri
    replied
    Could you debug to check whether $authToken variable is not null here https://github.com/espocrm/espocrm/b...ation.php#L167

    Leave a comment:


  • vps
    replied
    INFO: AUTH: Trying to login as user 'admin' by token but token is not found. [] []

    Leave a comment:


  • yuri
    replied
    Do you have the same problem if you install a clean version?

    Leave a comment:


  • yuri
    replied
    We could not reproduce it yet. Any help appreciated. If someone who has the problem could debug the issue it would be helpful.

    Leave a comment:


  • vps
    replied
    Originally posted by anuar
    I two different instance with EspoCRM, both where upgraded to 6.1.0. But I'm having login issue on one of them. I get to enter username and password, but after that it does nothing. Also no error in logs.
    We have the same problem ...

    Leave a comment:


  • Christian
    commented on 's reply
    sorry, i meant PHP 7.4.14

  • yuri
    commented on 's reply
    Are you sure you have PHP 7.1? This version is not supported by EspoCRM more than a year.

  • Christian
    replied
    I have the same problem.
    The log file are empty (warning).
    After reset folder permissions and delete cache (data\cache\) became the following messages from the page (firefox web developer):

    Code:
    XHRGET https://xxxxxx/api/v1/App/user
    [HTTP/1.1 401 Unauthorized 440ms]
    
    XHRPOST https://xxxxxx/api/v1/App/action/destroyAuthToken
    [HTTP/1.1 401 Unauthorized 440ms]
    
    Error 401: Unauthorized.
    PHP version 7.1.14
    Apache
    Windows 2012 r2
    MariaDB

    Leave a comment:

Working...