Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTP-Upload failed since FritzOS 7.01 #32

Closed
grimSBZ opened this issue Feb 22, 2019 · 3 comments
Closed

FTP-Upload failed since FritzOS 7.01 #32

grimSBZ opened this issue Feb 22, 2019 · 3 comments

Comments

@grimSBZ
Copy link

grimSBZ commented Feb 22, 2019

The script worked great until I updated my FritzBox to FritzOS 7.
Besides the fact that the Fritz-user now has to have "access from the internet" to establish the FTP-connection the upload of the phonebook itself failed.

Upload data to FRITZ!Box @ fritz.box
 FTP-Upload '4821f.jpg'... already exists.
  Uploading Phonebook XML to fritz.box
  ERROR: ERROR: Login failed with an unknown response.

I am using Debian 9.8 as the system that is running the script.
My ISP is 1and1 so the FritzBox maybe has a slightly modified firmware but i dont know how much alteration they really do.

Has someone any suggestions on how to fix this or how to get more information from the message Login failed with an unknown response.?

Thanks!

@wrohdewald
Copy link

I have Fritz 07.02, and I had to enable ftp access, see below. But this may not be your problem because you get
FTP-Upload '4821f.jpg'... already exists.

Anyway try to use any ftp client and see if that one can access the box.

And anyway an error message "unknown response" is a bug in itself, IMHO. That unknown response should be included in the error message.

Heimnetz / Speicher (NAS), enable "Zugriff über FTP aktiv"

Something like

Home network / Storage (NAS), enable "Access over FTP active"

@grimSBZ
Copy link
Author

grimSBZ commented Mar 13, 2019

There seems to be a problem with IPv6. I configured as fritzbox_ip and fritzbox_ip_ftp the corresponding IPV4 address instead of the hostname. Now I am getting the error mentioned in #18

ERROR: Response of initialization call /login_sid.lua in initSID was not xml-formatted.

This is could be the failing ssl validation. I applied the fix mentioned in 8e8467d but no success. Even with curl_setopt($ch, CURLOPT_VERBOSE, TRUE); there is no more information to go on.

At least the IPv6-issue seems to be fixed since FRITZ!OS 7.08-64610/64611 beta-version (https://avm.de/fritz-labor/fritz-labor-fuer-fritzbox-7590-und-7490/neuesverbesserungen/).

Behoben - lokaler FTP-Zugriff via IPv6 scheitert bei Benutzern ohne Internet-Rechte

For my device the stable version is still 7.01.

@grimSBZ grimSBZ closed this as completed Mar 13, 2019
@grimSBZ grimSBZ reopened this Mar 13, 2019
@grimSBZ
Copy link
Author

grimSBZ commented May 13, 2019

worked since i updated FritzOS to 7.10 and switched to andig/carddav2fb.

Maybe the main reason was that I changed the fb-login-settings to Anmeldung mit FRITZ!Box-Benutzernamen und Kennwort instead of Anmeldung mit dem FRITZ!Box-Kennwort.

@grimSBZ grimSBZ closed this as completed May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants