This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239860 - [80cat]Sometimes, Synergy is running so slow as to be unusable
Summary: [80cat]Sometimes, Synergy is running so slow as to be unusable
Status: VERIFIED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Synergy (show other bugs)
Version: 8.0
Hardware: All All
: P1 normal with 3 votes (vote)
Assignee: Vladimir Riha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-29 19:00 UTC by Lou Dasaro
Modified: 2014-01-10 18:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the error - Synergy (72.26 KB, image/jpeg)
2013-12-29 19:00 UTC, Lou Dasaro
Details
Log from FireFox (10.99 KB, text/plain)
2013-12-30 08:21 UTC, Lou Dasaro
Details
Log from Chrome (41.74 KB, application/rtf)
2014-01-01 04:01 UTC, Lou Dasaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lou Dasaro 2013-12-29 19:00:13 UTC
Created attachment 143509 [details]
Shows the error - Synergy

Sometimes a page load for http://services.netbeans.org/synergy/client/app/#/specifications

can take 30 seconds or more, or (worst case) never load.
Comment 1 Vladimir Riha 2013-12-30 07:49:38 UTC
Thank you for reporting. 

The default timeout for Synergy API requests is 30 seconds, when some request is not fulfilled in 30sec, Synergy usually shows red message "Action failed" right below the breadcrumbs menu. More detail message is printed to javascript console. Could you please have a look and copy its content here once this issue happens?


How to find console in IE11: http://msdn.microsoft.com/en-us/library/ie/dn255006(v=vs.85).aspx

How to find console in Chrome: https://developers.google.com/chrome-developer-tools/docs/console#opening_the_console


Another way would be to use Synergy in Chrome when Chrome Developer Tools is opened and once this happens, switch to Network and find which request failed.
Comment 2 Lou Dasaro 2013-12-30 08:21:39 UTC
Created attachment 143514 [details]
Log from FireFox

Okay. Here's a bit of log. First two page loads were sub-second response. Afterwards, system hang... Screen displays a pink box that says: "Action failed"

I will work up a specific test case if the error isn't obvious in this log; let me know if that would help.
Comment 3 Vladimir Riha 2013-12-30 08:35:31 UTC
Thank you, from the log it seems that timeout is the problem here (since HTTP status code is 0)

02:14:23.745 "Uknown response: Seems like timeout occurred, please try to reload page" synergy.js:1
02:14:23.746 "Action failed >> " synergy.js:1
02:14:23.747 "HTTP Status code: 0" synergy.js:1
02:14:23.747 [object Object] synergy.js:1
02:14:23.747 " <<" synergy.js:1
02:14:24.071 GET http://services.netbeans.org/synergy/server/api/versions.php 


The [object Object] is in Chrome expandable and contains requested URL, I guess it is the versions.php but it probably doesn't matter.

I'm afraid finding reproducible test case won't help/be possible as it happens randomly for random URL. It seems like sometimes it takes a long time before request reaches server.
Comment 4 Lou Dasaro 2013-12-31 05:25:33 UTC
I'm subsequently getting sub-second response from Synergy. Let's leave this ticket open for a few more days. If problem recurs, I'll try it in Chrome and see if it happens there as well, and document accordingly. Otherwise we can revisit this *next week* and probably resolve as worksforme.
Comment 5 Lou Dasaro 2014-01-01 04:01:00 UTC
Created attachment 143544 [details]
Log from Chrome

Froze again in FireFox 26.0 Opened in Chrome, still froze, See attachment. Changed back to Status: Open because the last time I must have accidentally bumped it to New.
Comment 6 Vladimir Riha 2014-01-02 13:02:12 UTC
Thank you, unfortunately it is random. I've created cron job that makes 15 requests with 5 seconds interval each 15 minutes so I can collect some information about when it happens so let's wait and see.
Comment 7 Lou Dasaro 2014-01-08 06:02:56 UTC
During those times when Synergy appears to be running slow in FireFox 26, about half of that time I get good response using Chrome. The other half of the time with Chrome, I get the same error as given in FF. Wierd.
Comment 8 Vladimir Riha 2014-01-08 16:36:08 UTC
FYI I gathered some data and the issue is now under deeper review.
Comment 9 Vladimir Riha 2014-01-10 16:15:15 UTC
Reporter, do you still see performance issues? My test jobs show only 2 failures due to timeouts in last 24 hours so I would close it for now.
Comment 10 Lou Dasaro 2014-01-10 18:28:06 UTC
It has been stable and smoking fast (<1 sec response) for the last 36 hours or so.
Verified... I'll reopen if necessary.