Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Vanila

Vanila.io is community of developers and designers. Short word, creators.

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?


March 16, 2019 at 3:27pm

How we can debug this ?

    • reply
    • like

    I do not have a disconnect problem right now. :/ You have to show me a video so I can figure out the problem even for a bit.

      • reply
      • like

      March 16, 2019 at 7:10pm

      hmm strange, i had it all the time, and like i said i think it was trigering emails to be sent even i am using the app, but since when it get disconnected, app send me email, since i am offline in that moment

        • reply
        • like

        even now while i was as writing previous message i got red thing, which mena disconnected

          • reply
          • like

          April 8, 2019 at 7:50am

          It seems that chat takes about 10 seconds to connect sometimes, and text lines that I have written changes order.

            • reply
            • like

            April 8, 2019 at 8:52am

            It seems that chat takes about 10 seconds to connect sometimes, and text lines that I have written changes order.

              Hey Lauri, i faced the same issues. It's cause of server is bit overloaded and not properly configured. @tahyaamir is working on that, and hopefully he can solve soon

                Edited
                • reply
                • like

                There are currently 15 online users at the moment

                  • reply
                  • like

                  i just noticed our server is on Singapore, SG 🤪

                    • reply
                    • like

                    April 9, 2019 at 4:01pm

                    The server on SG is not a problem. The api on the server is easily overloaded (100MB to 700MB+ ram usage in 15 minutes) and not scaled properly.

                      • reply
                      • like

                      April 9, 2019 at 6:03pm

                      Sometimes it’s happen to me, the app disconnect and connect some few seconds later. Or when I’m sending a message it disconnect too

                        like-fill
                        1
                        • reply
                        • like

                        April 11, 2019 at 12:47pm

                        Hey guys, @tahyaamir managed to improve CPU load by a lot. However, you still might see reconnecting to server messages, but the overall speed of community should be better.

                          • reply
                          • like

                          Testing.... :)

                            • reply
                            • like

                            Seems to work much faster :)

                              • reply
                              • like

                              Huge thanks to @tahyaamir !! This speedup is excellent work !! Currently this seems to be very usable.

                                like-fill
                                1
                                • reply
                                • like

                                I don't notice any lags

                                  • reply
                                  • like

                                  and changing to other view loads fast

                                    • reply
                                    • like

                                    to other parts of community

                                      • reply
                                      • like

                                      Looks fine on my side! Sometimes my chat disconnects for 1 sec, but i blame my wifi! 😆

                                        • reply
                                        • like

                                        April 11, 2019 at 2:48pm

                                        Hey guys, glad you feel the improvement. There will be still disconnecting/reconnecting message, but @tahyaamir is working on it.

                                          • reply
                                          • like

                                          April 11, 2019 at 6:07pm

                                          I see reconnection sometimes when the server is busy. The error message says, "It looks like Vanila Community is very busy right now, please try again in a minute.", I need to dig deeper into this to make this more stable.

                                            • reply
                                            • like

                                            Unfortunately my eyes are not in good condition, but I think I will figure something within next week if I am in good health.

                                              like-fill
                                              1
                                              • reply
                                              • like
                                              • reply
                                              • like

                                              The marked area says it's much more stable right now. But even this stable has reconnection.

                                                like-fill
                                                1
                                                • reply
                                                • like

                                                Thanks for your support. Please bear with me. :)

                                                  like-fill
                                                  1
                                                  • reply
                                                  • like

                                                  April 12, 2019 at 5:12pm

                                                  We are bearing with you Tahy , get rest ur eyes, and i need to do the same, cause i have foggy sight for last 4-5 days

                                                    • reply
                                                    • like