0

I am trying to install the Cyclos Mobile app on GCP Everything setup perfectly but when I am trying to access the setup on browser it always showing either default backend - 404 or 503 Service Temporarily Unavailable. nginx/1.19.1. I have tried everything as per stack overflow several previous questions but still same error.

kind: Ingress
metadata:
  annotations:
    cert-manager.io/cluster-issuer: letsencypt-staging
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"networking.k8s.io/v1beta1","kind":"Ingress","metadata":{"annotations":{"cert-manager.io/cluster-issuer":"letsencypt-staging","kubernetes.io/ingress.class":"nginx","nginx.ingress.kubernetes.io/proxy-connect-timeout":"3600"},"name":"cyclos-ingress-nginx-https","namespace":"cyclos-name-space"},"spec":{"backend":{"serviceName":"default-http-backend","servicePort":80},"rules":[{"host":"ip-address.xip.io","http":{"paths":[{"backend":{"serviceName":"cyclos-app-stateful","servicePort":80},"path":"/*"}]}}],"tls":[{"hosts":["ip-address.xip.io"],"secretName":"ip-address.xip.io-tls-secret"}]}}
    kubernetes.io/ingress.class: nginx
  creationTimestamp: "2020-09-29T07:00:01Z"
  generation: 11
  name: cyclos-ingress-nginx-https
  namespace: cyclos-name-space
  resourceVersion: "643221534"
  selfLink: /apis/extensions/v1beta1/namespaces/cyclos-name-space/ingresses/cyclos-ingress-nginx-https
  uid: uid
spec:
  backend:
    serviceName: default-http-backend
    servicePort: 80
  rules:
  - host: ip-address.xip.io
    http:
      paths:
      - backend:
          serviceName: cyclos-app-stateful
          servicePort: 80
        path: /*
  tls:
  - hosts:
    - ip-address.xip.io
    secretName: ip-address.xip.io-tls-secret
status:
  loadBalancer:
    ingress:
    - ip: IP```
  • Check the logs. – Michael Hampton Oct 14 '20 at 04:10
  • Please check if the pods are in `Running` state and they are `Ready`. Also, please check if your service exposing your Cyclos is configured correctly (matching `labels`, `port`, `targetPort`). Also please check if your healthchecks on `Ingress` resource (`Cloud Console`) are in healthy state. You can also add the guide that you followed to deploy Cyclos. – Dawid Kruk Oct 14 '20 at 13:33
  • https://www.youtube.com/watch?v=LmfdhOXK_ik I have used this video on youtube – Pravesh Tiwari Oct 19 '20 at 13:41
  • @DawidKruk did you checked the url? – Pravesh Tiwari Oct 20 '20 at 09:57
  • @PraveshTiwari I'm sorry, haven't noticed your comment. I will take a look on it. – Dawid Kruk Oct 21 '20 at 10:58
  • :) sure thank you so much . – Pravesh Tiwari Oct 23 '20 at 05:49
  • As I said in earlier comment, please update your question with following outputs: `$ kubectl describe pod CYCLOS-POD-NAME`, `$ kubectl describe service cyclos-app-stateful`, `$ kubectl describe endpoint cyclos-app-stateful`, `$ kubectl describe ingress cyclos-ingress-nginx-https`. – Dawid Kruk Oct 26 '20 at 13:50

0 Answers0