Vanila / Hugs and Bugs 🤗🐛

Disconnecting all the time causing other problems

Disconnecting all the time causing other problems

Vanila/Hugs and Bugs 🤗🐛 · March 16, 2019 at 3:26pm

Disconnecting all the time causing other problems

Vanila / Hugs and Bugs 🤗🐛 · March 16, 2019 at 3:26pm

I think that this issue where app is disconnecting all the time every XX seconds, causing problems in push notifications to not receive them properly, and also in emails being sent even I am online (or at least having app open).

The app is probably sending email cause it's disconnecting every XX seconds, and that probably triggers that we are offline and send us email, even I am in active chat with Lauri @xet7 .

@taher-github can u remind me, what is disconnect caused by?

Load previous messages

June 10, 2019 at 4:58pm

Yeah I'm facing the same problem since day 1 😞

    like-fill
    1
    • reply
    • like

    June 11, 2019 at 1:25am

    sorry to hear that guys. Community is not perfectly deployed and that will happen in future once we release main projects, where main public communication will be here. So we will need it to be smooth for sure.

      • reply
      • like

      June 11, 2019 at 12:48pm

      Hello community, We need the community for some real projects we have. So I was bound to look into this issue sooner or later.

      Today, I was monitoring the community whole day related to this problem. It looks like there are two major points related to this problem.

      First is the response time. The community api takes as long as 1 second (1000ms) to respond, which is a nightmare. Usually this should be kept at most 200-400ms.

      Second is related to the first point, the websocket cannot keep alive more than 1 minute. It reconnects every minute depending on the region. https://i.imgur.com/mf2QP2J.png

      We are supposed to re-deploy this with some tweaks and updates, then let everyone know what went wrong. If anyone can provide a helping hand, I'll be glad.

        Edited
        like-fill
        2
        • reply
        • like

        Oh, one more important point. I think second point above is a issue with nginx on the deployment related to proxy_connect_timeout.

          • reply
          • like

          @fahimmd @joshwcorbett I applied some tweaks, so let me know if the reconnection issue is a bit better or not.

            like-fill
            3
            • reply
            • like

            June 14, 2019 at 7:37pm

            The connection issues are no more! Thanks @tahyaamir!

              • reply
              • like