Having trouble with a transport

ediego's Avatar


01 Nov, 2011 07:06 PM

I'm getting the following error when trying to publish my site.

[fqs-production] : com.hannonhill.cascade.model.publish.transmit.ShuttleRuntimeException: An error occurred during the transmission of _assets/javascript/cufon-yui.js: I won't open a connection to (only to at com.hannonhill.cascade.model.publish.transmit.FTPShuttle.sendFile(FTPShuttle.java:246) at com.hannonhill.cascade.model.publish.callback.TransmitCallbackImpl.transmitRendering(TransmitCallbackImpl.java:355) at com.hannonhill.cascade.model.publish.callback.TransmitCallbackImpl.access$000(TransmitCallbackImpl.java:53) at com.hannonhill.cascade.model.publish.callback.TransmitCallbackImpl$1.execute(TransmitCallbackImpl.java:115) at com.hannonhill.cascade.model.publish.callback.TransmitCallbackImpl.executeAndRetry(TransmitCallbackImpl.java:258) at com.hannonhill.cascade.model.publish.callback.TransmitCallbackImpl.transmit(TransmitCallbackImpl.java:127) at com.hannonhill.publish.Publisher$AggregateTransmitCallback.transmit(Publisher.java:1091) at com.hannonhill.publish.Publisher.transmit(Publisher.java:916) at com.hannonhill.publish.Publisher.publishInCurrentThread(Publisher.java:899) at com.hannonhill.publish.Publisher.access$1400(Publisher.java:71) at com.hannonhill.publish.Publisher$2.run(Publisher.java:714) at com.hannonhill.publish.DelegateRunner$1.run(DelegateRunner.java:88) at java.lang.Thread.run(Thread.java:636) Caused by: com.enterprisedt.net.ftp.FTPException: 500 I won't open a connection to (only to at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1127) at com.enterprisedt.net.ftp.FTPControlSocket.setDataPort(FTPControlSocket.java:756) at com.enterprisedt.net.ftp.FTPControlSocket.sendPORTCommand(FTPControlSocket.java:632) at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketActive(FTPControlSocket.java:576) at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocket(FTPControlSocket.java:544) at com.enterprisedt.net.ftp.FTPClient.setupDataSocket(FTPClient.java:2452) at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3324) at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:3282) at com.hannonhill.cascade.model.publish.transmit.FTPShuttle.sendFile(FTPShuttle.java:197) ... 12 more

  1. 1 Posted by Joel on 02 Nov, 2011 01:34 PM

    Joel's Avatar


    Could you attach your entire cascade.log file to this ticket? Also your can test this Transport independently from the publish job via the "Test Transport" once you select the Transport within the Administration area. You'll likely find the problem to be network or credential related from what I can tell within the log snippet you've provided.


  2. 2 Posted by ediego on 06 Nov, 2011 04:00 PM

    ediego's Avatar


    When I test the transport, it works fine. Also when I SSH into the CMS server I can manually FTP to the destination. IT's only when I try to publish something to it that it fails. Also the server running the CMS is in the Amazon Cloud, so the address is the internal address of the CMS server and the is the external address.

  3. 3 Posted by Joel on 07 Nov, 2011 08:31 PM

    Joel's Avatar


    I found the following errors within your log file which indicate write permissions issues:

     2011-11-06 01:09:30,157 ERROR [TransmitCallbackImpl] Shuttle reported error and cannot retry: Error occurred during SFTP transport: Could not put file with path '/var/www/html/_assets/flash/undergraduate-brochure/pages/flv/First_StepB.f4v' onto server: Permission denied
     2011-11-06 01:09:30,170 ERROR [TransmitCallbackImpl] Registering a failed destination:      com.hannonhill.cascade.model.dom.Destination@69592c[id=e8aaf5b97f0000010187a604c8878f9e,name=sba-website-staging,currentVersion=true,versionDate=<null>,versionComment=<null>,path=bus.miami.edu/html/sba-website-staging] because of: com.hannonhill.cascade.model.publish.transmit.ShuttleRuntimeException: Error occurred during SFTP transport: Could not put file with path '/var/www/html/_assets/flash/undergraduate-brochure/pages/flv/First_StepB.f4v' onto server: Permission denied

    Please check the following path's permissions on your web server and let me know what you find.



  4. 4 Posted by ediego on 08 Nov, 2011 05:24 PM

    ediego's Avatar

    That's not the issue. That's from one of the other sites.

    The issus that I am having is towards the end of the log file.

    2011-11-06 10:51:00,693 ERROR [FTPShuttle] canRetry: FTP Shuttle reached maximum number of retries. Cannot retry further.
    2011-11-06 10:51:00,693 ERROR [TransmitCallbackImpl] Shuttle reported error and cannot retry: An error occurred during the transmission of //index.html: I won't open a connection to (only to

  5. 5 Posted by Joel on 08 Nov, 2011 06:41 PM

    Joel's Avatar

    Is this a FTP transport? It looks like it from the stack trace you've provided. If so, please enable passive mode for this Transport (via the "Passive Mode" checkbox for this Transport) and retry the publish job that causes this behavior and let me know what you find. If not, then I will need to know what SFTP server (vendor and version) this is occurring on as well as a copy of your SFTP configuration (but I suspect the issue lies within FTP and passive mode as said earlier).


  6. 6 Posted by Joel on 17 Nov, 2011 03:53 PM

    Joel's Avatar

    Any updates regarding this issue? Please let me know.


  7. Joel closed this discussion on 03 Jan, 2012 04:58 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM