Internal Server Error... Need Help

Hi!

We are working to make Cosmos up and running. But so far no lock. The IT department said all proper ports have been open. But we need help no finish. What should we try? Thank you in advance.

I can see Cosmos Content in the browser when using none as proxy Setting.

​​

But if I try to login or download anything I got this error in the webpage.

Her is what the log show:

{“severity”:“info”,“time”:“2024-04-22T07:43:01.168-0400”,“message”:“syncing tags”}
{“severity”:“info”,“time”:“2024-04-22T07:43:01.509-0400”,“message”:" [Channel Home SubChannel 2] Subchannel Connectivity change to CONNECTING",“component”:“grpc-server”}
{“severity”:“info”,“time”:“2024-04-22T07:43:01.509-0400”,“message”:" [Channel Home SubChannel 2] Subchannel picks a new address “cosmos.chaos.com:443” to connect",“component”:“grpc-server”}
{“severity”:“info”,“time”:“2024-04-22T07:43:01.509-0400”,“message”:" pickfirstBalancer: UpdateSubConnState: 0xc00058fb30, {CONNECTING <nil>}“,“component”:“grpc-server”}
{“severity”:“info”,“time”:“2024-04-22T07:43:01.509-0400”,“message”:” [Channel 1] Channel Connectivity change to CONNECTING",“component”:“grpc-server”}
{“severity”:“info”,“time”:“2024-04-22T07:43:01.623-0400”,“message”:" [Channel Home SubChannel 2] Subchannel Connectivity change to READY",“component”:“grpc-server”}
{“severity”:“info”,“time”:“2024-04-22T07:43:01.623-0400”,“message”:" pickfirstBalancer: UpdateSubConnState: 0xc00058fb30, {READY <nil>}“,“component”:“grpc-server”}
{“severity”:“info”,“time”:“2024-04-22T07:43:01.623-0400”,“message”:” [Channel 1] Channel Connectivity change to READY",“component”:“grpc-server”}
{“severity”:“info”,“time”:“2024-04-22T08:43:01.187-0400”,“message”:“syncing tags”}
{“severity”:“error”,“time”:“2024-04-22T09:21:20.153-0400”,“message”:“couldn’t trigger ULA login”,“error”:“failed to construct auth code URL: failed to initialize OAuth2 config: failed to initialize OIDC Provider: Get “https://api.chaos.com/services/oauth2/oidc/.well-known/openid-configuration”: ReferenceError: ‘isPlainHostName’ is not defined”,“stacktrace”:“git.chaosgroup.com/galaxy/content-browser/service/server/api/restapi.UserInfoHandler.func1\n\tC:/gitlab/builds/X22fX61E/0/galaxy/content-browser/service/server/api/restapi/auth.go:207\ngit.chaosgroup.com/galaxy/content-browser/service/server/api/restapi.UserInfoHandler.func3\n\tC:/gitlab/builds/X22fX61E/0/galaxy/content-browser/service/server/api/restapi/auth.go:272\nnet/http.HandlerFunc.ServeHTTP\n\tC:/Program Files/Go/src/net/http/server.go:2109\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\tC:/gitlab/builds/X22fX61E/0/galaxy/content-browser/vendor/github.com/gorilla/mux/mux.go:210\ngolang.org/x/net/http2/h2c.h2cHandler.ServeHTTP\n\tC:/gitlab/builds/X22fX61E/0/galaxy/content-browser/vendor/golang.org/x/net/http2/h2c/h2c.go:125\nnet/http.serverHandler.ServeHTTP\n\tC:/Program Files/Go/src/net/http/server.go:2947\nnet/http.initALPNRequest.ServeHTTP\n\tC:/Program Files/Go/src/net/http/server.go:3556\nnet/http.(*http2serverConn).runHandler\n\tC:/Program Files/Go/src/net/http/h2_bundle.go:5910”}
{“severity”:“error”,“time”:“2024-04-22T09:21:21.265-0400”,“message”:“couldn’t trigger ULA login”,“error”:“failed to construct auth code URL: failed to initialize OAuth2 config: failed to initialize OIDC Provider: Get “https://api.chaos.com/services/oauth2/oidc/.well-known/openid-configuration”: ReferenceError: ‘isPlainHostName’ is not defined”,“stacktrace”:“git.chaosgroup.com/galaxy/content-browser/service/server/api/restapi.UserInfoHandler.func1\n\tC:/gitlab/builds/X22fX61E/0/galaxy/content-browser/service/server/api/restapi/auth.go:207\ngit.chaosgroup.com/galaxy/content-browser/service/server/api/restapi.UserInfoHandler.func3\n\tC:/gitlab/builds/X22fX61E/0/galaxy/content-browser/service/server/api/restapi/auth.go:272\nnet/http.HandlerFunc.ServeHTTP\n\tC:/Program Files/Go/src/net/http/server.go:2109\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\tC:/gitlab/builds/X22fX61E/0/galaxy/content-browser/vendor/github.com/gorilla/mux/mux.go:210\ngolang.org/x/net/http2/h2c.h2cHandler.ServeHTTP\n\tC:/gitlab/builds/X22fX61E/0/galaxy/content-browser/vendor/golang.org/x/net/http2/h2c/h2c.go:125\nnet/http.serverHandler.ServeHTTP\n\tC:/Program Files/Go/src/net/http/server.go:2947\nnet/http.(*conn).serve\n\tC:/Program Files/Go/src/net/http/server.go:1991”}

Hey @UbiGuy ,

Can you please try killing the Chaos Unified Login processes and try to Sign in to Cosmos again?

Thank you It work. Can we uninstall Chaos Unified loging or turn it off without issue?

Yes. Go to Add/Remove Programs and uninstall it:

I’ve been having the same problem, only on the Mac. What would I need to do?

Hello, by “same” problem you mean that you are not able to log in to Cosmos/ULA?

I’m able to log in and look through the assets, but whenever I go to download something or press the account profile button I get the same error message as UbiGuy: “Internal Server Error”

Can you try disabling the Unified Login App, and try login/download in Cosmos again? To disable ULA, execute in Terminal:

launchctl unload /Library/LaunchAgents/com.chaos.ula.plist

That worked! Thanks so much!

2026.03.24 - it doesn’t help. I’ve tried killing processes, uninstalling unified login, I reinstalled license server to same and later to newest version 6.3 - nothing works. Help!