I was trying to work on the train (ICE in Germany) and create a new password. I could login into passbolt but when I tried to add a new password I got:
An internal error occurred. The server response could not be parsed. Please contact your administrator.
I then connected to the mobile hotspot of my phone and I could create passwords just fine. Then I connected to the train hotspot again and got the same behavior. Reading passwords works without issues.
I sshed into the server running passbolt and it contained the following error in the error log:
2020-12-30 19:01:36 Error: [App\Error\Exception\ValidationException] Could not validate resource data. (/mnt/web522/b0/95/54349495/htdocs/jCdixtfscl5bShnKBm6X/src/Controller/Resources/ResourcesAddController.php:162)
Request URL: /resources.json?api-version=v2&contain%5Bpermission%5D=1
I also hacked the ResourcesAddController.php and var_dumped the $errors and $resource variable. All the fields in the $resource object where empty.
string(19) “A name is required.”
string(21) “A secret is required.”
I’m not adding the $resource variable out of security concerns. I don’t know if there is any secret data contained in it.
Any idea what could cause this? This is not really a problem for me, but I though you might interested in this bug report. I really like your software. I’m running passbolt version 2.13.5.