Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » P2 not finding updates via localhost http (port 80)
P2 not finding updates via localhost http (port 80) [message #133972] Thu, 02 July 2009 05:49 Go to next message
Jeff Norris is currently offline Jeff NorrisFriend
Messages: 11
Registered: July 2009
Junior Member
This problem is related to my post entitled "P2 transport initialization
error" but is different enough that I thought it deserved its own thread.

When my 3.5 feature-based self-updating P2-enabled RCP app looks for
updates located at file:// URLs, it discovers updates correctly (it
doesn't download them successfully, which is the topic of that other
post). However, if I simply change those file:// URLs to localhost
http:// URLs (implicitly port 80), it can't find any updates. I've
carefully confirmed that the updates are present on the server and not on
the client and I've made sure that all of the URLs are correct. It's as
if P2 has a problem with localhost http URLs.

This is similar to the issue discussed in other posts on this newsgroup
and in bugs 270749 and 270837, but that issue was for URLs that did NOT
use port 80.

Any ideas?

Thanks,
Jeff
Re: P2 not finding updates via localhost http (port 80) [message #133978 is a reply to message #133972] Thu, 02 July 2009 06:01 Go to previous messageGo to next message
Jeff Norris is currently offline Jeff NorrisFriend
Messages: 11
Registered: July 2009
Junior Member
An update:

My colleague and I tried moving the update site to another server and our
problem persists, so I'm afraid that I was incorrect to suggest that the
issue had something to do with localhost URLs. We're still stymied as to
why our P2 updates would be successfully updated via file:// but not via
http://...

Jeff

Jeff Norris wrote:
> This problem is related to my post entitled "P2 transport initialization
> error" but is different enough that I thought it deserved its own thread.

> When my 3.5 feature-based self-updating P2-enabled RCP app looks for
> updates located at file:// URLs, it discovers updates correctly (it
> doesn't download them successfully, which is the topic of that other
> post). However, if I simply change those file:// URLs to localhost
> http:// URLs (implicitly port 80), it can't find any updates. I've
> carefully confirmed that the updates are present on the server and not on
> the client and I've made sure that all of the URLs are correct. It's as
> if P2 has a problem with localhost http URLs.

> This is similar to the issue discussed in other posts on this newsgroup
> and in bugs 270749 and 270837, but that issue was for URLs that did NOT
> use port 80.

> Any ideas?

> Thanks,
> Jeff
Re: P2 not finding updates via localhost http (port 80) [message #134117 is a reply to message #133978] Fri, 03 July 2009 01:49 Go to previous message
Jeff Norris is currently offline Jeff NorrisFriend
Messages: 11
Registered: July 2009
Junior Member
This problem was being caused by an invalid thread access during file
transfer. I filed bug 282333:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=282333

Jeff Norris wrote:


> An update:

> My colleague and I tried moving the update site to another server and our
> problem persists, so I'm afraid that I was incorrect to suggest that the
> issue had something to do with localhost URLs. We're still stymied as to
> why our P2 updates would be successfully updated via file:// but not via
> http://...

> Jeff

> Jeff Norris wrote:
>> This problem is related to my post entitled "P2 transport initialization
>> error" but is different enough that I thought it deserved its own thread.

>> When my 3.5 feature-based self-updating P2-enabled RCP app looks for
>> updates located at file:// URLs, it discovers updates correctly (it
>> doesn't download them successfully, which is the topic of that other
>> post). However, if I simply change those file:// URLs to localhost
>> http:// URLs (implicitly port 80), it can't find any updates. I've
>> carefully confirmed that the updates are present on the server and not on
>> the client and I've made sure that all of the URLs are correct. It's as
>> if P2 has a problem with localhost http URLs.

>> This is similar to the issue discussed in other posts on this newsgroup
>> and in bugs 270749 and 270837, but that issue was for URLs that did NOT
>> use port 80.

>> Any ideas?

>> Thanks,
>> Jeff
Previous Topic:Can't update my installation anymore
Next Topic:P2, PDE Build and bundles.info
Goto Forum:
  


Current Time: Thu Apr 25 13:28:38 GMT 2024

Powered by FUDForum. Page generated in 0.02711 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top