-
Notifications
You must be signed in to change notification settings - Fork 3
Server crashes due to locking problems #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
The server should of course never crash, but it seems related to this:
And maybe the locking mechanism gets confused due to the with/without trailing slash confusion. It's probably better to find a different point in the architecture to address #4, and then fix it once and for all for both publish and non-public resources, and without confusing the DPoP checker and the locking mechanism. |
Reportedly this still happens and is related to PATCH. Investigating. |
I updated https://asdf.pivot.pondersource.com/public/.acl to: @prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
<#open>
a acl:Authorization;
acl:agentClass foaf:Agent;
acl:default <./>;
acl:mode acl:Read, acl:Write. And I'm running this command on my test server: npx community-solid-server -c ./config/prod.json ./config/customise-me.json -f ./data --httpsKey /etc/letsencrypt/live/pivot.pondersource.com/privkey.pem --httpsCert /etc/letsencrypt/live/pivot.pondersource.com/fullchain.pem -p 443 -b https://pivot.pondersource.com -m . Then from my laptop I run: curl -i -X PUT -d'<a> <b> ( <c> <d> ).' -H 'Content-Type: text/turtle' https://asdf.pivot.pondersource.com/public/test.ttl
curl https://asdf.pivot.pondersource.com/public/test.ttl
curl -i -X PATCH [email protected] -H'Content-Type: text/n3' https://asdf.pivot.pondersource.com/public/test.ttl
curl https://asdf.pivot.pondersource.com/public/test.ttl I wait a bit longer.
|
I also tested:
and got a 400 error 'Invalid N3' back as expected, but no locking issue or server crash. I also tried I need more information to reproduce this problem. I'll have a look at the solidcommunity.net:8443 logs |
Testing this again now, with timeouts reduced from 60 minutes to 1 minutes, using CommunitySolidServer/Recipes#49 (comment) |
The server is crashing repeatedly when I try to log in to view https://michielbdejong.pivot.pondersource.com/README/
Investigating.
The text was updated successfully, but these errors were encountered: