andresoviedo / google-drive-ftp-adapter

Google Drive FTP Adapter to connect to google drive through the FTP protocol
GNU Lesser General Public License v3.0
396 stars 93 forks source link

FTP Client in Nintendo Switch Console ERROR #42

Open fan3k opened 5 years ago

fan3k commented 5 years ago

Why not download in my switch console? Look in error 2 1

wagesj45 commented 5 years ago

What exactly are you trying to accomplish? The screen shots provided don't show what you were trying to do.

andresoviedo commented 5 years ago

@fan3k please test ftp adapter installation by accesing from your PC before trying from Nintendo . If you still have problems please check log for errors.
Regard

JaySea77 commented 5 years ago

What ftp client on the switch are you using? When I use sx installer I can browse, but cannot open any files.

EDIT: Seeing the logging it seems that the files I was trying to open has the file download limite exceeded. It results in a 403. When I open another file it does work.

andresoviedo commented 5 years ago

Hello @fan3k . Did you succeed connecting your Nintendo to the FTP Adapter? Plase close this issue if that's the case Kind regards

BasePointer commented 5 years ago

I am having the same exact problem. However, I think this problem is not caused by this project, as accessing the files through other FTP clients works flawless.

EDIT: Nevermind. If I use the Filezilla FTP Server it does work. Issue likely related to the google drive ftp adapter.

Switch FTP Client + Filezilla Server -> OK Browser FTP Client + GDFA -> OK Switch FTP Client + GDFA -> Problem

andresoviedo commented 5 years ago

Thank you @vepox You are certainly right Every FTP client connects in a slightly different way to server. I have no Switch console. If you want however to call contribute fixing that, it would be required you to send the complete gdfa log to debug the issue. Kind regards

BasePointer commented 5 years ago

https://pastebin.com/3kXa83vX

andresoviedo commented 5 years ago

Hi @Vepox

According the the logs, it looks like the Nintendo Switch is closing the connection when downloading the file after 13 seconds. At this right point, the app is doing nothing except transferring the file from Google to your Switch.

Do you have issues with all the files or just "Second Run RETURNS [01004D1007926000][v0].nsp"? Do you have any timeout setting configured in your Nintendo Switch?

Kind regards

`Feb 21, 2019 5:47:26 PM org.apache.ftpserver.listener.nio.FtpLoggingFilter info INFORMATION: RECEIVED: EPSV Feb 21, 2019 5:47:26 PM org.apache.ftpserver.listener.nio.FtpLoggingFilter info INFORMATION: SENT: 229 Entering Passive Mode (|||54615|)

Feb 21, 2019 5:47:26 PM org.apache.ftpserver.listener.nio.FtpLoggingFilter info INFORMATION: RECEIVED: TYPE I Feb 21, 2019 5:47:26 PM org.apache.ftpserver.listener.nio.FtpLoggingFilter info INFORMATION: SENT: 200 Command TYPE okay.

Feb 21, 2019 5:47:26 PM org.apache.ftpserver.listener.nio.FtpLoggingFilter info INFORMATION: RECEIVED: SIZE 10 Second Run RETURNS [01004D1007926000][v0].nsp Feb 21, 2019 5:47:26 PM org.apache.ftpserver.listener.nio.FtpLoggingFilter info INFORMATION: SENT: 213 41084680

Feb 21, 2019 5:47:26 PM org.apache.ftpserver.listener.nio.FtpLoggingFilter info INFORMATION: RECEIVED: RETR 10 Second Run RETURNS [01004D1007926000][v0].nsp Feb 21, 2019 5:47:26 PM org.andresoviedo.google_drive_ftp_adapter.controller.Controller createInputStream INFORMATION: Downloading file 1a6z9R4_5SIiQPrWJ-ZiRBbk7D8kmlee9... Feb 21, 2019 5:47:26 PM org.andresoviedo.google_drive_ftp_adapter.model.GoogleDrive downloadFile INFORMATION: Downloading file '1a6z9R4_5SIiQPrWJ-ZiRBbk7D8kmlee9'... Feb 21, 2019 5:47:27 PM org.andresoviedo.google_drive_ftp_adapter.model.GoogleDrive downloadFile INFORMATION: Download file... '1a6z9R4_5SIiQPrWJ-ZiRBbk7D8kmlee9 Feb 21, 2019 5:47:40 PM org.apache.ftpserver.impl.IODataConnection warn WARNUNG: Exception during data transfer, closing data connection socket java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at java.io.BufferedOutputStream.flushBuffer(Unknown Source) at java.io.BufferedOutputStream.write(Unknown Source) at org.apache.ftpserver.impl.IODataConnection.transfer(IODataConnection.java:289) at org.apache.ftpserver.impl.IODataConnection.transferToClient(IODataConnection.java:161) at org.apache.ftpserver.command.impl.RETR.execute(RETR.java:169)`

BasePointer commented 5 years ago

I have this issue with every file I try to download. Cannot change the timeout settings

fan3k commented 5 years ago

Look for google-ocamlfuse

śr., 27 lut 2019, 17:26 użytkownik Vepox notifications@github.com napisał:

I have this issue with every file I try to download. Cannot change the timeout settings

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/andresoviedo/google-drive-ftp-adapter/issues/42#issuecomment-467930410, or mute the thread https://github.com/notifications/unsubscribe-auth/Asb7hi1fDqY4y6zjGYSQRtoZDCQFCBYVks5vRrG4gaJpZM4Z7L4h .