Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347226 - [client] allow user to tweak file save timeout and use progress service
Summary: [client] allow user to tweak file save timeout and use progress service
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 365939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-25 17:43 EDT by Susan McCourt CLA
Modified: 2015-05-05 16:01 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2011-05-25 17:43:03 EDT
At times when I'm editing on org.eclipse.orion, I'll get save timeouts.  

Just now I got about 5 timeouts in a row and went to the navigator to make sure the server was alive.  It was.  

We need to either increase the timeout or use the progress service.  I think the latter would be better so the user knows what's going on.  Right now, if it times out, the dirty indicator stays up but otherwise there's no way to know that it gave up without going to the console.
Comment 1 Boris Bokowski CLA 2011-05-25 17:55:53 EDT
To narrow down the root cause of this, can you try to use orion.eclipse.org:8080 instead? The difference is that port 80 goes through the Apache reverse proxy and port 8080 does not.
Comment 2 Susan McCourt CLA 2011-05-26 11:39:10 EDT
I'll work from 8080 today and report back.
Comment 3 John Arthorne CLA 2011-05-26 12:00:21 EDT
For file save, we're not likely to get a big benefit using the progress service. We need to maintain the server connection for the duration so the server can suck up the bytes. It's not a request we can accept and then process without maintaining a connection to the client. So, using the progress message in the UI would ensure a message appears to the user, but it wouldn't prevent timeouts from happening.
Comment 4 Susan McCourt CLA 2011-05-26 13:19:11 EDT
makes sense.
so we need to:
- understand why it's happening
- possibly increase timeout
- definitely report the error
Comment 5 Susan McCourt CLA 2011-05-26 23:18:38 EDT
I worked today using port 8080.  
For what it's worth, I didn't experience any timeouts on save today.  
Next week I'll try to run some pages on port 8080 and some without, and see if I notice a correlation.
Comment 6 Susan McCourt CLA 2011-11-10 11:27:26 EST
I'm working on a very sketchy internet connection while travelling, and I find that most of orion.eclipse.org is working/can recover from connection glitches.  But the save timeout is what's killing me.  If there's a hiccup anywhere I reach the timeout. I hacked the timeout in the source and tried to edit from a self hosted site, but that site runs slower so it's even less usable.

Oddly, there are certain files that always hit the timeout, and other files that I can save easily, and it's not a matter of the ones that work being smaller, in fact they are twice as big.  I'm assuming this is coincidental.

I think there are three things to do here:
- we need to report the timeout error in the UI
- using the progress service would let the user see that something is happening.  I think a byte count could be useful, because then I'd know if things are just slow or if there are intermittent pauses.  Of course we would want to make sure the progress reporting wasn't too noisy when one is on a good connection.
- ideally I could tweak the timeout.  It doesn't have to be a mainstream thing in the UI, but having a setting that I could hack would help.

(Incidentally, other bandwidth soaking operations, like cloning all of the orion client repo, have worked.  The connection is challenging/slow, but it's only the editor save that makes it completely unusable.)
Comment 7 John Arthorne CLA 2011-11-10 14:32:40 EST
(In reply to comment #6)
> (Incidentally, other bandwidth soaking operations, like cloning all of the
> orion client repo, have worked.  The connection is challenging/slow, but it's
> only the editor save that makes it completely unusable.)

Git operations require only very small client/server bandwidth. All the bandwidth in these cases is between Git server and orion workspace server. GET and PUT on file contents are probably the only operations we have that ever transfer more than 1KB in a single request/response.
Comment 8 Susan McCourt CLA 2011-11-11 08:59:31 EST
(In reply to comment #7)
> Git operations require only very small client/server bandwidth. All the
> bandwidth in these cases is between Git server and orion workspace server. GET
> and PUT on file contents are probably the only operations we have that ever
> transfer more than 1KB in a single request/response.

I wasn't very clear here.   I had to switch and run Orion on localhost.  When I cloned the orion client git repo to my localhost workspace server (downloading the repo) the transfer was solid.  (Haven't tried to do any fetching/merging though)
Comment 9 Felipe Heidrich CLA 2011-12-08 11:38:35 EST
*** Bug 365939 has been marked as a duplicate of this bug. ***
Comment 10 Felipe Heidrich CLA 2011-12-08 11:40:27 EST
This bug made it impossible for me to work home using orion.eclipse.org
Comment 11 John Arthorne CLA 2015-05-05 15:48:30 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 12 John Arthorne CLA 2015-05-05 16:01:43 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html