Page 1 of 1

Wind gauge graphics not updating.

Posted: Thu 23 Feb 2012 3:36 am
by silverview
The graphics for the three wind gauges are no longer updating on my website. I use them on my index page and the gauges page. The information in the mouse over box on the wind gauges is correct, as are the graphics for all other gauges. I haven't made a change to my web templates in two years, and the wind gauges were updating until recently. The only change to my system that I have made recently was to replace the cable modem, although I can't say if that is when the problem started.

The gauges are fine on the Cumulus console, but they never change on the website.

Both the ftp log and the diags file (attached) indicate the ftp component is not connected and is aborting. This seems to occur after successfully uploading everything else.

It has me baffled, so any help would be greatly appreciated.

Re: Wind gauge graphics not updating.

Posted: Thu 23 Feb 2012 4:18 am
by beteljuice
For some reason the session is aborting before your have finished uploading your graphic files.

19:50:49:032 ! HighLevelAsync 0
19:50:49:032 FTP Command: STOR rain.pngtmp
19:50:49:033 04F82180 TriggerDataSent 736
19:51:07:938 FTP Session Closed
19:51:07:938 04F82890 TCustomWSocket.Shutdown 1 444
19:51:07:939 04F82180 TCustomWSocket.Shutdown 1 736
19:51:07:976 Renaming rain.pngtmp to rain.png
19:51:07:976 ! HighLevelAsync 0
19:51:07:978 FTP Error: FTP component not connected
19:51:07:979 Aborting
19:51:07:979 ! Aborting

20:00:15:593 ! HighLevelAsync 0
20:00:15:636 TWSocket will connect to 66.199.140.166:21
20:00:15:803 04F82180 TriggerDataSent 680
20:00:15:856 FTP Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
20:00:15:856 >|220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------|

Re: Wind gauge graphics not updating.

Posted: Thu 23 Feb 2012 7:54 am
by steve
You're using active ftp mode, have you tried passive mode? But to be honest I think that's unlikely to help, it looks like the ftp connection is being broken somewhere, possibly the server is disconnecting, or quite possibly it's related to your modem change - maybe some configuration settings in the modem.

Re: Wind gauge graphics not updating.

Posted: Thu 23 Feb 2012 12:19 pm
by silverview
Okay. Thanks for looking beteljuice and Steve.

I'll try passive ftp mode, although I had selected active to solve a problem I was having a couple of years ago. I can't remember what that problem was now.

This could be more difficult to solve than I thought.

Re: Wind gauge graphics not updating.

Posted: Thu 23 Feb 2012 1:24 pm
by silverview
Turning off active ftp mode seems to have solved the problem. :clap: Hopefully that won't result in me remembering why I turned it on in the first place.