Discussion:
[cross-project-issues-dev] Mirror issues
Ernesto Posse
2018-10-03 21:20:19 UTC
Permalink
Hi. I’m trying to build a project which downloads Neon artifacts from http://mirror.cc.vt.edu/pub/eclipse/releases/neon/ <http://mirror.cc.vt.edu/pub/eclipse/releases/neon/> but I keep getting errors like this:

[INFO] Fetching org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459.jar.pack.gz from http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/ (106.56kB)
[INFO] Unpacking org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459...
[ERROR] An error occurred while transferring artifact packed: osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759 from repository http://download.eclipse.org/releases/neon:
[ERROR] Retry another mirror:
[ERROR] Unable to connect to repository http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759 into the local Maven repository.See log output for details. Network is unreachable (connect failed) -> [Help 1]

(not only for org.eclipse.e4.ui.services_1.2.100 but other artifacts as well)

Is anyone else seeing these problems? Is this particular mirror (http://mirror.cc.vt.edu <http://mirror.cc.vt.edu/>) down?

Thanks,

--
Ernesto Posse
Zeligsoft (2009) Ltd.
Nick Boldt
2018-10-03 23:22:37 UTC
Permalink
At the risk of being That Guy, have you considered that the mirrors are
trashing their ancient releases and moving up to the newer stuff?

Neon is so a couple years ago. 2016 was a much simpler time. Now we live in
the Photon and 2018-09 world. Can you use one of those instead?

There's also a flag to disable using the mirrors and just pull directly
from Eclipse.org.

https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL



Nick
Post by Ernesto Posse
Hi. I’m trying to build a project which downloads Neon artifacts from
http://mirror.cc.vt.edu/pub/eclipse/releases/neon/ but I keep getting
[INFO] Fetching
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459.jar.pack.gz from
http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/
(106.56kB)
[INFO] Unpacking org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459...
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759 from
[ERROR] Unable to connect to repository
http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz
Could not mirror artifact
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759 into the
local Maven repository.See log output for details. Network is unreachable
(connect failed) -> [Help 1]
(not only for org.eclipse.e4.ui.services_1.2.100 but other artifacts as well)
Is anyone else seeing these problems? Is this particular mirror (
http://mirror.cc.vt.edu) down?
Thanks,
--
Ernesto Posse
Zeligsoft (2009) Ltd.
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
Nick Boldt

Principal Software Engineer, RHCSA

Productization Lead :: JBoss Tools & Dev Studio

IM: @nickboldt / @nboldt / http://nick.divbyzero.com
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@ @redhatnews <https://twitter.com/redhatnews> Red Hat
<https://www.facebook.com/RedHatInc>
<https://www.facebook.com/RedHatInc>


“The Only Thing That Is Constant Is Change” - Heraclitus
Ernesto Posse
2018-10-04 16:16:21 UTC
Permalink
Thanks. Yes, that is a possibility, but unfortunately the product I’m building must be built on Neon due to some dependencies (which are absolutely necessary for the product but run only on Neon). Sometimes it is necessary to build products with older dependencies, specially when maintaining legacy applications.

Anyway, the build is now working, so maybe that was just a temporary network issue for the mirror in question, but thanks for the suggestion.

--
Ernesto Posse
Zeligsoft (2009) Ltd.
At the risk of being That Guy, have you considered that the mirrors are trashing their ancient releases and moving up to the newer stuff?
Neon is so a couple years ago. 2016 was a much simpler time. Now we live in the Photon and 2018-09 world. Can you use one of those instead?
There's also a flag to disable using the mirrors and just pull directly from Eclipse.org.
https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL <https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL>
Nick
[INFO] Fetching org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459.jar.pack.gz from http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/ <http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/> (106.56kB)
[INFO] Unpacking org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459...
[ERROR] An error occurred while transferring artifact packed: osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759 from repository http://download.eclipse.org/releases/neon: <http://download.eclipse.org/releases/neon:>
[ERROR] Unable to connect to repository http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz <http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz>
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759 into the local Maven repository.See log output for details. Network is unreachable (connect failed) -> [Help 1]
(not only for org.eclipse.e4.ui.services_1.2.100 but other artifacts as well)
Is anyone else seeing these problems? Is this particular mirror (http://mirror.cc.vt.edu <http://mirror.cc.vt.edu/>) down?
Thanks,
--
Ernesto Posse
Zeligsoft (2009) Ltd.
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev <https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev>
--
Nick Boldt
Principal Software Engineer, RHCSA
Productization Lead :: JBoss Tools & Dev Studio
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@ @redhatnews <https://twitter.com/redhatnews>    Red Hat <https://www.facebook.com/RedHatInc>
<https://www.facebook.com/RedHatInc>
“The Only Thing That Is Constant Is Change” - Heraclitus
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Denis Roy
2018-10-04 17:20:12 UTC
Permalink
Mirrors are one of those things... I think that specific mirror has
occasional connectivity issues, since it's not the first time I see this
error.

Can you switch to another mirror?

We could pull that mirror from the list if it becomes problematic, but
over the last decade it has served many a terabyte.


Denis
Post by Ernesto Posse
Thanks. Yes, that is a possibility, but unfortunately the product I’m
building must be built on Neon due to some dependencies (which are
absolutely necessary for the product but run only on Neon). Sometimes
it is necessary to build products with older dependencies, specially
when maintaining legacy applications.
Anyway, the build is now working, so maybe that was just a temporary
network issue for the mirror in question, but thanks for the suggestion.
--
Ernesto Posse
Zeligsoft (2009) Ltd.
Post by Nick Boldt
At the risk of being That Guy, have you considered that the mirrors
are trashing their ancient releases and moving up to the newer stuff?
Neon is so a couple years ago. 2016 was a much simpler time. Now we
live in the Photon and 2018-09 world. Can you use one of those instead?
There's also a flag to disable using the mirrors and just pull
directly from Eclipse.org <http://Eclipse.org>. 
https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL
Nick
Hi. I’m trying to build a project which downloads Neon artifacts
from http://mirror.cc.vt.edu/pub/eclipse/releases/neon/ but I
[INFO] Fetching
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459.jar.pack.gz from
http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/
(106.56kB)
[INFO] Unpacking
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459...
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759
[ERROR]       Unable to connect to repository
http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz
Could not mirror artifact
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759
into the local Maven repository.See log output for details.
Network is unreachable (connect failed) -> [Help 1]
(not only for org.eclipse.e4.ui.services_1.2.100 but other artifacts as well)
Is anyone else seeing these problems? Is this particular mirror
(http://mirror.cc.vt.edu <http://mirror.cc.vt.edu/>) down? 
Thanks,
--
Ernesto Posse
Zeligsoft (2009) Ltd.
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
Nick Boldt
Principal Software Engineer, RHCSA
Productization Lead :: JBoss Tools & Dev Studio
<http://nick.divbyzero.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@ @redhatnews <https://twitter.com/redhatnews>     Red Hat
<https://www.facebook.com/RedHatInc>
<https://www.facebook.com/RedHatInc>
“The Only Thing That Is Constant Is Change” - Heraclitus
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
eclipse-mirrors mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors
--
*Denis Roy*

*Director, IT Services | **Eclipse Foundation, Inc.*

Twitter: @droy_eclipse

Meet us at /EclipseCon Europe 2018/ <https://www.eclipsecon.org/>/:
LUDWIGSBURG, OCTOBER 23 - 25/
Ernesto Posse
2018-10-04 17:38:47 UTC
Permalink
I didn’t manually set the mirrors. My tycho build is using whatever the default is. My latest build did succeed but checking the log I see that it did not use mirror.cc.vt.edu <http://mirror.cc.vt.edu/>.

My build is working for now, but for future builds I could try Nick’s suggestion of avoiding mirrors, but that, of course, is not ideal, as I don’t want to overuse bandwidth.

I’m not sure who exactly picks the mirrors: p2 or tycho? In any case, I would have hoped that whenever a mirror fails on an artiact for some reason, a different mirror would be tried. Perhaps this functionality has already been implemented? If not, I could file a bug, but on which component? p2? tycho? some other component?

Thanks
Mirrors are one of those things... I think that specific mirror has occasional connectivity issues, since it's not the first time I see this error.
Can you switch to another mirror?
We could pull that mirror from the list if it becomes problematic, but over the last decade it has served many a terabyte.
Denis
Post by Ernesto Posse
Thanks. Yes, that is a possibility, but unfortunately the product I’m building must be built on Neon due to some dependencies (which are absolutely necessary for the product but run only on Neon). Sometimes it is necessary to build products with older dependencies, specially when maintaining legacy applications.
Anyway, the build is now working, so maybe that was just a temporary network issue for the mirror in question, but thanks for the suggestion.
--
Ernesto Posse
Zeligsoft (2009) Ltd.
At the risk of being That Guy, have you considered that the mirrors are trashing their ancient releases and moving up to the newer stuff?
Neon is so a couple years ago. 2016 was a much simpler time. Now we live in the Photon and 2018-09 world. Can you use one of those instead?
There's also a flag to disable using the mirrors and just pull directly from Eclipse.org <http://eclipse.org/>.
https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL <https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL>
Nick
[INFO] Fetching org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459.jar.pack.gz from http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/ <http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/> (106.56kB)
[INFO] Unpacking org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459...
[ERROR] An error occurred while transferring artifact packed: osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759 from repository http://download.eclipse.org/releases/neon: <http://download.eclipse.org/releases/neon:>
[ERROR] Unable to connect to repository http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz <http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz>
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759 into the local Maven repository.See log output for details. Network is unreachable (connect failed) -> [Help 1]
(not only for org.eclipse.e4.ui.services_1.2.100 but other artifacts as well)
Is anyone else seeing these problems? Is this particular mirror (http://mirror.cc.vt.edu <http://mirror.cc.vt.edu/>) down?
Thanks,
--
Ernesto Posse
Zeligsoft (2009) Ltd.
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev <https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev>
--
Nick Boldt
Principal Software Engineer, RHCSA
Productization Lead :: JBoss Tools & Dev Studio
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@ @redhatnews <https://twitter.com/redhatnews>    Red Hat <https://www.facebook.com/RedHatInc>
<https://www.facebook.com/RedHatInc>
“The Only Thing That Is Constant Is Change” - Heraclitus
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev <https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev>
_______________________________________________
eclipse-mirrors mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors <https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors>
--
Denis Roy
Director, IT Services | Eclipse Foundation, Inc.
Meet us at EclipseCon Europe 2018 <https://www.eclipsecon.org/>: LUDWIGSBURG, OCTOBER 23 - 25
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Denis Roy
2018-10-04 18:15:36 UTC
Permalink
First off: thank you for considering our bandwidth! It is much appreciated.

We have since tweaked download.e.o so that, if you choose to not access
mirrors, we will round-robin to mirrors based on the client's location
(for files > 500KB). In that case, a retry to download.e.o may result in
a different mirror for the same file, which may make your builds more
reliable.

My suggestion: use the p2 mirrors mechanism, and if the same mirror
fails repeatedly, then please report it and we'll remove it.


Thanks,

Denis
Post by Ernesto Posse
I didn’t manually set the mirrors. My tycho build is using whatever
the default is. My latest build did succeed but checking the log I see
that it did not use mirror.cc.vt.edu <http://mirror.cc.vt.edu>. 
My build is working for now, but for future builds I could try Nick’s
suggestion of avoiding mirrors, but that, of course, is not ideal, as
I don’t want to overuse bandwidth.
I’m not sure who exactly picks the mirrors: p2 or tycho? In any case,
I would have hoped that whenever a mirror fails on an artiact for some
reason, a different mirror would be tried. Perhaps this functionality
has already been implemented? If not, I could file a bug, but on which
component? p2? tycho? some other component?
Thanks
On Oct 4, 2018, at 1:20 PM, Denis Roy
Mirrors are one of those things... I think that specific mirror has
occasional connectivity issues, since it's not the first time I see
this error.
Can you switch to another mirror?
We could pull that mirror from the list if it becomes problematic,
but over the last decade it has served many a terabyte.
Denis
Post by Ernesto Posse
Thanks. Yes, that is a possibility, but unfortunately the product
I’m building must be built on Neon due to some dependencies (which
are absolutely necessary for the product but run only on Neon).
Sometimes it is necessary to build products with older dependencies,
specially when maintaining legacy applications.
Anyway, the build is now working, so maybe that was just a temporary
network issue for the mirror in question, but thanks for the suggestion.
--
Ernesto Posse
Zeligsoft (2009) Ltd.
Post by Nick Boldt
At the risk of being That Guy, have you considered that the mirrors
are trashing their ancient releases and moving up to the newer stuff?
Neon is so a couple years ago. 2016 was a much simpler time. Now we
live in the Photon and 2018-09 world. Can you use one of those instead?
There's also a flag to disable using the mirrors and just pull
directly from Eclipse.org <http://eclipse.org/>. 
https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL
Nick
Hi. I’m trying to build a project which downloads Neon artifacts
from http://mirror.cc.vt.edu/pub/eclipse/releases/neon/ but I
[INFO] Fetching
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459.jar.pack.gz from
http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/
(106.56kB)
[INFO] Unpacking
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459...
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759
[ERROR]       Unable to connect to repository
http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz
Could not mirror artifact
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759
into the local Maven repository.See log output for details.
Network is unreachable (connect failed) -> [Help 1]
(not only for org.eclipse.e4.ui.services_1.2.100 but other artifacts as well)
Is anyone else seeing these problems? Is this particular mirror
(http://mirror.cc.vt.edu) down? 
Thanks,
--
Ernesto Posse
Zeligsoft (2009) Ltd.
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
Nick Boldt
Principal Software Engineer, RHCSA
Productization Lead :: JBoss Tools & Dev Studio
<http://nick.divbyzero.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@ @redhatnews <https://twitter.com/redhatnews>     Red Hat
<https://www.facebook.com/RedHatInc>
<https://www.facebook.com/RedHatInc>
“The Only Thing That Is Constant Is Change” - Heraclitus
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
eclipse-mirrors mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors
--
*Denis Roy*
*Director, IT Services | **Eclipse Foundation, Inc.*
LUDWIGSBURG, OCTOBER 23 - 25/
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.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://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
*Denis Roy*

*Director, IT Services | **Eclipse Foundation, Inc.*

Twitter: @droy_eclipse

Meet us at /EclipseCon Europe 2018/ <https://www.eclipsecon.org/>/:
LUDWIGSBURG, OCTOBER 23 - 25/
Ed Merks
2018-10-05 04:01:49 UTC
Permalink
Denis,

 While automatic redirection is a great idea for keeping the download
server responsive, I should point out that unfortunately it can also
lead to problems:

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

In particular, for locations with content that changes over time, it can
and does redirect to mirrors with older content.  I've suggested that it
seems relatively simple (to me) to tweak whatever logic is checking for
size > 500KB to also check that modification time > 1 day so that some
mirror is actually likely to have the latest version rather than highly
unlikely.

Regards,
Ed
Post by Denis Roy
First off: thank you for considering our bandwidth! It is much
appreciated.
We have since tweaked download.e.o so that, if you choose to not
access mirrors, we will round-robin to mirrors based on the client's
location (for files > 500KB). In that case, a retry to download.e.o
may result in a different mirror for the same file, which may make
your builds more reliable.
My suggestion: use the p2 mirrors mechanism, and if the same mirror
fails repeatedly, then please report it and we'll remove it.
Thanks,
Denis
Post by Ernesto Posse
I didn’t manually set the mirrors. My tycho build is using whatever
the default is. My latest build did succeed but checking the log I
see that it did not use mirror.cc.vt.edu <http://mirror.cc.vt.edu>.
My build is working for now, but for future builds I could try Nick’s
suggestion of avoiding mirrors, but that, of course, is not ideal, as
I don’t want to overuse bandwidth.
I’m not sure who exactly picks the mirrors: p2 or tycho? In any case,
I would have hoped that whenever a mirror fails on an artiact for
some reason, a different mirror would be tried. Perhaps this
functionality has already been implemented? If not, I could file a
bug, but on which component? p2? tycho? some other component?
Thanks
On Oct 4, 2018, at 1:20 PM, Denis Roy
Mirrors are one of those things... I think that specific mirror has
occasional connectivity issues, since it's not the first time I see
this error.
Can you switch to another mirror?
We could pull that mirror from the list if it becomes problematic,
but over the last decade it has served many a terabyte.
Denis
Post by Ernesto Posse
Thanks. Yes, that is a possibility, but unfortunately the product
I’m building must be built on Neon due to some dependencies (which
are absolutely necessary for the product but run only on Neon).
Sometimes it is necessary to build products with older
dependencies, specially when maintaining legacy applications.
Anyway, the build is now working, so maybe that was just a
temporary network issue for the mirror in question, but thanks for
the suggestion.
--
Ernesto Posse
Zeligsoft (2009) Ltd.
Post by Nick Boldt
At the risk of being That Guy, have you considered that the
mirrors are trashing their ancient releases and moving up to the
newer stuff?
Neon is so a couple years ago. 2016 was a much simpler time. Now
we live in the Photon and 2018-09 world. Can you use one of those
instead?
There's also a flag to disable using the mirrors and just pull
directly from Eclipse.org <http://eclipse.org/>.
https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL
Nick
Hi. I’m trying to build a project which downloads Neon artifacts from
http://mirror.cc.vt.edu/pub/eclipse/releases/neon/ but I keep
[INFO] Fetching
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459.jar.pack.gz from
http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/
(106.56kB)
[INFO] Unpacking
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459...
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759
[ERROR] Unable to connect to repository
http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz
Could not mirror artifact
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759
into the local Maven repository.See log output for details.
Network is unreachable (connect failed) -> [Help 1]
(not only for org.eclipse.e4.ui.services_1.2.100 but other
artifacts as well)
Is anyone else seeing these problems? Is this particular
mirror (http://mirror.cc.vt.edu) down?
Thanks,
--
Ernesto Posse
Zeligsoft (2009) Ltd.
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
Nick Boldt
Principal Software Engineer, RHCSA
Productization Lead :: JBoss Tools & Dev Studio
<http://nick.divbyzero.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@ @redhatnews <https://twitter.com/redhatnews>    Red Hat
<https://www.facebook.com/RedHatInc>
<https://www.facebook.com/RedHatInc>
“The Only Thing That Is Constant Is Change” - Heraclitus
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
eclipse-mirrors mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors
--
*Denis Roy*
*Director, IT Services | **Eclipse Foundation, Inc.*
LUDWIGSBURG, OCTOBER 23 - 25/
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.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://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
*Denis Roy*
*Director, IT Services | **Eclipse Foundation, Inc.*
LUDWIGSBURG, OCTOBER 23 - 25/
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Denis Roy
2018-10-18 19:42:53 UTC
Permalink
Hi Ed,

There is some logic for looking at time (on disk) of files and
revalidation with mirrors. I agree it should be more robust and will
look at it after EclipseCon.


Thanks,

Denis
Post by Ed Merks
Denis,
 While automatic redirection is a great idea for keeping the download
server responsive, I should point out that unfortunately it can also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=539316
In particular, for locations with content that changes over time, it
can and does redirect to mirrors with older content.  I've suggested
that it seems relatively simple (to me) to tweak whatever logic is
checking for size > 500KB to also check that modification time > 1 day
so that some mirror is actually likely to have the latest version
rather than highly unlikely. 
Regards,
Ed
Post by Denis Roy
First off: thank you for considering our bandwidth! It is much appreciated.
We have since tweaked download.e.o so that, if you choose to not
access mirrors, we will round-robin to mirrors based on the client's
location (for files > 500KB). In that case, a retry to download.e.o
may result in a different mirror for the same file, which may make
your builds more reliable.
My suggestion: use the p2 mirrors mechanism, and if the same mirror
fails repeatedly, then please report it and we'll remove it.
Thanks,
Denis
Post by Ernesto Posse
I didn’t manually set the mirrors. My tycho build is using whatever
the default is. My latest build did succeed but checking the log I
see that it did not use mirror.cc.vt.edu <http://mirror.cc.vt.edu>. 
My build is working for now, but for future builds I could try
Nick’s suggestion of avoiding mirrors, but that, of course, is not
ideal, as I don’t want to overuse bandwidth.
I’m not sure who exactly picks the mirrors: p2 or tycho? In any
case, I would have hoped that whenever a mirror fails on an artiact
for some reason, a different mirror would be tried. Perhaps this
functionality has already been implemented? If not, I could file a
bug, but on which component? p2? tycho? some other component?
Thanks
On Oct 4, 2018, at 1:20 PM, Denis Roy
Mirrors are one of those things... I think that specific mirror has
occasional connectivity issues, since it's not the first time I see
this error.
Can you switch to another mirror?
We could pull that mirror from the list if it becomes problematic,
but over the last decade it has served many a terabyte.
Denis
Post by Ernesto Posse
Thanks. Yes, that is a possibility, but unfortunately the product
I’m building must be built on Neon due to some dependencies (which
are absolutely necessary for the product but run only on Neon).
Sometimes it is necessary to build products with older
dependencies, specially when maintaining legacy applications.
Anyway, the build is now working, so maybe that was just a
temporary network issue for the mirror in question, but thanks for
the suggestion.
--
Ernesto Posse
Zeligsoft (2009) Ltd.
Post by Nick Boldt
At the risk of being That Guy, have you considered that the
mirrors are trashing their ancient releases and moving up to the
newer stuff?
Neon is so a couple years ago. 2016 was a much simpler time. Now
we live in the Photon and 2018-09 world. Can you use one of those
instead?
There's also a flag to disable using the mirrors and just pull
directly from Eclipse.org <http://eclipse.org/>. 
https://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#Avoiding_mirrors.2C_even_when_using_p2.mirrorsURL
Nick
Hi. I’m trying to build a project which downloads Neon artifacts
from http://mirror.cc.vt.edu/pub/eclipse/releases/neon/ but I
[INFO] Fetching
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459.jar.pack.gz from
http://eclipse.mirror.rafal.ca/releases/neon/201705151400/plugins/
(106.56kB)
[INFO] Unpacking
org.eclipse.e4.ui.model.workbench_1.2.0.v20160229-1459...
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759
[ERROR]       Unable to connect to repository
http://mirror.cc.vt.edu/pub/eclipse/releases/neon/201705151400/plugins/org.eclipse.e4.ui.services_1.2.100.v20160506-0759.jar.pack.gz
Could not mirror artifact
osgi.bundle,org.eclipse.e4.ui.services,1.2.100.v20160506-0759
into the local Maven repository.See log output for details.
Network is unreachable (connect failed) -> [Help 1]
(not only for org.eclipse.e4.ui.services_1.2.100 but other
artifacts as well)
Is anyone else seeing these problems? Is this particular
mirror (http://mirror.cc.vt.edu) down? 
Thanks,
--
Ernesto Posse
Zeligsoft (2009) Ltd.
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
Nick Boldt
Principal Software Engineer, RHCSA
Productization Lead :: JBoss Tools & Dev Studio
<http://nick.divbyzero.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@ @redhatnews <https://twitter.com/redhatnews>     Red Hat
<https://www.facebook.com/RedHatInc>
<https://www.facebook.com/RedHatInc>
“The Only Thing That Is Constant Is Change” - Heraclitus
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
eclipse-mirrors mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-mirrors
--
*Denis Roy*
*Director, IT Services | **Eclipse Foundation, Inc.*
LUDWIGSBURG, OCTOBER 23 - 25/
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.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://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
*Denis Roy*
*Director, IT Services | **Eclipse Foundation, Inc.*
LUDWIGSBURG, OCTOBER 23 - 25/
_______________________________________________
cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.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://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
*Denis Roy*

*Director, IT Services | **Eclipse Foundation, Inc.*

Twitter: @droy_eclipse

Meet us at /EclipseCon Europe 2018/ <https://www.eclipsecon.org/>/:
LUDWIGSBURG, OCTOBER 23 - 25/
Loading...