products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: STU-392
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Critical Critical
Assignee: Bill Lazar
Reporter: Andreas Tepper
Votes: 14
Watchers: 15
Operations

If you were logged in you would be able to see more operations.
Aptana Studio

Update hangs, throws exception, blocks network connections

Created: 28/Nov/07 04:59 AM   Updated: 07/Sep/08 12:43 PM
Component/s: Installation, General, Network
Affects Version/s: Aptana Studio 1.0.0
Fix Version/s: Aptana Studio 1.2

File Attachments: 1. Text File error_recovery.log (0.7 kb)
2. Zip Archive update_patched.zip (569 kb)
3. Zip Archive update_patched_for_3.2.zip (565 kb)

Image Attachments:

1. aptana_error_1.jpg
(181 kb)

2. aptana_version.jpg
(97 kb)

3. AptanaDLFailAgain.png
(27 kb)

4. diff of the site.xml.jpg
(252 kb)

5. disable_updates.JPG
(64 kb)

6. local update site install.jpg
(15 kb)

7. rr_eclipse_plugins.jpg
(139 kb)

8. step-1.jpg
(174 kb)

9. step-2.jpg
(60 kb)

10. step-3.jpg
(54 kb)

11. Still Can't Update.jpg
(377 kb)

12. Update dies in the same spot every time.jpg
(113 kb)

13. update kinda worked....jpg
(354 kb)
Environment: XP SP2 German, 1 GB RAM, 2,6 GHz P4, 3Com Etherlin XL NIC (3C905B-TX)
Issue Links:
Duplicate
 

Importance: Critical
Studio Install Type: Standalone
Operating System: Windows XP
Relevant Browser: Internet Explorer (IE), Firefox
Participants: Alan Boyd, Andreas Tepper, andrei, Andy Czerwonka, Bill Lazar, Carlos Dias, Carter Sanders, Chris Williams, Daniel Staver, Denis Denisenko, Ingo Muschenetz, Jeff L, Joakim Schramm, John Valko, Jon Seidel, Jt Gleason, Lon Ingram, Mark Deibert, Mark Donnelly, Max Hyatt, Pavel Petrochenko, Robert Raisch, Steve Nolte, tonedeaf and Vitalie Eremia


 Description  « Hide
Aptana Update throws an exception while downloading the needed jars. Additionally, it blocks all network connections from my machine (smb, exchange, ip hangs or does not respond), see attached error_recovery.log for affected jars. Network issue is cross-checked, it was really caused by aptana...

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Andreas Tepper - 28/Nov/07 11:47 AM
Hi,

error still persists, see attached screenshot. The german message from Outlook means that the connection to Exchange was lost and Outlook will try to reconnect when possible


Carter Sanders - 28/Nov/07 08:12 PM
I'm sorry you're having this issue. Please browse to http://update.aptana.com/install/3.2/ and follow the manual update instructions.

If you have difficulty downloading the zip file listed on that page, you can use this mirror -
http://ec2-72-44-49-231.z-1.compute-1.amazonaws.com/install/3.2/aptana_update_004323.zip


Daniel Staver - 29/Nov/07 05:53 AM
I'm having the same problem. Auto-update stops the network connection halfway through the installation and fails. Is anything being done to fix this? It's been like this for a very long time now. Aptana is the only software on my machine that is unable to auto-update itself, everything else I have installed is able to use the network connection just fine. Will try a manual download.

Jeff L - 04/Dec/07 04:27 PM
Just a note that I am having the same issue, trying to update to build # 1.0.1.004323

Jeff L - 04/Dec/07 04:46 PM
I tried the manual update mentioned above, it did not work. It tells me I still need to update my build, but that I did somehow install the web development tools plugin.

Joakim Schramm - 05/Dec/07 10:25 AM
The workaround given here doesn't work! after a 60+MB download in the end all you get is a message "No features found on the selected site(s). Choose a different site or site category"

The problem the updater have doesn't seem to be downloading but what it does after downloading, that's when it gets highwire, after 23% network locks up and no cpu activity. As these problems seem to be unique for Aptana you have to do something terribly wrong... probably you do too much, maybe some smart unnecessary step that just screw up things .


Andreas Tepper - 05/Dec/07 10:35 AM
FYI: Manual Update seems to work, Installation run without further errors and versions number look o.k., but problem with automatic update still persists...

Chris Williams - 05/Dec/07 10:42 AM
Seems like a number of users are still running into issues installing our plugins...

Does Eclipse have any open bugs for this, or workarounds?


Andy Czerwonka - 05/Dec/07 10:49 AM
I get the "No features found on the selected site(s)" error message when trying to update with the archive.


Joakim Schramm - 05/Dec/07 01:24 PM
I have now been able to conclude that it doesn't break the network connection, just make it impossible for any connection to transfer data. Like if I have a ssh client open connected with a server outside my LAN that connection stays up, but my chatzilla client get disconnected from irc.freenode.net, probably because it need to transmit some data. So it appear to me it simply eat all available bandwidth.

Jt Gleason - 05/Dec/07 02:37 PM
I also have a flooding issue with the auto update. It even hangs ICMP (ping) requests so it must basically flood the Windows network stack. Reading the comments on the forums pointed me to the manual installer. That worked just fine.

Carter Sanders - 05/Dec/07 11:58 PM
We've made some changes to the current update site http://update.aptana.com/install/3.2/ which we believe address these issues. If anybody who previously had problems has them go away (or not), please add a comment to this ticket.

Andy Czerwonka - 06/Dec/07 12:45 AM
I just downloaded the update site. Nope same problem. See the attached screenshot.

Joakim Schramm - 06/Dec/07 05:23 AM
I am sorry to say, it's not fixed... I tried again now this morning and first of all noticed there were more updates, including php editor and studio 1.1 preview - thanks.

I looked good at first got all the way up to 50% downloading lots of stuff but then it switched overto "operation in progress..." and there is stood until the exception came:

[code]An exception occured while downloading feature from "https://pro.aptana.com/update/nightly/3.2/features/com.aptana.ide.feature_1.1.0.005032.jar"[/code]

and asked if I wanted to try again or cancel, I clicked Try Again and process continued, process meter went up to 79% or or something and "operation in progress..." and after a while same message as above, yes exact same so this seem to be the part causing troubles.

Moreover, I restarted Eclipse, and went for the upgrade again but this time I deselected the Studio Professional part. Interesting it all ended the same way as before with exctly sam e message which includes 'pro.aptana.com' although I deselected pro...

Maybe this package have the same problem as the one you fixed?


Andy Czerwonka - 06/Dec/07 09:01 AM
Nothing is fixed - I tried the old, non-pro package after Carter's note. It didn't work either. I suppose I suppose I can manually drop in the plugins and features. Sucks.

Andy Czerwonka - 06/Dec/07 09:10 AM
No wonder it doesn't work - the update site from http://update.aptana.com/install/3.2/ contains 1.0.1 packages from the 4323 build only - there aren't any 1.0.2 that I can see. So, the update site doesn't have the updates.

Andy Czerwonka - 06/Dec/07 10:16 AM
More investigation shows that the update site and the archived update site are not the same. The file that hangs my network connection, 'features/com.aptana.ide.feature.editors_1.0.2.004323_p1.jar', doesn't even exist in the archive. I've also done a diff on the site.xml file from the update site and the archived update site and they're different. See the attached screenshot of the diff.

I suggest that you build the update site and the archive automagically via ant and cruise control or something like that so that you know that it's always in sync and you don't need to touch it.


Carter Sanders - 06/Dec/07 05:43 PM
Andy and Joakim-

I'm sorry you're still having these update problems. Thanks so much for taking the screen shots. The latest changes to http://update.aptana.com/install/3.2/ fixed the network swamping issue on the one machine where I've been able to reproduce the problem. I guess it only addressed one of the possible scenarios.

You're right that the link to the manual upgrade was one release out of date. Sorry about that. It's been fixed.

A point of clarification about the http://update.aptana.com/install/3.2/ update site - the 1.0.2.004323_p1 was a patch release to 1.0.1.004323. Since it's a patch, only five of the plugins were changed. For example - http://update.aptana.com/install/3.2/plugins/com.aptana.ide.core.ui_1.0.2.004822.jar is new. So the 1.0.2 content is there even though you still see some old 1.0.1 plugins.

Joakim - since you're using the pro site, you're using different site files. There was a digestURL error in one of those as well which can affect the network swamping problem. I just fixed it. Sorry for the inconvenience.

As has been pointed out, automating this will reduce the number of these types of errors. I'm scheduled to finish our deploy script rewrite before our next release, and I've added an automated test case to check for the network swamping which will be invoked by these scripts.

One other point worth noting in is that Eclipse and Aptana Studio both cache site.xml data, so it is often necessary to restart before re-checking for an update if you want to get the latest site data.

Andy, if you were still having your problem after a restart, then you are probably exercising a slightly different bug than my test machine was. You'll need to use the manual update process for now. Sorry you'll have to do the download for a second time since the link was stale in the page. Here's a direct link to the latest zip file - http://update.aptana.com/install/3.2/aptana_update_004323_p1.zip


Andy Czerwonka - 06/Dec/07 09:04 PM
Well.. two problems. I managed to update.. kinda... Even though I see that my plugins are updated, Aptana still wants to update because it thinks it's the old version. Whatever check it is doing it's doing it incorrectly of my update did update everything it's supposed to. Something tells me it's the former. See the attached screenshot - my plugins are showing the help->about still show's 1.0.1.

Another problem is Rails plugin - I can't manually install the latest Rails stuff because it's giving me the famous "no features on this site" message and the auto-update... well.. we all know about the network problem.

Arghhhh... still can't get this things installed properly.


Andy Czerwonka - 06/Dec/07 09:06 PM
Now I was able to get the rail stuff in via auto-update. I just tried three times and three times a charm. Server side problem????? Fire it on a mirror somewhere... maybe that's it???

Joakim Schramm - 07/Dec/07 04:52 AM
Still not working but some interesting changes. This morning when starting up (or restarted actually) Eclipse I got the Aptana start page and message about 1 plugin been installed. It was the Studio Pro alpha update. Not sure how that happens as I only have had failures so far what I can see. Anyhow...

After the usual 3-4 tries to login to pro.aptana.com before success I also got the message about new updates available. I cancel this time to not mix up things. I restarted Eclipse again, same round as above ending with cancel the update offer. I then instead check for Aptana updates in the help menu to get the update offer again and it finally offer me Aptana Studio Community and PHP Development. To make it easier for Aptana I just select the community update. So off we go but about half way the exception comes again and it's exactly the same complaint as I have had before about pro.aptana.com

An exception occured while downloading feature from "https://pro.aptana.com/update/nightly/3.2/features/com.aptana.ide.feature.editor.js_1.1.0.005032.jar"

so somehow it trows an exception on pro.aptana.com although it didn't even offer any more updates from there, and note I have to try 3-4 time on every start of Eclipse to login to pro.aptana.com although my preferences tells it will cache the login credencials - which doesn't seem to happen. At some point Eclipse and Aptana has started up w/o need for me to enter the login or it's enough to do it once - but most tims I have to do it 3-4 before it takes. So I suspect this is related somehow due to the fact that exception points as pro.aptana.com although it isn't supposed to connect there for any update?

I hope this can trow some light on it.


Joakim Schramm - 07/Dec/07 01:06 PM
any progress on this? I belive this might be some kind of authentication problem with pro.aptana.com as the exception always point to an url there although the selected update is just community version.

I was able to update php environment but that seem to have brought thing out of sync. Please fix this as my efficency with aptana now gets closer o zero...


Andy Czerwonka - 07/Dec/07 02:05 PM
I'm below the zero mark...

Carter Sanders - 07/Dec/07 02:42 PM
Hi Joakim-

I asked out development team for some pointers about how to addrss the password caching problem. They recommended clearing your password in Windows->preferences->aptana->password manager. Delete the pro entry there. Hopefully this will reset your cached password and it will operate properly afterward.

You also could temporarily downgrade to an earlier version of the php plugin by using the Help->Software Updates->Manage Configuration and selecting "Replace with another version". This will allow you to backrev your PHP plugin version.


Joakim Schramm - 07/Dec/07 04:19 PM
Hi Carter,

I tried to do as you said, empty the cache and restarted Eclipse, filled account details in and they were accepted. Cancel the update request. Restarted Eclipse and now it didn't ask me for login to pro.aptana.com this time. Lets see how long that last...

Anyhow checked for updates again and begin the update. last good downloaded package was ide.editor.js_1.1.etc. and then Operation in progress started and soon my network flooded. I see this as my irc client go nuts after some time it changed to say downloading ide.editor.core someting and operation in progress and soon the exception came, same as before

An exception occured while downloading feature from "https://pro.aptana.com/update/nightly/3.2/features/com.aptana.ide.feature.editor.js_1.1.0.005032.jar"

I don't know why but for some reason it seem to try fetching something from pro but fails. I think maybe auth problem isn't with aptana but with server, I tried to manually access the url https://pro.aptana.com/update/nightly/3.2/, got a login box and it didn't accept my login. Tried 5 times in row before I gave up. It's quite possible my login shouldn't work that way, but some how the problem seem to be related to failure accessing pro.aptana.com


Joakim Schramm - 10/Dec/07 12:38 PM
any update on this issue yet? apparently this has something to do with authentication problems with pro.aptana.com as exceptions always refer to an url of it and also I still have to enter my login t pro.aptana.com every time I start Eclipse, all from 1 to 4 times before the login dialog stops coming back. I have removed the item in Password Manager as suggested above, and the item gets load back there when I have submitted the login but still doesn't work afterwards.

Carter Sanders - 10/Dec/07 02:38 PM
Joakim-

The update site is not intended to be directly browsed to. Studio generates the password for the auth, and for security reasons, it is different from your store password. I've raised the issue about demo users not having zip file downloads of the update sites available, but we're very busy with 1.1 development this week and won't be able to address this immediately. For now, I recommend reverting your check for updates setting from "nightly builds" to "stable releases". This should keep your studio installation from running into these issues. As soon as we have a strategy for addressing this, I'll make a posting to this ticket.


Andy Czerwonka - 11/Dec/07 07:00 PM
Can someone make this a Blocker please? It's preventing me from using the tool and I'm sure other potential customers. Once I prove the the community edition is stable maybe it's worth the $$ for the pro version, but by not treating this as a priority you're saying that it's not that important. I'll bet there are features that you're working on that aren't as important as this.

On the triage thread....

I've got lots of experience building RCP applications - I do it for a living. Have you guys spawned an threads during the update? To me, it sounds and feels like a race condition somewhere around a network call.

BTW - I can't install Subversive - same problem - meaning it's client-side for sure since the Subversive update site is a completely different spot.