FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Fusionauth cannot login when deploy 2 or more pods (FA1.15.8)

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    211
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yukeng_wu
      last edited by

      how do you guys deploy fusionaith with multiple pod in kubernetes?
      Issue: it getting error in login page "You must log in to access that page" when deploy more than 1 pod in EKS

      However, it works fine if only 1 pod have

      fa-login-err.png

      here is my setup
      EKS: 1.20
      Fusionauth: 1.15.8
      Aurora mysql: 5.6

      I know the 1.15.8 is really old, but we cannot upgrade for company issue..

      deploy.yaml
      (ref https://github.com/FusionAuth/fusionauth-issues/issues/113 i have try both use pods name or ip address as below setup to make fusionauth_url can connect the other)

      • name: MY_POD_IP
        valueFrom:
        fieldRef:
        fieldPath: status.podIP
        • name: FUSIONAUTH_URL
          value: $(MY_POD_IP):9011

      also exec into one of fusionauth pod and do the curl with <ip>:9011 . it successfully access to the other fusionauth pod

      fa-url-success.png

      log from pod 1
      After deploy, it is able to see from the log, the fusionauth_url set to the right address
      fa-pod1-logs.png

      log from pod2
      fa-pod2-login-err.png

      it seems work, but cannot login, and the log didn't have any response either.


      Not sure if the root cause is the version too old. I try 1.30.1 successfully runing with multi pods.

      any suggestion for the old version?

      thanks

      joshuaJ 1 Reply Last reply Reply Quote 1
      • joshuaJ
        joshua @yukeng_wu
        last edited by joshua

        Hi @yukeng_wu,

        Have you had a chance to review our k8's guide? This might be a good starting place for troubleshooting, etc.

        https://fusionauth.io/docs/v1/tech/installation-guide/kubernetes/fusionauth-deployment/

        Thanks,
        Josh

        1 Reply Last reply Reply Quote 0
        • First post
          Last post