Symptoms
When editing pages in SiteStudio, images are not displayed.
Blank page is published, instead of the proper website:
Log file
/hsphere/shared/SiteStudio/logs/ss.log
contains following errors:23:00:53,094 [TP-Processor7:WARN ] Publisher - 425 Unable to build data connection: No route to host 23:00:53,094 [TP-Processor7:ERROR] Builder - genImagesFromCache java.io.IOException: Unable to send file: gen_1.1.gif at psoft.masonry.publisher.FTPPublisher.checkCompletion(FTPPublisher.java:165) at psoft.masonry.publisher.FTPPublisher.startNewFile(FTPPublisher.java:101) at psoft.masonry.Website.generateImagesFromCache(Website.java:187) at psoft.masonry.Website._get(Website.java:361) at psoft.masonry.Page.get(Page.java:293) at freemarker.template.expression.Dot.getAsTemplateModel(Dot.java) at freemarker.template.expression.Variable.getValue(Variable.java) at freemarker.template.instruction.VariableInstruction.process(VariableInstruction.java) at freemarker.template.compiler.TemplateLink.process(TemplateLink.java) at freemarker.template.compiler.TemplateLinkedList.process(TemplateLinkedList.java) at freemarker.template.instruction.FunctionInstruction.process(FunctionInstruction.java) at freemarker.template.instruction.CallInstruction.process(CallInstruction.java) at freemarker.template.compiler.TemplateLink.process(TemplateLink.java) at freemarker.template.compiler.TemplateLinkedList.process(TemplateLinkedList.java) at freemarker.template.Template.process(Template.java:292) at psoft.masonry.Page.process(Page.java:712) at psoft.masonry.Page.process(Page.java:707) at psoft.masonry.Page.show(Page.java:746) at psoft.masonry.HierarchicalPage.show(HierarchicalPage.java:276) at psoft.masonry.action.Action_show.exec(Action_show.java:17) at psoft.masonry.action.Action.process(Action.java:32) at psoft.masonry.Builder.service(Builder.java:521) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) 23:00:53,098 [TP-Processor7:INFO ] Publisher - Connecting... user@host:21 23:00:53,128 [TP-Processor7:INFO ] Publisher - Starting new file: /domain.tld/widgets/gen_1.1.gif 23:00:53,134 [TP-Processor7:WARN ] Publisher - 425 Unable to build data connection: No route to host
Attempt to get directory contents from target domain by FTP fails if FTP passive mode is turned off:
ftp> pass Passive mode off. ftp> ls 200 PORT command successful 425 Unable to build data connection: No route to host
Resolution
Allow incoming connections to port 20 (ftp-data
) on the server, where SiteStudio is installed.