[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value. Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details. [GIN-debug] Listening and serving HTTP on :9090 Feb 2 18:50:47.215417 INFO external/connection.go:36 Connecting server {"id": "xlF4cplklk629xdt", "name": "NAS02"} Feb 2 18:50:47.358315 INFO external/connection.go:36 Connecting server {"id": "WQHycplhhss48zto", "name": "NAS01"} Feb 2 18:50:47.647496 INFO conf/config.go:412 Config file changed Feb 2 18:50:51.472766 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "HukDcq8ax32isd3o", "status": "StatusNoStatusRcvd"} Feb 2 18:50:51.640102 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "Pgpqcq8ax33eci5m", "status": "StatusNoStatusRcvd"} Feb 2 18:50:52.647680 INFO conf/config.go:417 Reloading config object Feb 2 18:50:52.649441 INFO log/logger.go:209 Switching Log Level -> info Feb 2 18:51:14.428717 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "Alnbcq8ax5s5stop", "status": "StatusNoStatusRcvd"} Feb 2 18:51:27.731216 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "IuQkcq8ax6ci6pq2", "status": "StatusNoStatusRcvd"} Feb 2 18:51:33.553172 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "zTHqcq8axfcada9n", "status": "StatusNoStatusRcvd"} Feb 2 18:51:45.107153 ERROR src/API.go:252 API Error {"api": "rpc/auth", "err": "invalid credentials"} main.HandleWebSocketAPI /build-mw/src/API.go:252 Feb 2 18:51:45.182414 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Feb 2 18:53:05.494207 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "OPrmcq8axo243vsv", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Feb 2 18:53:05.593677 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Feb 2 18:53:05.593817 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "WaWLcq8ayttavweq", "status": "StatusNoStatusRcvd"} Feb 2 18:53:05.681646 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "RuOUcq8aytufrbmo", "status": "StatusNoStatusRcvd"} Feb 2 18:53:15.112357 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "XgMkcq8axrmij3zo", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Feb 2 18:53:15.167295 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "gHqzcq8ayy7mp2tq", "status": "StatusNoStatusRcvd"} Feb 2 18:53:15.167531 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Feb 2 18:53:15.235241 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "KsHPcq8ayy8ixphn", "status": "StatusNoStatusRcvd"} Feb 2 18:53:15.300735 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "ifLPcq8ayy9h7fod", "status": "StatusNoStatusRcvd"} Feb 2 18:53:43.098082 WARN src/API-alertplugins.go:100 Invalid plugin {"id": "smtp-email"} Feb 2 18:53:43.103750 WARN src/API-alertplugins.go:100 Invalid plugin {"id": "smtp-email"} Feb 2 18:54:45.790165 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "Whsbcq8ayyi3z8ic", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Feb 2 18:54:45.916047 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "QQobcq8b03w72nip", "status": "StatusNoStatusRcvd"} Feb 2 18:54:45.916134 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Feb 2 18:54:45.969109 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "MTnBcq8b03x8jwte", "status": "StatusNoStatusRcvd"} Feb 2 18:54:46.014143 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "dacMcq8b03y3oit9", "status": "StatusNoStatusRcvd"} Feb 2 18:54:46.204267 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "KwFdcq8b03yx338w", "status": "StatusNoStatusRcvd"} Feb 2 18:55:01.815195 WARN list/server-list.go:98 Failed to remove any groups in list {"list": [""]} Feb 2 18:55:01.836742 ERROR src/API.go:104 Middleware API crash {"api": "servers/groups_add", "args": {"WQHycplhhss48zto":"IND01","xlF4cplklk629xdt":"IND01"}, "err": "assignment to entry in nil map"} main.(*ClientAPI).EvaluateRequest.func1 /build-mw/src/API.go:104 runtime.gopanic /usr/local/go/src/runtime/panic.go:890 runtime.mapassign_faststr /usr/local/go/src/runtime/map_faststr.go:205 github.com/iXsystems/TrueCommand/middleware/internal.(*Server).AddGroup /build-mw/src/internal/group.go:31 main.(*ClientAPI).EvaluateAPI_SERVERS /build-mw/src/API-servers.go:259 main.(*ClientAPI).EvaluateRequest /build-mw/src/API.go:142 main.HandleWebSocketAPI /build-mw/src/API.go:241 Feb 2 18:55:01.837037 ERROR src/API.go:252 API Error {"api": "servers/groups_add", "err": "internal error"} main.HandleWebSocketAPI /build-mw/src/API.go:252 Feb 2 18:56:17.027049 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "yBbccq8b04eyqlw1", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Feb 2 18:56:17.102739 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "lVcccq8b19s8comv", "status": "StatusNoStatusRcvd"} Feb 2 18:56:17.102584 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Feb 2 18:56:17.205446 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "spjUcq8b19thlc02", "status": "StatusNoStatusRcvd"} Feb 2 18:56:28.903074 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 http: superfluous response.WriteHeader call from main.HandleSAMLPaths (main.go:219) Feb 2 18:57:48.568370 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "anhdcq8b1agu0jtp", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Feb 2 18:57:49.551051 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Feb 2 18:57:49.551606 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "bRiWcq8b2g36d077", "status": "StatusNoStatusRcvd"} Feb 2 18:57:49.551530 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "bRiWcq8b2g36d077", "status": "StatusNoStatusRcvd"} Feb 2 18:57:49.551764 ERROR src/API.go:278 Failed to send response to API {"ws_id": "bRiWcq8b2g36d077", "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 Feb 2 18:57:49.673614 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "bqnncq8b2gazbw0u", "status": "StatusNoStatusRcvd"} Feb 2 18:57:50.433968 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "bSMZcq8b2gd4z70q", "status": "StatusNoStatusRcvd"} Feb 2 18:57:51.523945 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "wWOIcq8b2h5q0in1", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Feb 2 18:57:54.528617 WARN ws/ws.go:255 Failed to close WS connection {"ws_id": "exiTcq8b1d7i0rt8", "err": "failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to read frame header: EOF"} Feb 2 18:57:55.239546 ERROR src/API.go:250 Failed to access API {"api": "uilogs/add", "auth": false} main.HandleWebSocketAPI /build-mw/src/API.go:250 Feb 2 18:57:55.240027 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "qSkOcq8b2iv5lj1i", "status": "StatusNoStatusRcvd"} Feb 2 18:57:55.419432 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "Godzcq8b2iyc1d3t", "status": "StatusNoStatusRcvd"} Feb 2 18:57:55.584056 WARN ws/ws.go:228 Unexpected websocket close error with code {"ws_id": "cvtQcq8b2j04jzyi", "status": "StatusNoStatusRcvd"}