FTP Stops Working Randomly
Posted: Thu 13 Mar 2025 2:13 am
Not sure if it's a coincidence, but ever since upgrading to version 4, I have been having random ftp issues. Namely, the ftp uploads just stop. Every time this happens, I get the following error message in the ftp logs:
2025-03-12 19:03:32.4023|INFO|MXR|FTP[137]: Uploading realtime.xml
2025-03-12 19:03:32.4023|INFO|R-T|> UploadStream("realtime.xml", NoCheck, False)
2025-03-12 19:03:32.4023|INFO|R-T|> OpenWrite("realtime.xml", Binary, -1, False)
2025-03-12 19:03:32.4023|INFO|R-T|> OpenDataStream("STOR realtime.xml", 0)
2025-03-12 19:03:32.4023|INFO|R-T|> OpenPassiveDataStream(EPSV, "STOR realtime.xml", 0)
2025-03-12 19:03:32.4023|INFO|R-T|Command: EPSV
2025-03-12 19:03:32.4531|INFO|R-T|Response: 500 Unknown command [49ms]
2025-03-12 19:03:32.4531|INFO|MXR|FTP[137]: Error uploading realtime.xml : Error while uploading the file to the server. See InnerException for more info.
2025-03-12 19:03:32.4531|INFO|MXR|FTP[137]: Inner Exception: Code: 500 Message: Unknown command
Sometimes I have to restart cumulus 5 or 6 times throughout a given day when this happens. Other times it will run for several days without issue. However, lately it has been much more frequent. Today I switched to active FTP to see if this helps and will report back, but I am stumped as to what is causing this issue.
2025-03-12 19:03:32.4023|INFO|MXR|FTP[137]: Uploading realtime.xml
2025-03-12 19:03:32.4023|INFO|R-T|> UploadStream("realtime.xml", NoCheck, False)
2025-03-12 19:03:32.4023|INFO|R-T|> OpenWrite("realtime.xml", Binary, -1, False)
2025-03-12 19:03:32.4023|INFO|R-T|> OpenDataStream("STOR realtime.xml", 0)
2025-03-12 19:03:32.4023|INFO|R-T|> OpenPassiveDataStream(EPSV, "STOR realtime.xml", 0)
2025-03-12 19:03:32.4023|INFO|R-T|Command: EPSV
2025-03-12 19:03:32.4531|INFO|R-T|Response: 500 Unknown command [49ms]
2025-03-12 19:03:32.4531|INFO|MXR|FTP[137]: Error uploading realtime.xml : Error while uploading the file to the server. See InnerException for more info.
2025-03-12 19:03:32.4531|INFO|MXR|FTP[137]: Inner Exception: Code: 500 Message: Unknown command
Sometimes I have to restart cumulus 5 or 6 times throughout a given day when this happens. Other times it will run for several days without issue. However, lately it has been much more frequent. Today I switched to active FTP to see if this helps and will report back, but I am stumped as to what is causing this issue.