Closed pf0 closed 1 week ago
Invalid data is the error sent by the server when it can't validate the JSON payload, for example the message could have gotten truncated along the way and the server only receives an incomplete JSON. Check your webserver and php-fpm configuration for any kind of size limit that might cut off the message. Also try of smaller messages work. Check for any webserver plugins or CDNs that might mess with the payload in any way.
Thank you for the fast response!
After adding include /usr/local/etc/nginx/fastcgi_params;
inside the php location everything works fine.
I assume it had something to do with the missing CONTENT_LENGTH fastcgi_param.
Did you use the FAQ section?
Privatebin displays 'Could not create paste: Invalid data' when submitting a paste. Sadly, I did not find any other information from browser, nginx or php-fpm logs.
Steps to reproduce
I am running privatebin behind nginx with the following nginx.conf: ` server { listen 443 ssl; server_name bin.rock.home.arpa; include /usr/local/etc/nginx/mime.types;
`
What happens
Paste is not created and a error message is displayed instead.
What should happen
The example paste should be created and a corresponding link should be provided.
Additional information
Basic information
Server address:
Server OS: FreeBSD
Webserver: nginx
Browser: Mozilla Firefox 131.0.3
PrivateBin version: 1.7.4
I can reproduce this issue on https://privatebin.net: No