This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS 5.1 Update stuck at 50%

Other Parts Discussed in Thread: CCSTUDIO

I have just updated to CCS5.1 (running it in parallel with existing CCS 4 installation).

Installation was okay and terminated without errors, first starts okay, too.

Now I wanted to check for updates.

This check runs some time, until 50%, where it is stuck now for some hours.

I have terminated the update, terminated CCS and started it and the update again - same result, stuck at 50%.

What can I do?

  • Hi Stephan,

    what OS are you running?  Do you see any errors or messages?  Have you expanded the details?  Are there sites not being found?

    Would you be able to send a screenshot of the list of available software sites you have setup?  This can be found under WIndow->Preferences->Install/Update->Available Software Sites.

    Best Regards,
    Lisa

  • I am running Windows XP professional SP3.

    There are no error messages, also not when details are expanded.

    I haven't set up additional software sites; they are as installed. The sceenshot is attached.

    What about wrong proxy settings? Will I get error/timeout messages if the proxy settings are not correct?

  • Hi Stephan,

    yes, for sue it might be worth checking your proxy settings.    Do the updates work in v4?  What do you see if you input the update site URL in a browser?  This is a way to test your access to these sites.

    It does not look like you have a long extensive list of sites that are being checked.

    Please keep us informed.

    Best Regards,
    Lisa

  • The updates work in v4 - there I get a java window to input username and password for the proxy.

    I can access the sites via browser (at least somehow).

    I have tried playing with the proxy settings and looking for the error log in help/about/Installation Details/Configuration/View error log.

    There are 3 settings: direct/manual/native.

    After installation, it was set to native with proxy host and port set, but auth set to false.

    When trying to look for software updates, I get

    HTTP Proxy Authentication Required: http://download.eclipse.org/releases/indigo/content.xml
    Proxy Authentication Required

    and the Java proxy authentication window pops up.

    Inputting the credentials does not make any difference - still the same error message.

    That's different than in CCS 4.

     

    So changing the proxy settings to direct:

    "Checking for updates" is stuck at "contacting software sites" at 2%.

    So I cancelled this and looked for the error log:

    !ENTRY org.eclipse.core.net 1 0 2011-11-29 09:17:31.513
    !MESSAGE System property socksProxyHost is not set but should be 10.2.2.2.
    
    !ENTRY org.eclipse.core.net 1 0 2011-11-29 09:17:31.513
    !MESSAGE System property socksProxyPort is not set but should be 8080.

    There are several entries of this.

    This is as expected - we have a proxy and it expects authentification.

     

    So changing the proxy settings to manual, providing username and password via eclipse setting:

    Again I get the Java proxy authentication window popping up - I thought the credentials are already set?

    So I input the credentials and searched for updates.

    Now "Checking for updates" is stuck at "contacting software sites" at 0%.

    So I cancelled this and looked for the error log:

    !MESSAGE System property socksProxyHost is not set but should be 10.2.2.2.
    !MESSAGE System property socksProxyPort is not set but should be 8080.

    There are again several entries of this.

    This is not as expected - I would expect that the manual proxy settings are used.

     

     

     

  • After some more research in the eclipse forums, I found a solution:

    At \eclipse\configuration\.settings\org.eclipse.core.net.prefs set the property systemProxiesEnabled to true manually and restart.

    This works for me. The Java authentification dialog still pops up, but after inputting the credentials, software update works.

  • Hi Stephan,

    ok, glad you found a solution!  All the best.

    Best Regards,
    Lisa

  • I have the same problem. It all hangs at 50% for hours without any visible error message or hint what the current problem is. The workaround "systemProxiesEnabled to true" suggested above doesn't change a thing.

    I wish the progress dialog shows what actually is really running at the moment. Clicking on button "<<Details" doesn't give useful additional information. Showing the real action (connecting to URL "....", downloading from URL "....", ..., or something) would help to get an idea what the network problem is. Is the server down or doesn't it get through the proxy or whatever...

    Here's the error log from the About dialog:

    !ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2012-01-25 11:31:41.902
    !MESSAGE Connection to http://download.eclipse.org/modeling/gmf/updates/releases/p2.index failed on Connection timed out: connect. Retry attempt 0 started
    !STACK 0
    java.net.ConnectException: Connection timed out: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(Unknown Source)
    	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    	at java.net.PlainSocketImpl.connect(Unknown Source)
    	at java.net.SocksSocketImpl.connect(Unknown Source)
    	at java.net.Socket.connect(Unknown Source)
    	at org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)
    	at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:81)
    	at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:73)
    	at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:65)
    	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
    	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    	at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1142)
    	at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:710)
    	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:889)
    	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:576)
    	at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
    	at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:349)
    	at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:295)
    	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:80)
    	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:130)
    	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadIndexFile(AbstractRepositoryManager.java:721)
    	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:640)
    	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
    	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
    	at org.eclipse.equinox.p2.engine.ProvisioningContext.loadMetadataRepository(ProvisioningContext.java:211)
    	at org.eclipse.equinox.p2.engine.ProvisioningContext.getLoadedMetadataRepositories(ProvisioningContext.java:194)
    	at org.eclipse.equinox.p2.engine.ProvisioningContext.getMetadata(ProvisioningContext.java:275)
    	at org.eclipse.equinox.internal.p2.director.SimplePlanner.updatesFor(SimplePlanner.java:771)
    	at org.eclipse.equinox.p2.operations.UpdateOperation.updatesFor(UpdateOperation.java:143)
    	at org.eclipse.equinox.p2.operations.UpdateOperation.computeProfileChangeRequest(UpdateOperation.java:180)
    	at org.eclipse.equinox.p2.operations.UpdateOperation$1.run(UpdateOperation.java:324)
    	at org.eclipse.equinox.internal.p2.operations.SearchForUpdatesResolutionJob.runModal(SearchForUpdatesResolutionJob.java:37)
    	at org.eclipse.equinox.p2.operations.ProfileChangeOperation.resolveModal(ProfileChangeOperation.java:115)
    	at org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.doPostLoadBackgroundWork(UpdateHandler.java:49)
    	at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:86)
    	at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
  • Hello,

    have you tried the full installer?  Have you checked your IT/proxy settings?  From the error message it almost looks likes you are not getting access to content that CCS is attempting to download.

    Have you tried wiping, redownloading and reinstalling?

    Best Regards,
    Lisa

  • Thanks for your fast reply!

    > ... full installer?

    ccs_setup_5.1.0.09000.exe

    > ... IT/proxy settings?

    Window->Preferences->General->Network Connections contains my settings for Schema HTTP, HTTPS, SOCKS:

    • Host: our proxy hostname as name address
    • Port: our proxy port
    • Auth: true
    • User: DOMAINNAME\username
    • Password: ********

    I tried for instance in my internet browser http://download.eclipse.org/modeling/gmf/updates/releases/content.jar and that works well with the same proxy settings.

    > wiping, redownloading and reinstalling?

    Why should I reinstall a freshly new installed CCS5? I haven't tried that because it doesn't make sense to me. Do you want me to deinstall CCS5 and to install again with that ccs_setup_5.1.0.09000.exe?

  • Windows->Preferences->Install/Update->AvailableSoftwareSites contains:

    Name Location Enabled
    x http://download.eclipse.org/modeling/gmf/updates/releases/ Enabled
    x http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/TargetContent/Updates/full/site.xml Enabled
    x http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais/index.html Enabled
  • Hello again,

    yes, I agree if you are just trying to update then I would not reinstall at this point, though it does seem you can't see the content.

    Can you please send us any dump files or error logs generated?   Do you get any? 

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS

    Which method of updating have you been trying?

    Best Regards,
    LIsa

  • Where should I send those dump files? Here as quote?

    My method of updating is via Help menu -> Check Updates. A dialog "Contacting Software Sites" appears and it starts with "Checking for updates..." and I get until 50%.

  • Hello,

    you can send the files as an attachment here, or offline to me in a friend request or conversation if you would prefer.

    What happens if you try Help->Install New Software and select all available sites?  Does it still hang?

    Best Regards,
    Lisa

  • I've sent the logging to you via "Start conversation".

    As I try Help->InstallNewSoftware a dialog appears showing an empty list just containing "There is no site selected."

  • There is a drop down menu to select all available sites.

    Thanks for the logs, I did get them and will work with some colleagues here to digest them and see if they can help us determine the issue.

    Best Regards,
    Lisa

  • Lisa wrote:

    > > What happens if you try Help->Install New Software and select all available sites?  Does it still hang?

    > There is a drop down menu to select all available sites.

    Now I know what you mean. I selected "-- All Available Sites--" and it hangs on an hourglass forever. Even clicking "Cancel" doesn't help but let the whole program hang, only the task manager helps then.

  • F.B.,

    In your case, it might be helpful to simplify the list of sites being checked to help narrow the investigation.

    Could you go the Window -> Preferences menu, type "update" in the filter box, and select the "available software sites" item on the left. Maximize the dialog box and take a screenshot (IE "Printscreen") of the selected sites. Save this somewhere for later reference. De-select all sites except the first previously enabled one in the list.

    Go back to Help -> Check for updates. If this does not hang, repeat the above operation until you find a site that does hang when checking for updates.

    Once you have an individual site that does hang on the update check, go back to the "Available software sites" dialog. Select the site which hangs, and click "edit". Copy the location URL from the location edit box into an Internet Explorer session, but add "content.jar" to the URL.  For example, if the URL is "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv5/Updates", enter "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv5/Updates/content.jar" into IE.  If IE can access this file, it should ask if you want to save it. If IE cannot access this file, then we know both Eclipse and IE have the same proxy issue.

    Please let us know which site you find hangs and whether IE has the same problem.

  • Hello AndyW,

    For example in "Window->Preferences->available software sites": 

    I only "Enabled" Blackhawk CCSv5 Emulation Update which is http://www.blackhawk-dsp.com/updates/ccsv51. "Help->Check for updates" hangs at 50% then also. http://www.blackhawk-dsp.com/updates/ccsv51/content.jar works well with IE and FF, it asks me for saving. But I can also see a log message in the hanging dialog saying "http://www.blackhawk-dsp.com/updates/ccsv51/content.xml" but if I try that URL in IE or FF, the server reacts with a "Sorry page not available" page.

    The strange thing is that CCS51 reports a failed access of http://www.blackhawk-dsp.com/updates/ccsv51/p2.index, see the following copy of the CCS51 logging for details. This URL typed in IE or FF let the server also report back a "404 file not found" error page.

    !ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2012-02-03 15:47:42.976
    !MESSAGE Connection to http://www.blackhawk-dsp.com/updates/ccsv51/p2.index failed on Connection timed out: connect. Retry attempt 0 started
    !STACK 0
    java.net.ConnectException: Connection timed out: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(Unknown Source)
    	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    	at java.net.PlainSocketImpl.connect(Unknown Source)
    	at java.net.SocksSocketImpl.connect(Unknown Source)
    	at java.net.Socket.connect(Unknown Source)
    	at org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)
    	at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:81)
    	at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:73)
    	at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:65)
    	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
    	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    	at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1142)
    	at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:710)
    	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:889)
    	at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:576)
    	at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
    	at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:349)
    	at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:295)
    	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:80)
    	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:130)
    	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadIndexFile(AbstractRepositoryManager.java:721)
    	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:640)
    	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
    	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
    	at org.eclipse.equinox.p2.engine.ProvisioningContext.loadMetadataRepository(ProvisioningContext.java:211)
    	at org.eclipse.equinox.p2.engine.ProvisioningContext.getLoadedMetadataRepositories(ProvisioningContext.java:194)
    	at org.eclipse.equinox.p2.engine.ProvisioningContext.getMetadata(ProvisioningContext.java:275)
    	at org.eclipse.equinox.internal.p2.director.SimplePlanner.updatesFor(SimplePlanner.java:771)
    	at org.eclipse.equinox.p2.operations.UpdateOperation.updatesFor(UpdateOperation.java:143)
    	at org.eclipse.equinox.p2.operations.UpdateOperation.computeProfileChangeRequest(UpdateOperation.java:180)
    	at org.eclipse.equinox.p2.operations.UpdateOperation$1.run(UpdateOperation.java:324)
    	at org.eclipse.equinox.internal.p2.operations.SearchForUpdatesResolutionJob.runModal(SearchForUpdatesResolutionJob.java:37)
    	at org.eclipse.equinox.p2.operations.ProfileChangeOperation.resolveModal(ProfileChangeOperation.java:115)
    	at org.eclipse.equinox.internal.p2.ui.sdk.UpdateHandler.doPostLoadBackgroundWork(UpdateHandler.java:49)
    	at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:86)
    	at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    This happens for most other update URLs in the list of "Available Software Sites". The file content.jar is available but content.xml is not. Some content.jar files are not available as for instance http://download.eclipse.org/modeling/gmf/updates/releases/ but I've disabled such list entry.

    Do you see now what is happening? Do you need more information?
  • Sigh. This at least confirms the problem is not with a specific site, but is for all sites and it is a proxy issue.

    Another approach we can try is to directly configure your HTTP proxy in Eclipse to eliminate the possibility Eclipse can't read the system proxies for some reason. If you go to the Window->preferences->Network Connection dialog, select the active provider as Manual, and then edit the HTTP item. Enter your host, port, and credentials, and give updates a try again.

     

  • I already have set 3 schemas there (HTTP, HTTPS, SOCKS) with host, port, user and password as necessary in our company. The first column just contains something looking like an unchecked checkbox but it doesn't allow to set it to checked. Column "Provider" is "Manual", "Auth" is "true" for all. The "User" starts with the domain name and is separated from the actual user name with backslash. The combobox "Active Provider" is set to "Native". Proxy bypass is for localhost and 127.0.0.1 (which is default).

    All my update trials have been done with these settings. The host, port, user and password settings are the same as used and necessary in FF and IE, so I'm sure they are correct.

  • Do you still have any trick to get an update working?

    I wish the details dialog during the update shows better information what current network states, especially network problems are. The hang at 50% just says nothing.

    A "proxy test" button on the Window->preferences->Network Connection dialog could also help to verify the connection in general. I know network problems are of the worst computer problems in the world, especially when it comes to find their reason. That's why more error information can safe hours.