Jan 30 18:28:36.619402 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Jan 30 18:28:36.619691 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "hhnfcq5qkg535ct3", "status": "StatusNoStatusRcvd"} Jan 30 18:28:36.699748 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "oxlmcq5qkg5tu5dm", "status": "StatusNoStatusRcvd"} Jan 30 18:29:05.596426 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "ZjDYcq5qjqajla7g", "status": "StatusNoStatusRcvd"} Jan 30 18:30:07.055002 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "NxNScq5qkgcgbnrt", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Jan 30 18:30:07.146794 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Jan 30 18:30:07.146900 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "fDMRcq5qllq87t4n", "status": "StatusNoStatusRcvd"} Jan 30 18:30:07.214081 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "uUrVcq5qllqv8k12", "status": "StatusNoStatusRcvd"} Jan 30 18:31:37.566423 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "KnHQcq5qllxcskjf", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Jan 30 18:31:37.655077 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "TDQWcq5qmraz53u6", "status": "StatusNoStatusRcvd"} Jan 30 18:31:37.655462 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Jan 30 18:31:37.749487 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "wwdIcq5qmrc0l5q4", "status": "StatusNoStatusRcvd"} Jan 30 18:32:31.797429 ERROR src/API.go:104 Middleware API crash {"api": "sys/set_config", "args": {"backup_config_keep":7,"disable_usage_reports":false,"ldap_create_users":false,"ldap_default_teams":null,"ldap_settings":[],"nas_ignore_alerts":["information"],"nas_ssl_only":false,"saml_enable":true,"saml_provider_file":"TrueCommand_authentik_meta (1).xml","saml_provider_url":"","saml_provider_xml":"data:text/xml;base64,[REMOVED]","saml_url":"https://truecommand.domain.co","ssl_accept_hostmismatch":true,"ssl_accept_selfsigned":true,"ssl_ignore_all":false,"stats_keep_months":3}, "err": "runtime error: invalid memory address or nil pointer dereference"} main.(*ClientAPI).EvaluateRequest.func1 /build-mw/src/API.go:104 runtime.gopanic /usr/local/go/src/runtime/panic.go:890 runtime.panicmem /usr/local/go/src/runtime/panic.go:260 runtime.sigpanic /usr/local/go/src/runtime/signal_unix.go:835 sync.(*Mutex).Lock /usr/local/go/src/sync/mutex.go:83 github.com/iXsystems/TrueCommand/middleware/sys.(*InstanceConfig).UpdateConfig /build-mw/src/sys/instance.go:174 main.(*ClientAPI).EvaluateAPI_SYS /build-mw/src/API-sys.go:106 main.(*ClientAPI).EvaluateRequest /build-mw/src/API.go:156 main.HandleWebSocketAPI /build-mw/src/API.go:241 Jan 30 18:32:31.797878 ERROR src/API.go:252 API Error {"api": "sys/set_config", "err": "internal error"} main.HandleWebSocketAPI /build-mw/src/API.go:252 Jan 30 18:33:02.692057 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "ATkxcq5qjk3yu2v8", "status": "StatusNoStatusRcvd"} Jan 30 18:33:08.126545 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "NUxPcq5qmrj24wmf", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Jan 30 18:33:08.220364 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Jan 30 18:33:08.220407 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "Aeljcq5qnwwpfc5u", "status": "StatusNoStatusRcvd"} Jan 30 18:33:08.302433 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "CdOfcq5qnwy5fzfp", "status": "StatusNoStatusRcvd"} Jan 30 18:33:08.415798 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "tdGYcq5qnwyzdrqi", "status": "StatusNoStatusRcvd"} Jan 30 18:34:01.283572 ERROR src/API.go:104 Middleware API crash {"api": "sys/set_config", "args": {"backup_config_keep":7,"disable_usage_reports":false,"ldap_create_users":false,"ldap_default_teams":null,"ldap_settings":[],"nas_ignore_alerts":["information"],"nas_ssl_only":false,"saml_enable":true,"saml_provider_file":"TrueCommand_authentik_meta (1).xml","saml_provider_url":"","saml_provider_xml":"data:text/xml;base64,"[REMOVED]","saml_url":"https://truecommand.domain.co","ssl_accept_hostmismatch":true,"ssl_accept_selfsigned":true,"ssl_ignore_all":false,"stats_keep_months":3}, "err": "runtime error: invalid memory address or nil pointer dereference"} main.(*ClientAPI).EvaluateRequest.func1 /build-mw/src/API.go:104 runtime.gopanic /usr/local/go/src/runtime/panic.go:890 runtime.panicmem /usr/local/go/src/runtime/panic.go:260 runtime.sigpanic /usr/local/go/src/runtime/signal_unix.go:835 sync.(*Mutex).Lock /usr/local/go/src/sync/mutex.go:83 github.com/iXsystems/TrueCommand/middleware/sys.(*InstanceConfig).UpdateConfig /build-mw/src/sys/instance.go:174 main.(*ClientAPI).EvaluateAPI_SYS /build-mw/src/API-sys.go:106 main.(*ClientAPI).EvaluateRequest /build-mw/src/API.go:156 main.HandleWebSocketAPI /build-mw/src/API.go:241 Jan 30 18:34:01.283986 ERROR src/API.go:252 API Error {"api": "sys/set_config", "err": "internal error"} main.HandleWebSocketAPI /build-mw/src/API.go:252 Jan 30 18:34:38.794307 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "ZvKGcq5qnx6gyms9", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Jan 30 18:34:38.876511 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Jan 30 18:34:38.876666 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "tyCDcq5qp2k6bnyr", "status": "StatusNoStatusRcvd"} Jan 30 18:34:38.876742 ERROR src/API.go:278 Failed to send response to API {"ws_id": "tyCDcq5qp2k6bnyr", "err": "failed to write msg: WebSocket closed: received close frame: status = StatusNoStatusRcvd and reason = \"\""} main.(*ClientAPI).Send /build-mw/src/API.go:278 main.HandleWebSocketAPI /build-mw/src/API.go:263 Jan 30 18:34:38.876726 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "tyCDcq5qp2k6bnyr", "status": "StatusNoStatusRcvd"} Jan 30 18:34:38.941421 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "bLaZcq5qp2ksocze", "status": "StatusNoStatusRcvd"} http: superfluous response.WriteHeader call from main.HandleSAMLPaths (main.go:219) Jan 30 18:35:11.042852 ERROR src/main.go:218 Failed to login with SAML main.HandleSAMLPaths /build-mw/src/main.go:218 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2109 net/http.(*ServeMux).ServeHTTP /usr/local/go/src/net/http/server.go:2487 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2947 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:1991 Jan 30 18:35:14.310987 ERROR src/API.go:252 API Error {"api": "rpc/auth", "err": "invalid credentials"} main.HandleWebSocketAPI /build-mw/src/API.go:252 Jan 30 18:35:14.362617 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250