Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Client can request chunk of 0 files #41

Open
matthijsln opened this issue Jun 5, 2015 · 0 comments
Open

Client can request chunk of 0 files #41

matthijsln opened this issue Jun 5, 2015 · 0 comments
Labels

Comments

@matthijsln
Copy link
Member

Minor issue, job succeeds after retry:

2015-06-05 16:36:55 INFO  [     dbk_media] Requesting chunk of 0 files (size 0 KB)
2015-06-05 16:36:55 INFO  [     dbk_media] > POST http://server/sync/fileset/get/voertuigviewer/media HTTP/1.1
2015-06-05 16:36:55 INFO  [     dbk_media] < HTTP/1.1 500 Internal Server Error
2015-06-05 16:36:55 ERROR [     dbk_media] Exception during sync job: IOException: Server returned "HTTP/1.1 500 Internal Server Error" for request "POST http://server/sync/fileset/get/voertuigviewer/media HTTP/1.1", body: <html><head><title>Apache Tomcat/7.0.26 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>net.sourceforge.stripes.exception.StripesServletException: ActionBean execution threw an exception.
    net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:183)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
    nl.b3p.web.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
</pre></p><p><b>root cause</b> <pre>java.io.IOException: Wrong filelist format returned, bad server URL? Output: filesetsync:filelist:end
    nl.opengeogroep.filesetsync.protocol.Protocol.decodeFilelist(Protocol.java:31)
    nl.opengeogroep.filesetsync.server.stripes.FilesetGetActionBean.get(FilesetGetActionBean.java:69)
    sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:606)
    net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelper.java:467)
    net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
    net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
    net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
    net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
    net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(DispatcherHelper.java:465)
    net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(DispatcherServlet.java:278)
    net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:160)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
    nl.b3p.web.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/7.0.26 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.26</h3></body></html>
2015-06-05 16:36:55 ERROR [     dbk_media] IO exception, retrying later after 30 seconds (try 1 of max 5)
2015-06-05 16:37:25 INFO  [              ] Retrying job after waiting
2015-06-05 16:37:25 INFO  [     dbk_media] Starting sync for job "dbk_media", last started at 2015-06-05 16:36:38 and finished at 2015-06-05 16:36:55
2015-06-05 16:37:25 INFO  [     dbk_media] Retrieving file list (last file list cached at 2015-06-05 16:35:08)
2015-06-05 16:37:25 INFO  [     dbk_media] > GET http://server/sync/fileset/list/voertuigviewer/media?hash=true&regexp HTTP/1.1
2015-06-05 16:37:25 INFO  [     dbk_media] < HTTP/1.1 304 Not Modified
2015-06-05 16:37:25 INFO  [     dbk_media] Cached file list is up-to-date
2015-06-05 16:37:31 INFO  [     dbk_media] Compared file list to local files in 5 seconds, 1234 files up-to-date, hashed hashed 467332 KB, hash speed 83766 KB/s
2015-06-05 16:37:31 INFO  [     dbk_media] No files to transfer
2015-06-05 16:37:31 INFO  [     dbk_media] Setting last modified times of 1 directories...
2015-06-05 16:37:31 INFO  [     dbk_media] Sync job complete
@matthijsln matthijsln added the bug label Jun 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant