-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginz Pod Error while installing demo wire-server through wire-server-deploy #619
Comments
When i bash into nginz container i dont see folder /etc/wire/nginz/secrets/zauth.conf, for this reason nginz pod is failing as its not able to find the keystore file. Am i missing any step for demo installation which is causing this issue to happen? |
Okay now i got this nginz pod to running status. The thing which i tried was to copy zauth.text files public and private keys to brig and nginz section of secrets.yaml file. Then i did helm uninstall wire-server && install wire-server, it got to work. Also i bashed into nginz container to verify and saw it now has those folders and files /etc/wire/nginz/secrets/. Maybe as docs are changing this step might have got retired. |
Request URL: https://nginz-https.example.com/v3/properties/webapp Websocket connections are failing. |
Hey @mfarhanmail 👋
|
OK i dint had domains, as of now i have setup DNS record in my local machine in /etc/hosts/ to point to server where wire-server is deployed, so i was able to create and validate user but got stuck in a page where i only see "checking for new messages". I see other API calls are just working fine, example Request URL: https://nginz-https.example.com/v3/clients/63d004dfd75c4c8d/prekeys You mean other features will require correct domain in setup to work? @supersven |
Ah, I see. You may get away with fake domains as long as you stay consistent. However, this is not officially supported. And, you may need to solve HTTPS/SSL certificate issues. (Please, don't do this for a production environment.) The next debugging step would likely be the open the |
Request URL: https://nginz-https.example.com/v3/properties/webapp Request URL: https://nginz-https.example.com/v3/properties/WIRE_RECEIPT_MODE Request URL: https://nginz-https.example.com/v3/properties/WIRE_TYPING_INDICATOR_MODE Websocket: reconnecting-websocket-mjs.js:518 WebSocket connection to 'wss://nginz-ssl.example.com/await?access_token=0fIw2u2Ewm-C5RgV9o30lCs4o1TpAXAEaBtor2DqSL4SkKnXLvfz3kaWqCw9hBf81XvzvSsa21lemPBC_rZFDg==.v=1.k=1.d=1687319583.t=a.l=.u=0e1a7141-4a46-4201-abf4-324a25cab575.i=63d004dfd75c4c8d.c=13529975733778401668&client=63d004dfd75c4c8d' failed: Rest of the api's are working fine with 200 status code in the page where still "Checking for new messages" progress is shown. |
what have you done for certificates? if you're doing the "just hit the trust button" method, you need to go to nginz-ssl.example.com manually in a web browser, and hit trust there. |
Thank you it worked amazingly. Now ill get away with fake certificates. |
Basic information
What is the expected result?
nginz pod failing and crashing, in logs i have these things
kubectl logs nginz-cfd66dff6-hjccg
error: a container name must be specified for pod nginz-cfd66dff6-hjccg, choose one of: [nginz-disco nginz]
kubectl logs nginz-cfd66dff6-hjccg --all-containers
Starting nginx
Setting up watches for /etc/wire/nginz/upstreams
nginx PID: 7
Setting up watches.
Watches established.
nginx: [emerg] failed to load keystore [1] in /etc/wire/nginz/conf/nginx.conf:183
/nix/store/b6v3ffbwxi028wdhhrxdmg4ywfj6yngs-reload-script/bin/.nginz_reload.sh-wrapped: line 12: kill: (7) - No such process
Files /etc/wire/nginz/upstreams/upstreams.conf and /etc/wire/nginz/upstreams/upstreams.conf.new differ
upstream change found, replacing /etc/wire/nginz/upstreams/upstreams.conf with /etc/wire/nginz/upstreams/upstreams.conf.new
done, sleeping 2.841718
.
.
.
Setting up watches for /etc/wire/nginz/upstreams
Starting nginx
nginx PID: 7
Setting up watches.
Watches established.
nginx: [emerg] failed to load keystore [1] in /etc/wire/nginz/conf/nginx.conf:183
/nix/store/b6v3ffbwxi028wdhhrxdmg4ywfj6yngs-reload-script/bin/.nginz_reload.sh-wrapped: line 12: kill: (7) - No such process
What is the actual result?
How to reproduce the issue?
The text was updated successfully, but these errors were encountered: