New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slow login/authentication page #2190
Comments
Did you enable feature to warn admin by email on login? |
Only "email user when user password is changed" was enabled, but i disabled it and no change. The mail setup is working (tested with teampass feature "send yourself ..."). edit 1 i tried to disable ldap auth, but it's still very long to authenticate. edit 2: i saw (in code) teampass seems to getting internet resources? is it true? Because my teampass have not anymore internet access edit 3 : i found where is the problem my pc which access to teamppass have no internet connection and the request to "ipapi.co" take long time before timeout. If i set ipapi.co in /etc/hosts to localhost all work. |
Hi, We are using v2.1.27.16 We are experiencing delays in login too - the issue is with both the ldap users as well as the local admin user. We have this hosted on a CentOS 7 server all up to date and patched. Running on HTTPD Any ideas? Thanks |
Can you please use the developer tools from your browser to identify what are the network queries that are too longs? |
Hi,
in fact my problem was link to the fact that my computer have no internet
access.
In the source code of teampass i found a line which make a request to guess
which country i come but without internet access i have to wait for
timeout. So i comment out this line and my teampass work like a charm.
For now i'm not at work so i cannot be more precise about which line in
which file i comment out.
Lionel.
Le jeu. 15 nov. 2018 à 20:10, Nils Laumaillé <notifications@github.com> a
écrit :
… Can you please use the developer tools from your browser to identify what
are the network queries that are too longs?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2190 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQn61cSvr-WiUmEdOIWiNoO4Pnwb8fMxks5uvbwygaJpZM4TJuIq>
.
|
Yes this issue was fixed in 2.1.27.27. Please upgrade the latest. |
Steps to reproduce
Expected behaviour
Login quickly like in previous version 2.1.27.10
Actual behaviour
Since upgrade to 2.1.27.11, login sometimes really long sometimes does not work.
Checked my ldap log, and teampass seems to waiting very long time (near a minute) before sending auth request to ldap.
In setting interface (ldap tab) when i make ldap test response is immediate.
So problem seems to be before teampass try authentication function.
Server configuration
Operating system: Centos 7.4
Web server: httpd 2.4.6-67
Database: mariadb
PHP version: php7.0.27-1.ius.centos7
Teampass version: Latest pre-relase (2018/0/06) 2.1.27.11
Teampass configuration file:
Updated from an older Teampass or fresh install:
PLEASE attach to this issue the file
/includes/config/tp.config.php
.Client configuration
Browser: firefox / chromium
Operating system: cnetos 7
Logs
Web server error log
nothing except this strange line (which does not seems to be linked to problem ) :
PHP Notice: Undefined index: pwComplexity in /var/www/html/teampass/index.php on line 881
The text was updated successfully, but these errors were encountered: