Closed Twiggeh closed 3 years ago
I'm assuming you followed the instructions at docs.wire.com Did you use option 1 or 2 here: https://docs.wire.com/how-to/install/dependencies.html ?
@arthurwolf Option 1, did not use cachix
Just FYI I get the same thing right now ( error 502 ) for a similar setup (used the docker version though). I also skipped certificates and just told my browser to ignore that.
You need to use SSO, the bad Gateway comes from the missing spar
service.
Just go into the wire-server
folder and add this at the end of values
spar:
replicaCount: 1
# image:
# tag: some-tag (only override if you want a newer/different version than what is in the chart)
config:
cassandra:
host: cassandra-ephemeral
logLevel: Debug
domain: twiggeh.xyz
appUri: https://nginz-https.twiggeh.xyz
ssoUri: https://nginz-https.twiggeh.xyz/sso
maxttlAuthreq: 28800
maxttlAuthresp: 28800
# maxScimTokens: 16 # uncomment this if you want to use SCIM provisioning
contacts:
- type: ContactSupport
company: TwigCompany
email: email:support@twiggeh.xyz
# proxy:
# httpProxy: "http://proxy.example.com"
# httpsProxy: "https://proxy.example.com"
# noProxyList:
# - "local.example.com"
# - "10.23.0.0/16"
Make sure to enable SSO as well. That resolved the 502 error for me :)
Basic information
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.7", GitCommit:"1dd5338295409edcfff11505e7bb246f0d325d15", GitTreeState:"clean", BuildDate:"2021-01-13T13:23:52Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.7", GitCommit:"1dd5338295409edcfff11505e7bb246f0d325d15", GitTreeState:"clean", BuildDate:"2021-01-13T13:15:20Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Ansible : ansible 2.9.0 config file = None configured module search path = ['/home/twiggeh/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/dist-packages/ansible executable location = /usr/local/bin/ansible python version = 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
How did you install Wire?
I did not deviate from the guide. I installed it on Ubuntu 18. My certificates are from Let's Encrypt made with certbot, and they appear to be working.
Question
I am getting a 502 Bad Gateway, no Idea where to even look on how to fix it.
I am running the demo-version of the wire backend, and everything installed fine, even the status check is okay
But, when I go to the webapp, it redirects to
/auth
shows an indefinite spinner and a failed xhr requestI don't have SSO enabled; I tried running the commit and hash collection script but it fails too
I'm deeply sorry if I borked a config, but I don't think I did.