Often I have trouble posting a new notice at first attempt. Redoing it works.
Here is what happens:
I attempt to post a new notice. Yesterday when I did this, the site happened to show me the "profile" section. I am logged in. There is a "Share your status" form available. I create a message, I hit "send" and get this error message:
"Sorry, we had trouble sending your notice (400 bad request). Please report ... (see image).
I then copy/paste the note in the same form on the "home" section, and then 'send' works fine.
I /think/ this is the corresponding part of the debug log:
POST /notice/new] Session cookie "(code#1)" is set but without a session
POST /notice/new] logging in gijs using rememberme code (code#2)
POST /notice/new] adding rememberme cookie "1:(code#3)" for gijs
POST /notice/new] action.php - User error '400' on 'newnotice': There was a problem with your session token.
POST /notice/new] Handled clientError (400) but cannot output into desired format (NULL): 'There was a problem with your session token.'
AFAICT: there are three strings (code#1-3) that are all different. but look like this "sn1ctjcb2vonu39amaeynaxs73"
Often I have trouble posting a new notice at first attempt. Redoing it works.
Here is what happens:
I attempt to post a new notice. Yesterday when I did this, the site happened to show me the "profile" section. I am logged in. There is a "Share your status" form available. I create a message, I hit "send" and get this error message:
"Sorry, we had trouble sending your notice (400 bad request). Please report ... (see image).
I then copy/paste the note in the same form on the "home" section, and then 'send' works fine.
I /think/ this is the corresponding part of the debug log:
POST /notice/new] Session cookie "(code#1)" is set but without a session
POST /notice/new] logging in gijs using rememberme code (code#2)
POST /notice/new] adding rememberme cookie "1:(code#3)" for gijs
POST /notice/new] action.php - User error '400' on 'newnotice': There was a problem with your session token.
POST /notice/new] Handled clientError (400) but cannot output into desired format (NULL): 'There was a problem with your session token.'
AFAICT: there are three strings (code#1-3) that are all different. but look like this "sn1ctjcb2vonu39amaeynaxs73"
Okay, so this seems to be a wild bug related to sessions. Can you enable [`$config['sessions']['debug'] = true`](https://notabug.org/diogo/gnu-social/src/master/DOCUMENTATION/SYSTEM_ADMINISTRATORS/CONFIGURE.md#sessions) and repeat the experiment?
Also, which [`$config['sessions']['handle']`](https://notabug.org/diogo/gnu-social/src/master/DOCUMENTATION/SYSTEM_ADMINISTRATORS/CONFIGURE.md#sessions) have you set?
Often I have trouble posting a new notice at first attempt. Redoing it works.
Here is what happens:
I attempt to post a new notice. Yesterday when I did this, the site happened to show me the "profile" section. I am logged in. There is a "Share your status" form available. I create a message, I hit "send" and get this error message:
"Sorry, we had trouble sending your notice (400 bad request). Please report ... (see image).
I then copy/paste the note in the same form on the "home" section, and then 'send' works fine.
I /think/ this is the corresponding part of the debug log:
POST /notice/new] Session cookie "(code#1)" is set but without a session
POST /notice/new] logging in gijs using rememberme code (code#2)
POST /notice/new] adding rememberme cookie "1:(code#3)" for gijs
POST /notice/new] action.php - User error '400' on 'newnotice': There was a problem with your session token.
POST /notice/new] Handled clientError (400) but cannot output into desired format (NULL): 'There was a problem with your session token.'
AFAICT: there are three strings (code#1-3) that are all different. but look like this "sn1ctjcb2vonu39amaeynaxs73"
Happened again this morning, now when in 'home'. So then I copy the message to 'profile' and it works.
Okay, so this seems to be a wild bug related to sessions. Can you enable
$config['sessions']['debug'] = true
and repeat the experiment?Also, which
$config['sessions']['handle']
have you set?