Ralf Haferkamp

Results 131 comments of Ralf Haferkamp

Thanks for the detailed analysis. I think you're right, there seems to be an issue with token validation when the access tokens issued by the IDP are not JWT encoded...

Hm, this one is somewhat tricky. The keycloak example is using auto provisioning (`PROXY_AUTOPROVISION_ACCOUNTS`). Autoprovisioning creates users using the graph API (using the service account) so it requires write access...

> If it is not deleteting the connection (#10216) may be better to return 405 or 501? Wouldn't it be a 404 (Not Found) when trying to delete a non-existing...

``` 2025-10-28T08:33:11Z INF access-log bytes=0 duration=23.674842 line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34 method=POST path=/remote.php/dav/spaces/72f13a23-bbc9-4d6b-85b2-591f606addf6$9366bc48-2bb4-40ef-9530-02426fbec7b4 proto=HTTP/1.1 remote-addr=192.168.60.10 request-id=a858c13e-c184-4e8d-92e9-4c3276b511a1 service=proxy status=404 traceid=9d0e29c9b330d1eea2e4a4d0e1c6bd33 ``` The upload request itself failed with a 404. What is weird is the `bytes=0`...

Which reverse proxy are you using? Are there any other middlewares/proxies are between you browser and the opencloud instances? Are you sure it's failing based on the filetype? Or might...

@dragonchaser @fschade Here's a PR with a compose setup deploying OpenCloud, keycloak, OpenLDAP and the provisioning API for testing and development purposes: https://github.com/opencloud-eu/opencloud/pull/1637

This is in the logs of the latest failed run: ``` "level":"error","service":"storage-users","pkg":"rgrpc","traceid":"c92e9c1513f71fd3755bfe9419e7db15","error":"open /root/.ocis/storage/users/spaces/b4/68c2d3-0bc1-4b41-bfe7-c85db387057d/nodes/b4/68/c2/d3/-0bc1-4b41-bfe7-c85db387057d.mlock: no such file or directory","req":{"storage_space":{"id":{"opaque_id":"96b0a8ee-ab8d-49e8-87dd-e1c3331c77f7$b468c2d3-0bc1-4b41-bfe7-c85db387057d"},"root":{"storage_id":"96b0a8ee-ab8d-49e8-87dd-e1c3331c77f7","opaque_id":"b468c2d3-0bc1-4b41-bfe7-c85db387057d","space_id":"b468 c2d3-0bc1-4b41-bfe7-c85db387057d"},"quota":{"quota_max_bytes":1}}},"time":"2024-11-27T09:23:36Z","message":"failed to update storage space"} {"level":"error","service":"storage-users","pkg":"rgrpc","traceid":"c92e9c1513f71fd3755bfe9419e7db15","user-agent":"grpc-go/1.68.0","from":"tcp://127.0.0.1:34124","uri":"/cs3.storage.provider.v1beta1.SpacesAPI/UpdateStorageSpace","start":"27/Nov/2024:09:23: 36 +0000","end":"27/Nov/2024:09:23:36 +0000","time_ns":3131418,"code":"Unknown","time":"2024-11-27T09:23:36Z","message":"open /root/.ocis/storage/users/spaces/b4/68c2d3-0bc1-4b41-bfe7-c85db387057d/nodes/b4/68/c2/d3/-0bc1-4b41-bfe7-c85db387057d.mlock: no suc...

> The lock file disappeared? More likely: the parent folder doesn't exist. AFAICS the lock file is always opened with `O_CREAT`

I created a stripped down ci config for reproducing this issue (https://github.com/owncloud/ocis/pull/10678). Of about 10 runs in that configuration only a single one (https://drone.owncloud.com/owncloud/ocis/41458) failed. After increasing the loglevel to...

I wasn't able to get any useful log out of drone (see https://github.com/owncloud/ocis/pull/10678) up to now. And the issue is also not reproducible outside the CI. I am unassigning myself...