Having trouble with a transport

ediego's Avatar

ediego

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 10.0.0.33 (only to 184.72.110.143) 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 10.0.0.33 (only to 184.72.110.143) 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

    Hi,

    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.

    Thanks!

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

    ediego's Avatar

    Sure.

    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 10.0.0.33 address is the internal address of the CMS server and the 184.72.110.143 is the external address.

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

    Joel's Avatar

    Hi,

    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.

    /var/www/html/_assets/flash/undergraduate-brochure/pages/flv/
    

    Thanks!

  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 10.0.0.33 (only to 184.72.110.143)

  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).

    Thanks!

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

    Joel's Avatar

    Any updates regarding this issue? Please let me know.

    Thanks!

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

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? 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