Infinite loop when trying to login
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
## Describe the bug
Hello,
I host Owncloud OCIS app in TrueNas Scale.
Recently, maybe after some upgrade of the app, I cannot login to Owncloud anymore.
I get into an infinite loop when I try to login.
The earliest error is `runtime error: invalid memory address or nil pointer dereference`..
Here is the log:
```
2023-07-05 08:05:28.097167+00:00[36mpkg=[0mrgrpc [36mservice=[0mstorage-system [36mtraceid=[0m00000000000000000000000000000000
2023-07-05 08:05:28.097202+00:00[90m2023-07-05T08:05:28Z[0m [1m[31mERR[0m[0m unary [36mcode=[0mInternal [36mend=[0m"05/Jul/2023:08:05:28 +0000" [36mfrom=[0mtcp://127.0.0.1:40236 [36mpkg=[0mrgrpc [36mservice=[0mstorage-system [36mstart=[0m"05/Jul/2023:08:05:28 +0000" [36mtime_ns=[0m2650725 [36mtraceid=[0m00000000000000000000000000000000 [36muri=[0m/cs3.storage.provider.v1beta1.ProviderAPI/Stat [36muser-agent=[0mgrpc-go/1.51.0
2023-07-05 08:05:28.097238+00:00[90m2023-07-05T08:05:28Z[0m [1m[31mERR[0m[0m error initializing metadata client [36merror=[0m[31m"rpc error: code = Internal desc = runtime error: invalid memory address or nil pointer dereference"[0m [36mservice=[0mocis
2023-07-05 08:05:28.097265+00:00[90m2023-07-05T08:05:28Z[0m [1m[31mERR[0m[0m Could not load roles [36merror=[0m[31m"{\"id\":\"go.micro.server\",\"code\":500,\"detail\":\"panic recovered: runtime error: invalid memory address or nil pointer dereference\",\"status\":\"Internal Server Error\"}"[0m [36mservice=[0mproxy
2023-07-05 08:05:28.097387+00:00[90m2023-07-05T08:05:28Z[0m [1m[31mERR[0m[0m Could not get user by claim [36merror=[0m[31m"{\"id\":\"go.micro.server\",\"code\":500,\"detail\":\"panic recovered: runtime error: invalid memory address or nil pointer dereference\",\"status\":\"Internal Server Error\"}"[0m [36mservice=[0mproxy
2023-07-05 08:05:28.784435+00:00[90m2023-07-05T08:05:28Z[0m [1m[31mERR[0m[0m Could not load roles [36merror=[0m[31m"{\"id\":\"com.owncloud.api.settings\",\"code\":502,\"detail\":\"circuit breaker is open\",\"status\":\"Bad Gateway\"}"[0m [36mservice=[0mproxy
2023-07-05 08:05:28.784754+00:00[90m2023-07-05T08:05:28Z[0m [1m[31mERR[0m[0m Could not get user by claim [36merror=[0m[31m"{\"id\":\"com.owncloud.api.settings\",\"code\":502,\"detail\":\"circuit breaker is open\",\"status\":\"Bad Gateway\"}"[0m [36mservice=[0mproxy
2023-07-05 08:05:29.133182+00:00[90m2023-07-05T08:05:29Z[0m [1m[31mERR[0m[0m Could not load roles [36merror=[0m[31m"{\"id\":\"com.owncloud.api.settings\",\"code\":502,\"detail\":\"circuit breaker is open\",\"status\":\"Bad Gateway\"}"[0m [36mservice=[0mproxy
2023-07-05 08:05:29.133278+00:00[90m2023-07-05T08:05:29Z[0m [1m[31mERR[0m[0m Could not get user by claim [36merror=[0m[31m"{\"id\":\"com.owncloud.api.settings\",\"code\":502,\"detail\":\"circuit breaker is open\",\"status\":\"Bad Gateway\"}"[0m [36mservice=[0mproxy
failed to create fsnotify watcher: too many open files
```
## Steps to reproduce
Steps to reproduce the behavior:
1. open login page
2. enter login and password
## Expected behavior
The user should be signed in
## Actual behavior
Loop loop loop
## Setup
TrueNas Scale Bluefin
Contributor guide
Assessment
This issue has not been assessed yet.