smi93ctb Posted June 22, 2020 Posted June 22, 2020 Hi, My account was just reactivated, and when I try to use FileZilla I am getting this: Status: Connected to ricky.heliohost.orgError: FATAL ERROR: Received unexpected end-of-file from SFTP serverError: Could not connect to server I hope you can help.
Krydos Posted June 22, 2020 Posted June 22, 2020 I have tested SFTP on Ricky, and can confirm that it is working correctly. Try these settings: SFTP host: ricky.heliohost.org SFTP port: 1312 SFTP protocol: SFTP SFTP logon type: Normal SFTP Username: smi93ctb SFTP password: <same as cpanel>
smi93ctb Posted June 22, 2020 Author Posted June 22, 2020 The above are the same settings that I've used, that's why I am wondering why I am getting the error. https://pasteboard.co/Jee0OwK.jpghttps://pasteboard.co/Jee1kpb.jpg I will try to use another ftp client and see how it goes. Meanwhile, can you also check this? (or I can open a separate topic, if that is the SOP. Sorry) I tried to recreate the instructions on running the python script (test.py) https://www.helionet.org/index/topic/29540-solved-solved-total-beginner-need-help-running-a-python-script/ but I'm also getting the 500 error. http://smi93ctb.heliohost.org/cgi-bin/test.py And lastly, if I move to the VPS, how long will it take before I can use the server after payment? Thank you
Krydos Posted June 22, 2020 Posted June 22, 2020 The above are the same settings that I've used, that's why I am wondering why I am getting the error. https://pasteboard.co/Jee0OwK.jpg https://pasteboard.co/Jee1kpb.jpg I will try to use another ftp client and see how it goes.Those settings look right to me, and I tested SFTP with Flezilla so it should work. Can you enable more detailed error logs in Filezilla and post the log? I tried to recreate the instructions on running the python script (test.py) https://www.helionet.org/index/topic/29540-solved-solved-total-beginner-need-help-running-a-python-script/ but I'm also getting the 500 error. http://smi93ctb.heliohost.org/cgi-bin/test.pyThere's actually two problems that I see with your cgi. First, your file is encoded with DOS line endings. Our servers run Linux so using DOS line endings will result in a 500 error. This is usually caused by writing the file with a Windows editor like notepad, and then uploading the output. There are two easy ways to fix this.Use a Windows editor that understands and can write Linux line endings. I've never used it, but I've heard that Notepad++ has this option.Create the file and copy/paste the code into the cpanel file manager.Secondly, you're on Ricky which has python 2.7 and python 3.6 available. Your shebang is python 3.7, which would work on Tommy and Johnny, but on Ricky you need to use /usr/bin/python3.6. Trying to use a binary that doesn't exist would also result in a 500 error. And lastly, if I move to the VPS, how long will it take before I can use the server after payment?Generally it takes less than 24 hours to get it all set up for you.
smi93ctb Posted June 22, 2020 Author Posted June 22, 2020 I created a new file from the file manager itself but I didn't check the shebang version. I'll try again on the filezilla for the error log and let you know. But this isn't a priority for me now as I moved to vps. Hopefully, I can sort myself there. Thank you for the quick response.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now