|
From: Valdis R. <vm...@co...> - 2007-04-25 12:47:50
|
Looks like "Last-Modified" is not being sent? It's running SVN 1.3.2 (as you'll see in the reponse below). HTTP/1.1 200 OK Date: Wed, 25 Apr 2007 12:45:42 GMT Server: Apache/2.0.55 (Ubuntu) DAV/2 SVN/1.3.2 PHP/5.1.6 ETag: "411//maven2/com/serialio/serialport/7.2/serialport-7.2-win32.zip" Accept-Ranges: bytes Content-Length: 1886093 Content-Type: application/octet-stream Yoav Landman wrote: > > I suspect that when Artifactory tries to query the artifact's modification > time Subversion is returning -1 or lower value to on the HTTP response > "Last-Modified" header. > Can you verify that by sending a HEAD request directly to the Subversion > URL? (also, what version of Subversion are you running?) > > On 4/25/07, Valdis Rigdon <vm...@co...> wrote: >> >> >> It's actually returning a 304 from wget as well as the maven client. >> When >> I >> browse the repository via the web pages, it says that it isn't caching >> anything from our local maven2 repository. >> >> >From the server log when requesting the artifact: >> 2007-04-25 08:12:35,239 [DEBUG] artifactory.engine.DownloadEngine - >> Update >> request processing >> (/artifactory/repo/com/serialio/serialport/7.2/serialport-7.2-win32.zip) >> includes all local repos. >> 2007-04-25 08:12:35,246 [DEBUG] artifactory.cache.DefaultRetrievalCache >> - >> Unable to find com/serialio/serialport/7.2/serialport-7.2-win32.zip in >> retrieval cache >> 2007-04-25 08:12:35,246 [DEBUG] artifactory.cache.DefaultRetrievalCache >> - >> Unable to find com/serialio/serialport/7.2/serialport-7.2-win32.zip in >> retrieval cache >> 2007-04-25 08:12:35,246 [DEBUG] artifactory.repo.HttpRepo - repo1: >> Checking >> last modified time for >> >> http://repo1.maven.org/maven2/com/serialio/serialport/7.2/serialport-7.2-win32.zip >> 2007-04-25 08:12:35,445 [DEBUG] artifactory.repo.RemoteRepoBase - repo1: >> {repo1:com/serialio/serialport/7.2/serialport-7.2-win32.zip} not found at >> 'com/serialio/serialport/7.2/serialport-7.2-win32.zip'. >> 2007-04-25 08:12:35,446 [DEBUG] artifactory.cache.DefaultRetrievalCache >> - >> Adding com/serialio/serialport/7.2/serialport-7.2-win32.zip to retrieval >> cache >> 2007-04-25 08:12:35,446 [DEBUG] artifactory.cache.DefaultRetrievalCache >> - >> Unable to find com/serialio/serialport/7.2/serialport-7.2-win32.zip in >> retrieval cache >> 2007-04-25 08:12:35,446 [DEBUG] artifactory.cache.DefaultRetrievalCache >> - >> Unable to find com/serialio/serialport/7.2/serialport-7.2-win32.zip in >> retrieval cache >> 2007-04-25 08:12:35,446 [DEBUG] artifactory.repo.HttpRepo - >> local-maven2-repo: Checking last modified time for >> >> http://svn.internal.net/maven2/com/serialio/serialport/7.2/serialport-7.2-win32.zip >> 2007-04-25 08:12:35,449 [DEBUG] >> artifactory.request.ArtifactoryRequestBase >> - Neither If-Modified-Since nor Last-Modified are set >> 2007-04-25 08:12:35,451 [INFO ] artifactory.request.RequestResponseHelper >> - >> local-maven2-repo: Sending NOT-MODIFIED response >> 2007-04-25 08:12:35,462 [DEBUG] artifactory.engine.DownloadEngine - >> Request >> for path 'com/serialio/serialport/7.2/serialport-7.2-win32.zip' failed. >> >> wget response: >> HTTP request sent, awaiting response... >> HTTP/1.1 304 Not Modified >> Date: Wed, 25 Apr 2007 12:12:35 GMT >> Server: Jetty(6.1.1) >> Connection: close >> 08:15:10 ERROR 304: Not Modified. >> >> >> >> Yoav Landman wrote: >> > >> > What is the value of the "Last-Modified" header returned by apache for >> the >> > artifact? >> > Does the artifact file already exist under you local repo? What is its >> > timestamp then? >> > If you can post your maven client output it can also provide some >> > direction >> > to what is going on. >> > >> > On 4/24/07, Valdis Rigdon <vm...@co...> wrote: >> >> >> >> >> >> I'm getting a 304 (NOT-MODIFIED) returned when hitting >> artifactory. The >> >> artifact is hosted in an svn repository, using apache + dav_svn. >> Other >> >> artifacts from other remote repositories work just fine. >> >> >> >> I was previously directly pointing to the http hosted repo and it >> worked, >> >> but trying to access it through artifactory, I'm getting a >> 304. Turning >> >> on >> >> DEBUG level tracing doesn't really give any details. >> >> >> >> Any ideas? >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/304-error-tf3640994.html#a10168655 >> >> Sent from the Artifactory-Users mailing list archive at Nabble.com. >> >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by DB2 Express >> >> Download DB2 Express C - the FREE version of DB2 express and take >> >> control of your XML. No limits. Just data. Click to get it now. >> >> http://sourceforge.net/powerbar/db2/ >> >> _______________________________________________ >> >> Artifactory-users mailing list >> >> Art...@li... >> >> https://lists.sourceforge.net/lists/listinfo/artifactory-users >> >> >> > >> > >> ------------------------------------------------------------------------- >> > This SF.net email is sponsored by DB2 Express >> > Download DB2 Express C - the FREE version of DB2 express and take >> > control of your XML. No limits. Just data. Click to get it now. >> > http://sourceforge.net/powerbar/db2/ >> > _______________________________________________ >> > Artifactory-users mailing list >> > Art...@li... >> > https://lists.sourceforge.net/lists/listinfo/artifactory-users >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/304-error-tf3640994.html#a10179545 >> Sent from the Artifactory-Users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Artifactory-users mailing list >> Art...@li... >> https://lists.sourceforge.net/lists/listinfo/artifactory-users >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Artifactory-users mailing list > Art...@li... > https://lists.sourceforge.net/lists/listinfo/artifactory-users > > -- View this message in context: http://www.nabble.com/304-error-tf3640994.html#a10179940 Sent from the Artifactory-Users mailing list archive at Nabble.com. |