Cannot get IP address.
Moderator: Project members
-
- 500 Command not understood
- Posts: 5
- Joined: 2020-07-30 23:50
- First name: Mai
- Last name: Kagura
Cannot get IP address.
I'm getting the IP address used in passive mode from an external source, but I can't get it properly after 0.9.51.
The log shows Entering Passive Mode (0,0,0,10,*,*).
It has been successfully acquired up to 0.9.50.
The log shows Entering Passive Mode (0,0,0,10,*,*).
It has been successfully acquired up to 0.9.50.
Re: Cannot get IP address.
First, always use the latest (0.9.60 ATM), issues will not be resolved for older versions.
How are you getting it? If you use the "Retrieve" option, the site must print the IP as literal text.
I'm not completely certain, but it might be that FileZilla Server (the code is very outdated right now) does not support HTTPS webpages as source. The default entry is plain HTTP. If your external source has switched to forced HTTPS (HSTS), and redirects http to https, it could be no longer working.
@botg: Does FZ Server support HTTPS Retrieve targets?
How are you getting it? If you use the "Retrieve" option, the site must print the IP as literal text.
I'm not completely certain, but it might be that FileZilla Server (the code is very outdated right now) does not support HTTPS webpages as source. The default entry is plain HTTP. If your external source has switched to forced HTTPS (HSTS), and redirects http to https, it could be no longer working.
@botg: Does FZ Server support HTTPS Retrieve targets?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: Cannot get IP address.
@boco: No. Maybe in a future version.
-
- 500 Command not understood
- Posts: 5
- Joined: 2020-07-30 23:50
- First name: Mai
- Last name: Kagura
Re: Cannot get IP address.
Hmmm
I got the IP address on my site, I did not use HTTPS, I output it in plain text.
However, it becomes 0,0,0,10.
I got the IP address on my site, I did not use HTTPS, I output it in plain text.
However, it becomes 0,0,0,10.
Re: Cannot get IP address.
If you visit your site in a browser (http://), does it automatically load the HTTPS version?
I couldn't find anything in the Server 0.9.50 to 0.9.51 version history that would explain that.
I couldn't find anything in the Server 0.9.50 to 0.9.51 version history that would explain that.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 5
- Joined: 2020-07-30 23:50
- First name: Mai
- Last name: Kagura
Re: Cannot get IP address.
Is it my site?
I use only HTTP, not HTTPS.
I use only HTTP, not HTTPS.
Re: Cannot get IP address.
Please try if it works when using the default entry.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 5
- Joined: 2020-07-30 23:50
- First name: Mai
- Last name: Kagura
Re: Cannot get IP address.
It seems to succeed by default.
Hmm?
I confirmed that it failed before posting.
I'm running my site with a simple Perl script.
print "Content-type:text/plain\n\n$ENV{REMOTE_ADDR}\n";
Why does this fail?
What am I missing here?
I was able to get the IP address, but it is failing to open the data connection.
There may be a problem with the test site (https://ftptest.net/), but I'm not sure.
It's weird, even though it's all successful at 0.9.50.
If you know of any good testing sites, please let me know.
Hmm?
I confirmed that it failed before posting.
I'm running my site with a simple Perl script.
print "Content-type:text/plain\n\n$ENV{REMOTE_ADDR}\n";
Why does this fail?
What am I missing here?
I was able to get the IP address, but it is failing to open the data connection.
There may be a problem with the test site (https://ftptest.net/), but I'm not sure.
It's weird, even though it's all successful at 0.9.50.
If you know of any good testing sites, please let me know.
Re: Cannot get IP address.
Your script is wrong. HTTP uses CRLF as separator between header lines. Furthermore, the canonical form for header lines includes a space between the colon and the value.
Last but not least, you need to set the Content-Length header to force use of the identity transfer encoding, FileZilla Server does not support the chunked transfer encoding.
Last but not least, you need to set the Content-Length header to force use of the identity transfer encoding, FileZilla Server does not support the chunked transfer encoding.
-
- 500 Command not understood
- Posts: 5
- Joined: 2020-07-30 23:50
- First name: Mai
- Last name: Kagura
Re: Cannot get IP address.
HM.
Format analysis is strict.
I understand that, but why is it allowed in 0.9.50?
Did you change that in 0.9.51?
Format analysis is strict.
I understand that, but why is it allowed in 0.9.50?
Did you change that in 0.9.51?