docker-zulip
docker-zulip copied to clipboard
500 internal server error in k8s pod when curl localhost
hi,guys, i got stuck when using kubernets to install zulip. I will briefly state my use case and problem.
use case
my use case is to set up zulip server in a cluster without internet, the reason is the company's security issue. The company requires us to use kubernetes, so i choose to install it with kubernetes. The kubernetes I use is minikube.
installation
- git clone https://github.com/zulip/docker-zulip.git
- cd docker-zulip/kubernetes/manual
- vim zulip-rc.yaml ,set DISABLE_HTTPS: "True"
- kubectl apply -f zulip-rc.yaml and wait for the installation to finish
- kubectl exec -it
-c zulip bash
problem
curl localhost and got the result below
here is the content of django.log
here is the content of error.log
root@zulip-1-4nvr9:/var/log/zulip# cat errors.log
2022-07-26 02:14:26.481 WARN [zerver.lib.push_notifications] Mobile push notifications are not configured.
See https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html
then I tried to generate a link for registration and curl the link using http, but it was still 500 internal error.
I use htop to monitor the cpu and memory usage and found all is ok
I have no idea how to proceed, can someone give some advise on the problem.