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 Client in Nintendo Switch Console ERROR #42

Open
fan3k opened this issue Jan 11, 2019 · 10 comments
Open

FTP Client in Nintendo Switch Console ERROR #42

fan3k opened this issue Jan 11, 2019 · 10 comments

Comments

@fan3k
Copy link

fan3k commented Jan 11, 2019

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

@wagesj45
Copy link

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

@andresoviedo
Copy link
Owner

@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
Copy link

JaySea77 commented Jan 17, 2019

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
Copy link
Owner

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

@kernel-panic-enjoyer
Copy link

kernel-panic-enjoyer commented Feb 20, 2019

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
Copy link
Owner

andresoviedo commented Feb 21, 2019

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

@kernel-panic-enjoyer
Copy link

@andresoviedo
Copy link
Owner

andresoviedo commented Feb 24, 2019

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)`

@kernel-panic-enjoyer
Copy link

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

@fan3k
Copy link
Author

fan3k commented Feb 27, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants