Cayenne Dashboard keep Crashing and not responding after few seconds from Loggin in

I run ublock but it’s disabled for mydevices.com. I don’t use anything else

Hi Rsiegel,

Thank you for your quick email and sorry for my late reply i reset the password to:

Much appreciated for your assistance and have a good weekend.

Best Regards,
Tarek

@Tarek_Chaalan please reset your password asap as that was not a private message, it posted to the forums.

Hi Adam ,
Could you please provide me an email to send you the new password.

Best Regards,
Tarek

Get Outlook for iOShttps://aka.ms/o0ukef

Here it is https://cayenne.mydevices.com/cayenne/forgot

Hi Adam,

I already reset the password to a new one after you told me that my last email was posted to the community and I need to send it to you as a private. How can I send u a private message or provide me with an email that will not be posted to the community.

Best Regards,
Tarek Chaalan

Hi Adam ,
Just Disregard all Good
Best Regards,
Tarek

Good evening at all,
The same thing is happening to me, I have 20 raspberry with classic sensors, but from browser I can not manage while I confirm that from app android there are no problems

thanks to the collaboration
Marco

Hi Marco,

What behavior are you seeing the the browser? Is it actually crashing (closing), or just becoming slow? Does the same behavior happen in alternate browsers on your computer?

Hi rsiegel,
slow slow slow slow slow in all browser (firefox, opera, edge, chrome)
Happens on different computers with different operating systems (windows 10, Ubuntu)

do you mind sharing your login/password via private message so I can attempt to reproduce on my side? I won’t activate any actuators, just looking to get a feel for what you are seeing.

I’m guessing this is UI slowness (like while dragging around the widgets or changing dashboards) rather than slowness in the update of data or actuator response?

rsiegel
you have pm :slight_smile:

actuator response

At this time I have chrome blocked with message waiting for response from cloud-0c88ff54c6190764ff.mydevice.com

Ok, many thanks to @helpdesk I think we at least see what’s going on here (I suspect this also covers many of the others in the thread)

The way our website is currently architected, each Pi/Arduino device creates a websocket connection. In this particular account, there were probably ~30 Pis, which equals 30 websocket connections, which equals :fire::computer: (at least that’s what happened to mine – runaway CPU consumption :hushed:)

We’ll be replacing this architecture soon with one that only uses 1 websocket per browsing session, (the same that we use for MQTT and LoRa devices). In the meantime, there are a few potential workarounds:

  1. As mentioned above, this issue does not occur with MQTT devices, and both Pis and Arduinos can be connected via MQTT. So one option would be to remove ‘traditional’ Raspberry Pi and Arduino entries and re-add them to the dashboard as MQTT devices.

  2. Until this is fixed, another option is to split your devices between multiple accounts. I generally run with 8-10 devices on my account without much slowdown – I suspect this will come down to system specs more than anything else.

If @helpdesk or anyone else in this thread needs help with removing devices from your account so you can re-add them via one of these methods, but can’t because of the slowdown, please let me know and I can assist, and thank you for helping us find this architectural issue.

tagging @techsupport, @adam to see if this meshes with what you might have seen in the past (i.e. did you have a lot of devices on your account when you saw slowness/crashing?)

No, I only ever have about 5 devices online at any time, most of them are arduino. I haven’t really noticed and slow downs lately, might have been a fix pushed in Firefox.

I have been experiencing the same issue recently, and I only have 2 Pi’s on cayenne. I also tried removing one of them, leaving one single Pi on the dashboard. Unfortunatelly, the dashboard still ‘crashed’, meaning that the page quit responding.
I tried to run the dashboard from a windows 7, windows 10, and android device. I also tried several different, independant networks.

Hi @pythonprogram2010, and welcome to the Cayenne Community.

I’m sorry to hear you’ve run into this issue. Do you mind sharing your account credentials via Private Message on the forum so I can investigate and reproduce on my end? It sounds like you’ve run into something potentially new and different if you only have a couple devices on your account and can’t load the dashboard on so many different platforms. It’s probably something funny in the data on your account that is choking our system somehow, that’s what I’d like to look for.

Thanks for the account credentials. Weirdly I’m not seeing this on my end – I’m running it on Mac Chrome, Safari, Win10 Chrome, Win10 Edge, and the Cayenne Android app all at once.

In each case, there is some CPU usage to maintain the dashboard, but I’m not seeing the browser become unresponsive or display any error message.

Is it possible you are running any sort of browser extension/javascript blocker that could be interfering with our dashboard operation? Seems unlikely considering the number of devices you’ve seen this on, but worth checking. Also worth clearing your browser cookies/cache before trying again as well – I should mention I’m seeing two Raspberry Pis on your account, so maybe something went wrong when you were attempting to delete the one you mentioned and got the software in a weird state?

Thank you for taking the time to look into this.
I don’t have any blockers/anything non-standard associated with my browser. I will clear the cookies as you mentioned and see what happens there.
I did at one point have an issue with linking one of the Pi’s that are currently on the network. I had to remove the device from Cayenne twice - that could very well have caused a problem associated with cookies on my end.

Thanks again for the assistance. The Cayenne leadership/technical support team is amazing!

1 Like