#123 Can't publish nor autenthicate from AndStatus to my node in Nightly

Open
opened 5 months ago by colegota · 5 comments

Hi!

this came from AndStatus issues here https://github.com/andstatus/andstatus/issues/520

Since I moved my node from 1.03 to Nightly with 2.0-dev I can't publish from AndStatus while I can read my timelines and get notifications at the app.

Also if I try to re-authenticate my credentials in AndStatus it fails, but this is only for publishing by now.

I'm running nightly with apache and php 7.3. Andstatus v53.02.

config.php only has as extra plugins StoreRemoteMedia, ModPlus and ActivityPub.

After trying to publish a new message from AndStatus I got 4 lines related in GS log.

2020-04-07 14:07:44 LOG_DEBUG: [gnusocial.villanos.net:21370.1bacc357 GET /api/account/rate_limit_status.json] action.php - User error '401' on 'apiaccountratelimitstatus': No ha sido posible autenticarte.
2020-04-07 14:08:16 LOG_DEBUG: [gnusocial.villanos.net:21550.8ca916ea GET /api/direct_messages.json?count=20&user_id=8885] action.php - User error '401' on 'apidirectmessage': No ha sido posible autenticarte.
2020-04-07 14:08:38 LOG_DEBUG: [gnusocial.villanos.net:21692.b98be38e POST /api/statuses/update.json] action.php - User error '401' on 'apistatusesupdate': No ha sido posible autenticarte.
2020-04-07 14:08:39 LOG_DEBUG: [gnusocial.villanos.net:21692.66ff9222 POST /api/statuses/update.json] action.php - User error '401' on 'apistatusesupdate': No ha sido posible autenticarte.

(*) No ha sido posible autenticarte = No possible to authenticate you

Did attached the file for that period.

In Andstatus I got this:

E; Post , foreground "Testing publishing from andstatus", 
Created two minutes ago, 
executed:1, last:two minutes ago, retriesLeft:9, error:Hard,  
updateNote; content:'Testing publishing from andstatus', 
Status code=UNAUTHORIZED; hard; 
; statusLine:'HTTP/1.1 401 Unauthorized'; statusCode:UNAUTHORIZED (401); url:'https://gnusocial.villanos.net/api/statuses/update.json'; legacy HTTP; authenticated; posted:'{"status":"Testing publishing from andstatus","source":"AndStatus"}'; response:'{"error":"No ha sido posible…'; error='No ha sido posible autenticarte.', 
CommandData:{command: update-status, account: coleviajes@gnusocial.villanos.net/GnuSocial "Testing publishing from andstatus", itemId: 63963, foreground, created:3 seconds ago, CommandResult:{error:Hard}}
# git log -1
commit f5aeab39b40db3f185e7da58700598828d362154 (HEAD -> nightly, origin/nightly, origin/experimental, origin/HEAD)
Author: Alexei Sorokin <sor.alexei@meowr.ru>
Date:   Tue Jan 7 17:16:07 2020 +0300

    [PEAR DB_DataObject] Make static methods in Cast actually static

Let me know what more info I can provide.

Regards!
Colegota

Hi! this came from AndStatus issues here https://github.com/andstatus/andstatus/issues/520 Since I moved my node from 1.03 to Nightly with 2.0-dev I can't publish from AndStatus while I can read my timelines and get notifications at the app. Also if I try to re-authenticate my credentials in AndStatus it fails, but this is only for publishing by now. I'm running nightly with apache and php 7.3. Andstatus v53.02. config.php only has as extra plugins StoreRemoteMedia, ModPlus and ActivityPub. After trying to publish a new message from AndStatus I got 4 lines related in GS log. ``` 2020-04-07 14:07:44 LOG_DEBUG: [gnusocial.villanos.net:21370.1bacc357 GET /api/account/rate_limit_status.json] action.php - User error '401' on 'apiaccountratelimitstatus': No ha sido posible autenticarte. 2020-04-07 14:08:16 LOG_DEBUG: [gnusocial.villanos.net:21550.8ca916ea GET /api/direct_messages.json?count=20&user_id=8885] action.php - User error '401' on 'apidirectmessage': No ha sido posible autenticarte. 2020-04-07 14:08:38 LOG_DEBUG: [gnusocial.villanos.net:21692.b98be38e POST /api/statuses/update.json] action.php - User error '401' on 'apistatusesupdate': No ha sido posible autenticarte. 2020-04-07 14:08:39 LOG_DEBUG: [gnusocial.villanos.net:21692.66ff9222 POST /api/statuses/update.json] action.php - User error '401' on 'apistatusesupdate': No ha sido posible autenticarte. ``` (*) No ha sido posible autenticarte = No possible to authenticate you Did attached the file for that period. In Andstatus I got this: ``` E; Post , foreground "Testing publishing from andstatus", Created two minutes ago, executed:1, last:two minutes ago, retriesLeft:9, error:Hard, updateNote; content:'Testing publishing from andstatus', Status code=UNAUTHORIZED; hard; ; statusLine:'HTTP/1.1 401 Unauthorized'; statusCode:UNAUTHORIZED (401); url:'https://gnusocial.villanos.net/api/statuses/update.json'; legacy HTTP; authenticated; posted:'{"status":"Testing publishing from andstatus","source":"AndStatus"}'; response:'{"error":"No ha sido posible…'; error='No ha sido posible autenticarte.', CommandData:{command: update-status, account: coleviajes@gnusocial.villanos.net/GnuSocial "Testing publishing from andstatus", itemId: 63963, foreground, created:3 seconds ago, CommandResult:{error:Hard}} ``` ``` # git log -1 commit f5aeab39b40db3f185e7da58700598828d362154 (HEAD -> nightly, origin/nightly, origin/experimental, origin/HEAD) Author: Alexei Sorokin <sor.alexei@meowr.ru> Date: Tue Jan 7 17:16:07 2020 +0300 [PEAR DB_DataObject] Make static methods in Cast actually static ``` Let me know what more info I can provide. Regards! Colegota
Diogo Cordeiro commented 5 months ago
Owner

Did attached the file for that period.

Unfortunately notabug isn't accepting attachments properly, can you link to it or post a new comment with it pasted?

> Did attached the file for that period. Unfortunately notabug isn't accepting attachments properly, can you link to it or post a new comment with it pasted?
Diogo Cordeiro commented 5 months ago
Owner

Here goes a long shot: can you try disabling the DirectMessage plugin?

Here goes a long shot: can you try disabling the `DirectMessage` plugin?
colegota commented 5 months ago
Poster
here is the file http://gnusocial.villanos.net/gs2-log-20200407-pub-coleviajes.txt DirectMessage disabled
colegota commented 5 months ago
Poster

Hi!

Did upgraded to last commit and the result keeps the same.

# git log -1
commit e58188d13640721d2da866bfbab9c036df7acb5d (HEAD -> nightly, origin/nightly, origin/HEAD)
Author: Diogo Cordeiro <diogo@fc.up.pt>
Date:   Tue Apr 7 02:45:48 2020 +0100

    [UI] Small improvement on attachment's visual

2020-04-10 19:24:41 LOG_DEBUG: [gnusocial.villanos.net:8130.349b65bb GET /api/account/rate_limit_status.json] action.php - User error '401' on 'apiaccountratelimitstatus': No ha sido posible autenticarte.

Let me know if I can check anything else.

Regards!
Colegota

Hi! Did upgraded to last commit and the result keeps the same. ``` # git log -1 commit e58188d13640721d2da866bfbab9c036df7acb5d (HEAD -> nightly, origin/nightly, origin/HEAD) Author: Diogo Cordeiro <diogo@fc.up.pt> Date: Tue Apr 7 02:45:48 2020 +0100 [UI] Small improvement on attachment's visual ``` `2020-04-10 19:24:41 LOG_DEBUG: [gnusocial.villanos.net:8130.349b65bb GET /api/account/rate_limit_status.json] action.php - User error '401' on 'apiaccountratelimitstatus': No ha sido posible autenticarte.` Let me know if I can check anything else. Regards! Colegota
colegota commented 5 months ago
Poster

Just trying to get a little more info on this I did increased logs.

I've found that flow reaches checkBasicAuthUser() in lib/api/apiauthaction.php with no data for user properties.

My traces:

    function checkBasicAuthUser($required = true)
    {
        common_debug("[___colegota] start checkBasicAuthUser: with required '{$required}' " . print_r($this, true));

        $this->basicAuthProcessHeader();

        common_debug('[___colegota] checkBasicAuthUser after basicAuthProcessHeader: ' . print_r($this, true));

        $realm = common_config('api', 'realm');

        if (empty($realm)) {
            $realm = common_config('site', 'name') . ' API';
        }

        if (empty($this->auth_user_nickname) && $required) {
            header('WWW-Authenticate: Basic realm="' . $realm . '"');

            common_debug('[___colegota] empty nickname before clientError: ' . print_r($this, true));

            // show error if the user clicks 'cancel'
            // TRANS: Client error thrown when authentication fails because a user clicked "Cancel".
            $this->clientError(_('Could not authenticate you.'), 401);

        } else {
            // $this->auth_user_nickname - i.e. PHP_AUTH_USER - will have a value since it was not empty

            $user = common_check_user($this->auth_user_nickname,
                                      $this->auth_user_password);

            common_debug("[___colegota] user '{$user}':" . print_r($this, true));

            Event::handle('StartSetApiUser', array(&$user));
            if ($user instanceof User) {
                if (!$user->hasRight(Right::API)) {
                    // TRANS: Authorization exception thrown when a user without API access tries to access the API.
                    throw new AuthorizationException(_('Not allowed to use API.'));
                }
                $this->auth_user = $user;

                Event::handle('EndSetApiUser', array($this->auth_user));
            } else {
                $this->auth_user = null;
            }

            if ($required && $this->auth_user instanceof User) {
                // By default, basic auth users have rw access
                $this->access = self::READ_WRITE;
            } elseif ($required) {
                $msg = sprintf(
                    "basic auth nickname = %s",
                    $this->auth_user_nickname
                );
                $this->logAuthFailure($msg);

                // We must present WWW-Authenticate in accordance to HTTP status code 401
                header('WWW-Authenticate: Basic realm="' . $realm . '"');
                // TRANS: Client error thrown when authentication fails.
        
                common_debug('[___colegota] before clientError?: ' . print_r($this, true));
                
                $this->clientError(_('Could not authenticate you.'), 401);
            } else {
                // all get rw access for actions that don't require auth
                $this->access = self::READ_WRITE;
            }
        }
    }

log output:

2020-04-11 17:44:49 LOG_DEBUG: [gnusocial.villanos.net:25395.3bfca004 GET /api/account/rate_limit_status.json] [___colegota] start checkBasicAuthUser: with required '1' ApiAccountRateLimitStatusAction Object
(
    [auth_user_nickname] => 
    [auth_user_password] => 
    [user] => 
    [auth_user] => 
    [page] => 1
    [count] => 20
    [offset] => 0
    [limit] => 21
    [max_id] => 0
    [since_id] => 0
    [source] => api
    [callback] => 
    [format] => json
    [access] => 1
    [args] => Array
        (
            [action] => ApiAccountRateLimitStatus
            [format] => json
            [p] => api/account/rate_limit_status.json
        )

    [action:protected] => apiaccountratelimitstatus
    [ajax:protected] => 
    [menus:protected] => 1
    [needLogin:protected] => 
    [redirectAfterLogin:protected] => 
    [needPost:protected] => 
    [canPost:protected] => 
    [scoped:protected] => Profile Object
        (
            [__table] => profile
            [id] => 2
            [nickname] => colegota
            [fullname] => Colegota El Villano
            [profileurl] => https://gnusocial.villanos.net/colegota
            [homepage] => http://colegota.fotolibre.net
            [bio] => Dando tumbos por la #autogestión (o no) :O
            [location] => 
            [lat] => 
            [lon] => 
            [location_id] => 
            [location_ns] => 
            [created] => 2018-03-12 10:13:14
            [modified] => 2018-03-17 11:25:56
            [_user:protected] => Array
                (
                )

            [_group:protected] => Array
                (
                )

            [_DB_DataObject_version] => 1.11.3
            [N] => 1
            [_database_dsn] => 
            [_database_dsn_md5] => xxx
            [_database] => xxx
            [_query] => Array
                (
                    [condition] => 
                    [group_by] => 
                    [order_by] => 
                    [having] => 
                    [useindex] => 
                    [limit_start] => 
                    [limit_count] => 
                    [data_select] => *
                    [unions] => Array
                        (
                        )

                    [derive_table] => 
                    [derive_select] => 
                )

            [_DB_resultid] => 6
            [_resultFields] => 
            [_link_loaded] => 
            [_join] => 
            [_lastError] => 
        )

    [error:protected] => 
    [msg:protected] => 
    [DTD:protected] => Array
        (
            [doctype] => html
            [spec] => -//W3C//DTD XHTML 1.0 Strict//EN
            [uri] => http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
        )

    [xw] => XMLWriter Object
        (
        )

)

2020-04-11 17:44:49 LOG_DEBUG: [gnusocial.villanos.net:25395.3bfca004 GET /api/account/rate_limit_status.json] [___colegota] checkBasicAuthUser after basicAuthProcessHeader: ApiAccountRateLimitStatusAction Object
(
    [auth_user_nickname] => 
    [auth_user_password] => 
    [user] => 
    [auth_user] => 
    [page] => 1
    [count] => 20
    [offset] => 0
    [limit] => 21
    [max_id] => 0
    [since_id] => 0
    [source] => api
    [callback] => 
    [format] => json
    [access] => 1
    [args] => Array
        (
            [action] => ApiAccountRateLimitStatus
            [format] => json
            [p] => api/account/rate_limit_status.json
        )

    [action:protected] => apiaccountratelimitstatus
    [ajax:protected] => 
    [menus:protected] => 1
    [needLogin:protected] => 
    [redirectAfterLogin:protected] => 
    [needPost:protected] => 
    [canPost:protected] => 
    [scoped:protected] => Profile Object
        (
            [__table] => profile
            [id] => 2
            [nickname] => colegota
            [fullname] => Colegota El Villano
            [profileurl] => https://gnusocial.villanos.net/colegota
            [homepage] => http://colegota.fotolibre.net
            [bio] => Dando tumbos por la #autogestión (o no) :O
            [location] => 
            [lat] => 
            [lon] => 
            [location_id] => 
            [location_ns] => 
            [created] => 2018-03-12 10:13:14
            [modified] => 2018-03-17 11:25:56
            [_user:protected] => Array
                (
                )

            [_group:protected] => Array
                (
                )

            [_DB_DataObject_version] => 1.11.3
            [N] => 1
            [_database_dsn] => 
            [_database_dsn_md5] => xxx
            [_database] => xxx
            [_query] => Array
                (
                    [condition] => 
                    [group_by] => 
                    [order_by] => 
                    [having] => 
                    [useindex] => 
                    [limit_start] => 
                    [limit_count] => 
                    [data_select] => *
                    [unions] => Array
                        (
                        )

                    [derive_table] => 
                    [derive_select] => 
                )

            [_DB_resultid] => 6
            [_resultFields] => 
            [_link_loaded] => 
            [_join] => 
            [_lastError] => 
        )

    [error:protected] => 
    [msg:protected] => 
    [DTD:protected] => Array
        (
            [doctype] => html
            [spec] => -//W3C//DTD XHTML 1.0 Strict//EN
            [uri] => http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
        )

    [xw] => XMLWriter Object
        (
        )

)

2020-04-11 17:44:49 LOG_DEBUG: [gnusocial.villanos.net:25395.3bfca004 GET /api/account/rate_limit_status.json] [___colegota] empty nickname before clientError: ApiAccountRateLimitStatusAction Object
(
    [auth_user_nickname] => 
    [auth_user_password] => 
    [user] => 
    [auth_user] => 
    [page] => 1
    [count] => 20
    [offset] => 0
    [limit] => 21
    [max_id] => 0
    [since_id] => 0
    [source] => api
    [callback] => 
    [format] => json
    [access] => 1
    [args] => Array
        (
            [action] => ApiAccountRateLimitStatus
            [format] => json
            [p] => api/account/rate_limit_status.json
        )

    [action:protected] => apiaccountratelimitstatus
    [ajax:protected] => 
    [menus:protected] => 1
    [needLogin:protected] => 
    [redirectAfterLogin:protected] => 
    [needPost:protected] => 
    [canPost:protected] => 
    [scoped:protected] => Profile Object
        (
            [__table] => profile
            [id] => 2
            [nickname] => colegota
            [fullname] => Colegota El Villano
            [profileurl] => https://gnusocial.villanos.net/colegota
            [homepage] => http://colegota.fotolibre.net
            [bio] => Dando tumbos por la #autogestión (o no) :O
            [location] => 
            [lat] => 
            [lon] => 
            [location_id] => 
            [location_ns] => 
            [created] => 2018-03-12 10:13:14
            [modified] => 2018-03-17 11:25:56
            [_user:protected] => Array
                (
                )

            [_group:protected] => Array
                (
                )

            [_DB_DataObject_version] => 1.11.3
            [N] => 1
            [_database_dsn] => 
            [_database_dsn_md5] => xxx
            [_database] => xxx
            [_query] => Array
                (
                    [condition] => 
                    [group_by] => 
                    [order_by] => 
                    [having] => 
                    [useindex] => 
                    [limit_start] => 
                    [limit_count] => 
                    [data_select] => *
                    [unions] => Array
                        (
                        )

                    [derive_table] => 
                    [derive_select] => 
                )

            [_DB_resultid] => 6
            [_resultFields] => 
            [_link_loaded] => 
            [_join] => 
            [_lastError] => 
        )

    [error:protected] => 
    [msg:protected] => 
    [DTD:protected] => Array
        (
            [doctype] => html
            [spec] => -//W3C//DTD XHTML 1.0 Strict//EN
            [uri] => http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
        )

    [xw] => XMLWriter Object
        (
        )

)

2020-04-11 17:44:49 LOG_DEBUG: [gnusocial.villanos.net:25395.3bfca004 GET /api/account/rate_limit_status.json] action.php - User error '401' on 'apiaccountratelimitstatus': No ha sido posible autenticarte. ___and format[json]

That function it's called more times, just put above the one it shows 'Could not authenticate you' message. The whole file for the test period can be found here:

http://gnusocial.villanos.net/gs22-log7.txt

Just trying to get a little more info on this I did increased logs. I've found that flow reaches checkBasicAuthUser() in lib/api/apiauthaction.php with no data for user properties. My traces: ``` function checkBasicAuthUser($required = true) { common_debug("[___colegota] start checkBasicAuthUser: with required '{$required}' " . print_r($this, true)); $this->basicAuthProcessHeader(); common_debug('[___colegota] checkBasicAuthUser after basicAuthProcessHeader: ' . print_r($this, true)); $realm = common_config('api', 'realm'); if (empty($realm)) { $realm = common_config('site', 'name') . ' API'; } if (empty($this->auth_user_nickname) && $required) { header('WWW-Authenticate: Basic realm="' . $realm . '"'); common_debug('[___colegota] empty nickname before clientError: ' . print_r($this, true)); // show error if the user clicks 'cancel' // TRANS: Client error thrown when authentication fails because a user clicked "Cancel". $this->clientError(_('Could not authenticate you.'), 401); } else { // $this->auth_user_nickname - i.e. PHP_AUTH_USER - will have a value since it was not empty $user = common_check_user($this->auth_user_nickname, $this->auth_user_password); common_debug("[___colegota] user '{$user}':" . print_r($this, true)); Event::handle('StartSetApiUser', array(&$user)); if ($user instanceof User) { if (!$user->hasRight(Right::API)) { // TRANS: Authorization exception thrown when a user without API access tries to access the API. throw new AuthorizationException(_('Not allowed to use API.')); } $this->auth_user = $user; Event::handle('EndSetApiUser', array($this->auth_user)); } else { $this->auth_user = null; } if ($required && $this->auth_user instanceof User) { // By default, basic auth users have rw access $this->access = self::READ_WRITE; } elseif ($required) { $msg = sprintf( "basic auth nickname = %s", $this->auth_user_nickname ); $this->logAuthFailure($msg); // We must present WWW-Authenticate in accordance to HTTP status code 401 header('WWW-Authenticate: Basic realm="' . $realm . '"'); // TRANS: Client error thrown when authentication fails. common_debug('[___colegota] before clientError?: ' . print_r($this, true)); $this->clientError(_('Could not authenticate you.'), 401); } else { // all get rw access for actions that don't require auth $this->access = self::READ_WRITE; } } } ``` log output: ``` 2020-04-11 17:44:49 LOG_DEBUG: [gnusocial.villanos.net:25395.3bfca004 GET /api/account/rate_limit_status.json] [___colegota] start checkBasicAuthUser: with required '1' ApiAccountRateLimitStatusAction Object ( [auth_user_nickname] => [auth_user_password] => [user] => [auth_user] => [page] => 1 [count] => 20 [offset] => 0 [limit] => 21 [max_id] => 0 [since_id] => 0 [source] => api [callback] => [format] => json [access] => 1 [args] => Array ( [action] => ApiAccountRateLimitStatus [format] => json [p] => api/account/rate_limit_status.json ) [action:protected] => apiaccountratelimitstatus [ajax:protected] => [menus:protected] => 1 [needLogin:protected] => [redirectAfterLogin:protected] => [needPost:protected] => [canPost:protected] => [scoped:protected] => Profile Object ( [__table] => profile [id] => 2 [nickname] => colegota [fullname] => Colegota El Villano [profileurl] => https://gnusocial.villanos.net/colegota [homepage] => http://colegota.fotolibre.net [bio] => Dando tumbos por la #autogestión (o no) :O [location] => [lat] => [lon] => [location_id] => [location_ns] => [created] => 2018-03-12 10:13:14 [modified] => 2018-03-17 11:25:56 [_user:protected] => Array ( ) [_group:protected] => Array ( ) [_DB_DataObject_version] => 1.11.3 [N] => 1 [_database_dsn] => [_database_dsn_md5] => xxx [_database] => xxx [_query] => Array ( [condition] => [group_by] => [order_by] => [having] => [useindex] => [limit_start] => [limit_count] => [data_select] => * [unions] => Array ( ) [derive_table] => [derive_select] => ) [_DB_resultid] => 6 [_resultFields] => [_link_loaded] => [_join] => [_lastError] => ) [error:protected] => [msg:protected] => [DTD:protected] => Array ( [doctype] => html [spec] => -//W3C//DTD XHTML 1.0 Strict//EN [uri] => http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ) [xw] => XMLWriter Object ( ) ) 2020-04-11 17:44:49 LOG_DEBUG: [gnusocial.villanos.net:25395.3bfca004 GET /api/account/rate_limit_status.json] [___colegota] checkBasicAuthUser after basicAuthProcessHeader: ApiAccountRateLimitStatusAction Object ( [auth_user_nickname] => [auth_user_password] => [user] => [auth_user] => [page] => 1 [count] => 20 [offset] => 0 [limit] => 21 [max_id] => 0 [since_id] => 0 [source] => api [callback] => [format] => json [access] => 1 [args] => Array ( [action] => ApiAccountRateLimitStatus [format] => json [p] => api/account/rate_limit_status.json ) [action:protected] => apiaccountratelimitstatus [ajax:protected] => [menus:protected] => 1 [needLogin:protected] => [redirectAfterLogin:protected] => [needPost:protected] => [canPost:protected] => [scoped:protected] => Profile Object ( [__table] => profile [id] => 2 [nickname] => colegota [fullname] => Colegota El Villano [profileurl] => https://gnusocial.villanos.net/colegota [homepage] => http://colegota.fotolibre.net [bio] => Dando tumbos por la #autogestión (o no) :O [location] => [lat] => [lon] => [location_id] => [location_ns] => [created] => 2018-03-12 10:13:14 [modified] => 2018-03-17 11:25:56 [_user:protected] => Array ( ) [_group:protected] => Array ( ) [_DB_DataObject_version] => 1.11.3 [N] => 1 [_database_dsn] => [_database_dsn_md5] => xxx [_database] => xxx [_query] => Array ( [condition] => [group_by] => [order_by] => [having] => [useindex] => [limit_start] => [limit_count] => [data_select] => * [unions] => Array ( ) [derive_table] => [derive_select] => ) [_DB_resultid] => 6 [_resultFields] => [_link_loaded] => [_join] => [_lastError] => ) [error:protected] => [msg:protected] => [DTD:protected] => Array ( [doctype] => html [spec] => -//W3C//DTD XHTML 1.0 Strict//EN [uri] => http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ) [xw] => XMLWriter Object ( ) ) 2020-04-11 17:44:49 LOG_DEBUG: [gnusocial.villanos.net:25395.3bfca004 GET /api/account/rate_limit_status.json] [___colegota] empty nickname before clientError: ApiAccountRateLimitStatusAction Object ( [auth_user_nickname] => [auth_user_password] => [user] => [auth_user] => [page] => 1 [count] => 20 [offset] => 0 [limit] => 21 [max_id] => 0 [since_id] => 0 [source] => api [callback] => [format] => json [access] => 1 [args] => Array ( [action] => ApiAccountRateLimitStatus [format] => json [p] => api/account/rate_limit_status.json ) [action:protected] => apiaccountratelimitstatus [ajax:protected] => [menus:protected] => 1 [needLogin:protected] => [redirectAfterLogin:protected] => [needPost:protected] => [canPost:protected] => [scoped:protected] => Profile Object ( [__table] => profile [id] => 2 [nickname] => colegota [fullname] => Colegota El Villano [profileurl] => https://gnusocial.villanos.net/colegota [homepage] => http://colegota.fotolibre.net [bio] => Dando tumbos por la #autogestión (o no) :O [location] => [lat] => [lon] => [location_id] => [location_ns] => [created] => 2018-03-12 10:13:14 [modified] => 2018-03-17 11:25:56 [_user:protected] => Array ( ) [_group:protected] => Array ( ) [_DB_DataObject_version] => 1.11.3 [N] => 1 [_database_dsn] => [_database_dsn_md5] => xxx [_database] => xxx [_query] => Array ( [condition] => [group_by] => [order_by] => [having] => [useindex] => [limit_start] => [limit_count] => [data_select] => * [unions] => Array ( ) [derive_table] => [derive_select] => ) [_DB_resultid] => 6 [_resultFields] => [_link_loaded] => [_join] => [_lastError] => ) [error:protected] => [msg:protected] => [DTD:protected] => Array ( [doctype] => html [spec] => -//W3C//DTD XHTML 1.0 Strict//EN [uri] => http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ) [xw] => XMLWriter Object ( ) ) 2020-04-11 17:44:49 LOG_DEBUG: [gnusocial.villanos.net:25395.3bfca004 GET /api/account/rate_limit_status.json] action.php - User error '401' on 'apiaccountratelimitstatus': No ha sido posible autenticarte. ___and format[json] ``` That function it's called more times, just put above the one it shows 'Could not authenticate you' message. The whole file for the test period can be found here: http://gnusocial.villanos.net/gs22-log7.txt
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.