anusii / solidpod

MIT License
1 stars 2 forks source link

SOLID SERVER: Lock expired when creating large file #214

Open cdawei opened 4 months ago

cdawei commented 4 months ago

When creating a large file (either streaming or not), the server shuts down the connect from client with an error in the server log:

[WrappedExpiringReadWriteLocker] {Primary}  error: Lock expired after 6000ms on RESOURCE_URL

community-server version: 7.0.2

Override the duration of WrappedExpiringReadWriteLocker in server configuration (as suggested here) with a larger value and then restart resulted in the same error (the override is not respected?)

Similar to this issue https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1843 but for POST and PUT requests.

Validate the issue with the latest server version and a minimal example, create an issue (if applicable) here https://github.com/CommunitySolidServer/CommunitySolidServer/issues

cdawei commented 2 months ago

Tested on version 7.1.0 and got the same error.

Test code can be found here https://github.com/anusii/solidpod/blob/ab90e1b0d9c526543377a96db1398c7edc2fc8fd/lib/src/solid/utils/api_client.dart#L43