1 minutes.

Error: Incorrect username or password to access the module

When updating the site, an error appears:
Authenticate login or password not valid! (Incorrect login or password to access the module!)
At the same time, the connection check does not produce errors, and this error appears only in the site update log.

The error is related to the hosting server settings, probably the web server does not have enough time to process the request, as well as one of the reasons for the lack of available memory for PHP when loading the site update file (the maximum size of the uploaded PHP file).

The following message may also appear in the web server log:
Timeout waiting for output from CGI script

PHP script in CGI mode does not run longer than 60 seconds.
PHP script despite the max_execution_time settings in php. ini exits after 60 seconds with an error in the apache log file
Timeout waiting for output from CGI script /var/www/user/data/php-bin/etrade_http_tunnel2/etrade_http_tunnel.php

For the Apache web server
In the file /etc/apache2/apache2. conf (/etc/httpd/conf/httpd. conf) increase the value for the parameter
timeout 300
(where 300 is the number of seconds that this script can run)
By default, in CentOS 7 this directive is not set and is equal to 60 seconds.

For the Nginx web server

To prevent nginx from giving a 502 error, you should write in its configuration:
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;

In the php. ini file, increase the values for the parameters:

  • post_max_size set value from 128M
  • upload_max_filesize set value from 64M

The current values on your hosting can be checked in the E-Trade Jumper program, for this, in the tunnel settings, click the "Test connection" button

Configuration via SSH/SFTP
To change the size of the uploaded file, you need to edit the php. ini file.
It is located in the /etc/php/apache2/php. ini directory for Debian/Ubuntu distributions, or /etc/php. ini (/etc/httpd/conf. d/php. conf) for CentOS/Fedora.
You must have root user privileges to edit the php. ini file. When connecting via SSH, you can use the console editor nano, vim, mcedit.
We are interested in the post_max_size and upload_max_filesize parameters. Set the parameters according to the size of the file you need to upload. For example:

post_max_size = 128M
. . . .
upload_max_filesize = 64M''

Please note that the upload_max_filesize parameter should not be greater than post_max_size, which will allow you to better process your file upload requests.
After editing php. ini, you need to restart the web server.
To do this, run the command as the root user:

service apache2 restart #for Debian/Ubuntu
service httpd restart #for CentOS/Fedora

If you are using the ISPManager panel

When using the ISP manager control panel, you need to do the following:

  1. Login as root user.
  2. Web server settings -> PHP -> Select PHP version -> Settings


Copywriter ElbuzGroup

Save a link to this article