[GH-ISSUE #497] Authentication Failed #386

Closed
opened 2026-02-25 21:34:54 +03:00 by kerem · 1 comment
Owner

Originally created by @Revisto on GitHub (Jul 6, 2021).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/497

💬 Question

When I enter a (correct) username and (correct) password and click login, a few seconds "authentication failed" pops up.
I did it with debug mode on and here is what I got:

2021/07/07 02:17:04 [error] 131205#131205: *75 FastCGI sent in stderr: "PHP message: Array
(
    [0] => Using Hm_PHP_Session with Hm_Auth_DB
    [1] => Using file based user configuration
    [2] => Using sapi: fpm-fcgi
    [3] => Request type: AJAX
    [4] => Request path: /mail-debug/
    [5] => TLS request: 0
    [6] => Mobile request: 0
    [7] => Page ID: ajax_nux_add_service
    [8] => Redis enabled but not supported by PHP
    [9] => Memcached enabled but not supported by PHP
    [10] => CACHE backend using: noop
    [11] => LOGGED IN
    [12] => PHP version 7.4.9
    [13] => Zend version 3.4.0
    [14] => Peak Memory: 2048
    [15] => PID: 130597
    [16] => Included files: 68
)" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /mail-debug/?page=servers HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "localhost"

I tried it with the manual installation and docker installation (in my server and in my local computer) and I got the same result.

Originally created by @Revisto on GitHub (Jul 6, 2021). Original GitHub issue: https://github.com/cypht-org/cypht/issues/497 ## 💬 Question <!-- Describe your Question in detail. Include screenshots and drawings if needed. --> When I enter a (correct) username and (correct) password and click login, a few seconds "authentication failed" pops up. I did it with debug mode on and here is what I got: ``` 2021/07/07 02:17:04 [error] 131205#131205: *75 FastCGI sent in stderr: "PHP message: Array ( [0] => Using Hm_PHP_Session with Hm_Auth_DB [1] => Using file based user configuration [2] => Using sapi: fpm-fcgi [3] => Request type: AJAX [4] => Request path: /mail-debug/ [5] => TLS request: 0 [6] => Mobile request: 0 [7] => Page ID: ajax_nux_add_service [8] => Redis enabled but not supported by PHP [9] => Memcached enabled but not supported by PHP [10] => CACHE backend using: noop [11] => LOGGED IN [12] => PHP version 7.4.9 [13] => Zend version 3.4.0 [14] => Peak Memory: 2048 [15] => PID: 130597 [16] => Included files: 68 )" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /mail-debug/?page=servers HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "localhost" ``` I tried it with the manual installation and docker installation (in my server and in my local computer) and I got the same result.
kerem closed this issue 2026-02-25 21:34:54 +03:00
Author
Owner

@Revisto commented on GitHub (Jul 7, 2021):

I fixed it. I was using my Gmail account to sign in and the thing is that for Gmail accounts that have 2step verification, app passwords are needed, and for the rest Less secure app access must be turned on.

<!-- gh-comment-id:875838735 --> @Revisto commented on GitHub (Jul 7, 2021): I fixed it. I was using my Gmail account to sign in and the thing is that for Gmail accounts that have 2step verification, [app passwords](https://support.google.com/accounts/answer/185833?hl=en) are needed, and for the rest [Less secure app access](https://hotter.io/docs/email-accounts/secure-app-gmail/) must be turned on.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#386
No description provided.