<div dir="auto">I would recommend invalidating your cache and let it repopulate. </div><div dir="auto"><br></div><div dir="auto">Jody </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 11, 2023 at 10:50 PM Frank Gasdorf <<a href="mailto:fgdrf@users.sourceforge.net">fgdrf@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div>Interesting, we use it in Nexus as a proxy repo and you were right, these zero-size jars were present in our cache as well.</div><div><br></div><div>How did you cleaned-up the cache? Search on filesystem and remove files with this attributes and updated index within nexus afterwards?<br></div><div><br></div><div>Your help is much appreciated</div><div><br></div><div>--</div><div>Frank<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 11. Sept. 2023 um 16:48 Uhr schrieb Jody Garnett <<a href="mailto:jody.garnett@gmail.com" target="_blank">jody.garnett@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">I was only asking as if you have a mirror it would of been filled up with junk and need to have its cache of jars cleaned up. </div><div dir="auto"><br></div><div dir="auto">When building directlt it is best to have the fewest number of maven repositories listed (as each one is checked in turn). </div><div dir="auto"><br></div><div dir="auto">I am not sure why maven pom.xml does not allow an include/exclude filter on repositories…</div><div dir="auto"><br></div><div dir="auto">Jody</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 11, 2023 at 2:08 AM Brogli, Alexander <<a href="mailto:Alexander.Brogli@ebp.ch" target="_blank">Alexander.Brogli@ebp.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Answer:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
We do build it directly and dont mirror it (so far, maybe we should, at least to reduce some traffic for osgeo). So for us the fix indeed worked.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Thanks & Regards</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Alex</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><b style="font-family:Calibri,sans-serif">Von:</b> Jody Garnett <<a href="mailto:jody.garnett@gmail.com" style="font-family:Calibri,sans-serif" target="_blank">jody.garnett@gmail.com</a>><br>
<b style="font-family:Calibri,sans-serif">Gesendet:</b> Freitag, 8. September 2023 00:59<br>
<b style="font-family:Calibri,sans-serif">An:</b> Brogli, Alexander <<a href="mailto:Alexander.Brogli@ebp.ch" style="font-family:Calibri,sans-serif" target="_blank">Alexander.Brogli@ebp.ch</a>><br>
<b style="font-family:Calibri,sans-serif">Cc:</b> <a href="mailto:discuss@lists.osgeo.org" style="font-family:Calibri,sans-serif" target="_blank">discuss@lists.osgeo.org</a> <<a href="mailto:discuss@lists.osgeo.org" style="font-family:Calibri,sans-serif" target="_blank">discuss@lists.osgeo.org</a>>; <a href="mailto:fgdrf@users.sourceforge.net" style="font-family:Calibri,sans-serif" target="_blank">fgdrf@users.sourceforge.net</a> <<a href="mailto:fgdrf@users.sourceforge.net" style="font-family:Calibri,sans-serif" target="_blank">fgdrf@users.sourceforge.net</a>></font></div></div><div dir="ltr"><div id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br>
<b style="font-family:Calibri,sans-serif">Betreff:</b> Re: [OSGeo-Discuss] <a href="http://repo.osgeo.org" style="font-family:Calibri,sans-serif" target="_blank">repo.osgeo.org</a> contains empty files</font>
<div> </div>
</div>
<div>
<p style="border:1px solid rgb(255,235,156);padding:2pt;background-color:rgb(255,235,156)">
<span style="font-size:12pt;color:black"><b>[EXTERNE E-MAIL]</b></span> <span style="font-size:10pt;color:black">
Klicke nicht auf Links und öffne keine angehängten Dateien, wenn du die Absenderin oder den Absender nicht kennst.</span></p>
<div>
<div dir="ltr">Question:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Are you building against repo osgeo "release" directly in your maven build?</div>
<div dir="ltr">If so you should indeed be fixed 🙂<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Or have you setup a mirror or nexus repository of your own that caches repo osgeo "releases"?</div>
<div dir="ltr">In this case you may need to clear your cache (to get rid of any zero sized jars).</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I am curious how many folks are running downstream caches or mirrors and may be affected ...</div>
<div dir="ltr">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>--</div>
<div>Jody Garnett</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div>
<div dir="ltr">On Sep 7, 2023 at 12:42:09 PM, "Brogli, Alexander" <<a href="mailto:Alexander.Brogli@ebp.ch" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA3e664fcc-6bcb-7d82-9e58-e4a264b12896" target="_blank">Alexander.Brogli@ebp.ch</a>> wrote:<br>
</div>
<blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div>
<div></div>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Hello</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Thanks for creating the ticket. I haven't created one, since I don't have a osgeo ID and am still waiting for a reply to my mantra request. I've checked, it seems we can regularly pull from
<a href="http://repo.osgeo.org" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA46f47752-5a22-2675-b3cf-70729a543136" style="font-family:Calibri,Arial,Helvetica,sans-serif" target="_blank">
repo.osgeo.org</a> again, so I can confirm <span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt">the problem seems to be resolved for us, thanks a lot!</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt">Regards, Alex</span></div>
<div id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804x_appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><b style="font-family:Calibri,sans-serif">Von:</b> Jody Garnett <<a href="mailto:jody.garnett@gmail.com" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA3cdf6b2b-2dd0-a8b0-a252-5fd1e7811b5f" style="font-family:Calibri,sans-serif" target="_blank">jody.garnett@gmail.com</a>><br>
<b style="font-family:Calibri,sans-serif">Gesendet:</b> Donnerstag, 7. September 2023 21:04<br>
<b style="font-family:Calibri,sans-serif">An:</b> <a href="mailto:fgdrf@users.sourceforge.net" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA9eb9e555-c8d1-2b22-5068-37dc30780787" style="font-family:Calibri,sans-serif" target="_blank">
fgdrf@users.sourceforge.net</a> <<a href="mailto:fgdrf@users.sourceforge.net" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA1341986e-5110-efb5-bb59-0bcf1314cf8a" style="font-family:Calibri,sans-serif" target="_blank">fgdrf@users.sourceforge.net</a>><br>
<b style="font-family:Calibri,sans-serif">Cc:</b> Brogli, Alexander <<a href="mailto:Alexander.Brogli@ebp.ch" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA2001bb33-1329-f234-7777-ae499ea0a702" style="font-family:Calibri,sans-serif" target="_blank">Alexander.Brogli@ebp.ch</a>>;
<a href="mailto:discuss@lists.osgeo.org" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA95777ad8-e49d-b841-329d-13b404086a58" style="font-family:Calibri,sans-serif" target="_blank">
discuss@lists.osgeo.org</a> <<a href="mailto:discuss@lists.osgeo.org" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA9843a035-6918-7d92-d9fb-7158a56ad60d" style="font-family:Calibri,sans-serif" target="_blank">discuss@lists.osgeo.org</a>><br>
<b style="font-family:Calibri,sans-serif">Betreff:</b> Re: [OSGeo-Discuss] <a href="http://repo.osgeo.org" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA54615d2a-7fe5-107c-e688-cf9ff88a8638" style="font-family:Calibri,sans-serif" target="_blank">
repo.osgeo.org</a> contains empty files</font>
<div> </div>
</div>
<div>
<p style="border:1px solid rgb(255,235,156);padding:2pt;background-color:rgb(255,235,156)">
<span style="font-size:12pt;color:black"><b>[EXTERNE E-MAIL]</b></span> <span style="font-size:10pt;color:black">
Klicke nicht auf Links und öffne keine angehängten Dateien, wenn du die Absenderin oder den Absender nicht kennst.</span></p>
<div>
<div dir="ltr">
<div dir="ltr">I have gone ahead and created a ticket there: <font style="color:rgb(65,156,255)"><a href="https://trac.osgeo.org/osgeo/ticket/2978" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA746fadb7-415d-892f-9395-580699a753f3" target="_blank">https://trac.osgeo.org/osgeo/ticket/2978</a></font><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I did not see you report the ticket yet, and it is capturing feedback on multiple channels.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I have found the problem with geonetwork-cache being setup to cache files stored in a GitHub repository by geonetwork 2.x series.</div>
<div dir="ltr">GitHub must of turned off access in this manner yesterday, resulting in a lot of time-outs and zero sized files being saved.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">The geonetwork-cache has been removed from release configuration; and I hope normal service has been restored? Please CONFIRM 🙂</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Notes:</div>
<div dir="ltr">
<ul style="margin:0px">
<li>There is a risk that other repositories have saved these zero sized files and will need to clear their cache of OSGeo, and lazily rebuild it again.</li><li>Normal maven builds do not have any way to select what jar to retrieve from different repositories. Indeed they attempt to contact each repository in turn, checking for every jar. <br>
So it is expect that <a href="http://repo.osgeo.org/" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWAb48cc0ca-5c9d-f58c-2203-93c2f21f8051" target="_blank">repo.osgeo.org</a> releases would field requests for all manner of content as we have seen. This is one
 case where gradle offers better control ...</li><li>I will reach out to the core-geonetwork project and determine how their build can be restored also.<br>
</li></ul>
</div>
<div dir="ltr"><br clear="all">
<div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>--</div>
<div>Jody Garnett</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>--</div>
<div>Jody Garnett</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div>
<div dir="ltr">On Sep 7, 2023 at 7:39:38 AM, Frank Gasdorf <<a href="mailto:fgdrf@users.sourceforge.net" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWAdf812841-1907-6dd8-ee8e-ba7f6ba63674" target="_blank">fgdrf@users.sourceforge.net</a>> wrote:<br>
</div>
<blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div dir="ltr">
<div>Hi folks, <br>
</div>
<div><br>
</div>
<div>I recently stumble about this problem to and my investigation is as follows:</div>
<div><br>
</div>
<div>* you a company uses a repository manager and has osger repo as a proxy repo configured AND</div>
<div>* and internal artefact has been request but is not avaliable in internal repositories, that a http get is set to osgeo repo as well</div>
<div>* this leads to enties like that with size 0 for each artefact</div>
<div><br>
</div>
<div><br>
</div>
<div>IMHO it seems to be an issue in nexus configuration and I investigate how to configure filter for proxe repositories in Nexus.</div>
<div><br>
</div>
<div>Once you have a trac issue id, let us know</div>
<div>--</div>
<div>Frank<br>
</div>
</div>
<br>
<div>
<div dir="ltr">Am Do., 7. Sept. 2023 um 15:22 Uhr schrieb Jody Garnett via Discuss <<a href="mailto:discuss@lists.osgeo.org" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA3cb518a6-14bc-b576-5f39-a30ad9f71dfd" target="_blank">discuss@lists.osgeo.org</a>>:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div dir="auto">This should be reported to the trac issues tracker, for the system admin committee. </div>
<div dir="auto"><br>
</div>
<div dir="auto">I help manage the repo a bit, I wonder where the size zero files come from? We may be able to check if they were uploaded or fetched from a cache of an external repo.  </div>
<div><br>
<div>
<div dir="ltr">On Thu, Sep 7, 2023 at 5:54 AM Brogli, Alexander via Discuss <<a href="mailto:discuss@lists.osgeo.org" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA7742ab2d-0b3c-c113-1c31-3c1d040bfaac" target="_blank">discuss@lists.osgeo.org</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Hi all</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
We're thankful consumers of osgeo's maven repository, though this morning we noticed that empty files are pulled. Inspecting certain cases, we saw that since this morning files with size 0 seem to be in the repo, e.g. the files here <a href="https://repo.osgeo.org/service/rest/repository/browse/release/org/jboss/jboss-parent/36/" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWAc26dba36-c0b8-d31d-75de-336bf1d00e68" style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt" target="_blank">https://repo.osgeo.org/service/rest/repository/browse/release/org/jboss/jboss-parent/36/</a>. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Do you know if there's a better place / mailing list to post this inquiry, or if the responsible persons are aware of the issue?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Thanks & regards</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Alex</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
</div>
</div>
_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.osgeo.org" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA776f6aef-5713-b0bc-1956-be037a35c2f0" target="_blank">Discuss@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/discuss" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWAd037d1e9-9c7c-77f6-0f7d-813939fdda86" target="_blank">https://lists.osgeo.org/mailman/listinfo/discuss</a><br>
</blockquote>
</div>
</div>
_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.osgeo.org" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA35dbcf25-aa7c-8868-a314-d824804df365" target="_blank">Discuss@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/discuss" id="m_5655769625931914475m_-6479959725344167032m_-7317793139773504804OWA10c5da22-dde3-2e0f-59df-c3c53d067aa0" target="_blank">https://lists.osgeo.org/mailman/listinfo/discuss</a><br>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>

</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>