Discussion:
[cross-project-issues-dev] Intermittent p2 failures, best practices for "mirroring"
Kevin Browder
2018-10-25 14:37:37 UTC
Permalink
So we've been occasionally getting failures on
http://download.eclipse.org/releases/oxygen/201804111000/content.xml.xz and
other similar sites over this past week (including this morning EDT). From
the archive I see this has been an issue this past week so I guess you guys
are doing something about it but I have some questions relating to setting
up a cache that may save you a small amount of bandwidth.


Does tycho support some form of fail-over such that if we set up a cache
for p2 and that server goes down we can fail back to the internet? I'm
using maven+tycho and at one point it seemed like adding multiple p2 repos
didn't really help for some cases of failure (the other repo wouldn't get
tried), but this was forever ago so maybe i'm miss-remembering or the
situation was very specific.

Also is there a preference for caching proxies for those of us who want to
stay on the FOSS side of things (even if we get support later). I've used
Nexus 2.x (still do) but it's p2 support wasn't great at the time from what
i could tell; I'm looking a bit at Artifactory, is it worth switching?
There's nexus 3.x as well

Any advice would be greatly appreciated
Thanks
Kevin
Gunnar Wagenknecht
2018-10-25 16:55:09 UTC
Permalink
Kevin,

Tycho supports official mirrors specified in the p2 repository as well as internal mirrors. They have a user mailing list in case you need further help setting this up.
https://wiki.eclipse.org/Tycho/Target_Platform/Authentication_and_Mirrors


FWIW, I'd like to take this as an opportunity to remind everyone about the purpose of this mailing list. It's for important communication for projects participating in the Eclipse Simultaneous Release. I prefer having discussions in the proper channels, which allow the whole community to participate (and potentially re-discover answers).


-Gunnar
--
Gunnar Wagenknecht
So we've been occasionally getting failures on http://download.eclipse.org/releases/oxygen/201804111000/content.xml.xz and other similar sites over this past week (including this morning EDT). From the archive I see this has been an issue this past week so I guess you guys are doing something about it but I have some questions relating to setting up a cache that may save you a small amount of bandwidth.
Does tycho support some form of fail-over such that if we set up a cache for p2 and that server goes down we can fail back to the internet? I'm using maven+tycho and at one point it seemed like adding multiple p2 repos didn't really help for some cases of failure (the other repo wouldn't get tried), but this was forever ago so maybe i'm miss-remembering or the situation was very specific.
Also is there a preference for caching proxies for those of us who want to stay on the FOSS side of things (even if we get support later). I've used Nexus 2.x (still do) but it's p2 support wasn't great at the time from what i could tell; I'm looking a bit at Artifactory, is it worth switching? There's nexus 3.x as well
Any advice would be greatly appreciated
Thanks
Kevin
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
Kevin Browder
2018-10-25 17:22:52 UTC
Permalink
Ah sorry about the wrong mailing list, I'd mostly seen a few other issues
related to this here and figured I'd go for it, but you're right I should
have looked for a more appropriate channel.
Thank you for the link in anycase, it's very helpful
Kevin
Post by Gunnar Wagenknecht
Kevin,
Tycho supports official mirrors specified in the p2 repository as well as
internal mirrors. They have a user mailing list in case you need further
help setting this up.
https://wiki.eclipse.org/Tycho/Target_Platform/Authentication_and_Mirrors
FWIW, I'd like to take this as an opportunity to remind everyone about the
purpose of this mailing list. It's for important communication for projects
participating in the Eclipse Simultaneous Release. I prefer having
discussions in the proper channels, which allow the whole community to
participate (and potentially re-discover answers).
-Gunnar
--
Gunnar Wagenknecht
Post by Kevin Browder
So we've been occasionally getting failures on
http://download.eclipse.org/releases/oxygen/201804111000/content.xml.xz
and other similar sites over this past week (including this morning EDT).
From the archive I see this has been an issue this past week so I guess you
guys are doing something about it but I have some questions relating to
setting up a cache that may save you a small amount of bandwidth.
Post by Kevin Browder
Does tycho support some form of fail-over such that if we set up a cache
for p2 and that server goes down we can fail back to the internet? I'm
using maven+tycho and at one point it seemed like adding multiple p2 repos
didn't really help for some cases of failure (the other repo wouldn't get
tried), but this was forever ago so maybe i'm miss-remembering or the
situation was very specific.
Post by Kevin Browder
Also is there a preference for caching proxies for those of us who want
to stay on the FOSS side of things (even if we get support later). I've
used Nexus 2.x (still do) but it's p2 support wasn't great at the time from
what i could tell; I'm looking a bit at Artifactory, is it worth
switching? There's nexus 3.x as well
Post by Kevin Browder
Any advice would be greatly appreciated
Thanks
Kevin
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
Post by Kevin Browder
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
Loading...