cloudy cloudy

Author Topic: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89  (Read 568 times)

0 Members and 1 Guest are viewing this topic.

Offline jnardone_pdx

  • Posts: 48
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« on: January 27, 2019, 08:02:24 AM »
I'm not able to use the SFTP feature in WD on 10.37S89.  I was recently forced to transition from FTP to SFTP for uploading cusotmtextout.txt to a local server, so I do not know if SFTP worked previously.    SFTP works from the same Windows 10 PC for the same file with Filezilla, and a command line sftp (see below).  The first time I used either approach to transfer the file, I was asked to accept credentials since the server certificates are self signed. 

Command Line that worked:
C:\Users\Joe>sftp -c aes128-cbc Admin@192.168.1.8
Password Authentication
Password:
Connected to Admin@192.168.1.8.
sftp> put C:\wdisplay\webfiles\customtextout.txt
Uploading C:/wdisplay/webfiles/customtextout.txt to /RM/Weather/customtextout.txt
C:/wdisplay/webfiles/customtextout.txt                                100% 1574    73.2KB/s   00:00
sftp> exit
« Last Edit: January 27, 2019, 08:15:35 AM by jnardone_pdx »

Offline Martyn

  • Davis VP2+ FARS/solar/UV
  • Posts: 960
  • Bristol, UK
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 64.0
    • Horfield/Filton, Bristol, UK weather station
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #1 on: January 27, 2019, 09:58:43 AM »
Hi,
I notice the switch is off (red) in the general FTP function screen and there are no upload times set so the file will not get transferred.
« Last Edit: January 27, 2019, 01:26:37 PM by Martyn »
Martyn,
Bristol, UK

Twitter: https://twitter.com/HorfieldWeather
FB: https://www.facebook.com/bristolweather
CWOP: CW2888
WU: IBRISTOL3

Offline jnardone_pdx

  • Posts: 48
  • OS/Browser:
  • iOS 12.1.3
  • Safari 12.0
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #2 on: January 27, 2019, 04:06:47 PM »
I used the test button without turning on automatic uploads to test different settings. I tried automatic uploads earlier without any luck and eneded up disabling because of it hanging and taking time to timeout.   Thanks for the review

Offline Martyn

  • Davis VP2+ FARS/solar/UV
  • Posts: 960
  • Bristol, UK
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 64.0
    • Horfield/Filton, Bristol, UK weather station
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #3 on: January 27, 2019, 04:27:43 PM »
I see you are using the 2nd server option and do not have any FTP host settings entered on the "connections" tab. Is there a reason for that? If not then maybe try putting the host settings there and not use the 2nd server?
Martyn,
Bristol, UK

Twitter: https://twitter.com/HorfieldWeather
FB: https://www.facebook.com/bristolweather
CWOP: CW2888
WU: IBRISTOL3

Offline jnardone_pdx

  • Posts: 48
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #4 on: January 27, 2019, 05:26:20 PM »
Genius.  I never considered using the primary ftp to upload the single file since I normally use the primary ftp configuration to upload webpages.  Now I'll have to find a way to upload the other files to the primary ftp server.

OK, for now there appears to be an issue using a secondary sftp upload server.  Something Brian may want to check out.  This is probably not a high usage model today, but may become an issue for more people as more and more systems move to secure interfaces. 

Offline Weather Display

  • Posts: 86,478
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #5 on: January 27, 2019, 06:27:59 PM »
where exactly does it turn out the problem is?

Offline Martyn

  • Davis VP2+ FARS/solar/UV
  • Posts: 960
  • Bristol, UK
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 64.0
    • Horfield/Filton, Bristol, UK weather station
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #6 on: January 27, 2019, 06:36:54 PM »
Now I'll have to find a way to upload the other files to the primary ftp server.

How were you doing that before? If the primary FTP details are there then everything should use that, webpages/images/single files etc - the 2nd server option is there to upload selected file to a different server in addition to the primary, not instead of. I have tested this in the past and the 2nd server does work. Are all your webpages etc going to your local server too?
« Last Edit: January 27, 2019, 06:58:58 PM by Martyn »
Martyn,
Bristol, UK

Twitter: https://twitter.com/HorfieldWeather
FB: https://www.facebook.com/bristolweather
CWOP: CW2888
WU: IBRISTOL3

Offline Martyn

  • Davis VP2+ FARS/solar/UV
  • Posts: 960
  • Bristol, UK
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 64.0
    • Horfield/Filton, Bristol, UK weather station
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #7 on: January 27, 2019, 06:43:03 PM »
where exactly does it turn out the problem is?

Using a 2nd server option in general FTP without any primary server details entered in "connections" - but I always understood the 2nd server option was an addition to and not an alternative to uploading to a primary server?
Martyn,
Bristol, UK

Twitter: https://twitter.com/HorfieldWeather
FB: https://www.facebook.com/bristolweather
CWOP: CW2888
WU: IBRISTOL3

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,942
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #8 on: January 27, 2019, 06:51:36 PM »
Genius.  I never considered using the primary ftp to upload the single file since I normally use the primary ftp configuration to upload webpages.  Now I'll have to find a way to upload the other files to the primary ftp server.
If you use the Internet File Creation and Uploads override option you can choose which files go to which server.

Offline Weather Display

  • Posts: 86,478
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #9 on: January 27, 2019, 10:56:07 PM »
yeah,...he has set to use 2nd server...but no 2nd server is setup,...

Offline jnardone_pdx

  • Posts: 48
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #10 on: January 27, 2019, 11:36:01 PM »
I was using both the primary and secondary SFTP clients in WD.  The problem arises when I used the secondary account for SFTP to an inhouse self-signed server.  The pictures above are from my various experiments in which I first disabled the primary SFTP client to an outside location and tried only using the secondary SFTP setup, but that didn't work even though I was able to transfer files using Filezilla and an SFTP command line on a Windows 10 PC.   In both cases the Filezilla and command line SFTP transfers, I was asked to accept credentials the first time I accessed the SFTP server.  What did work on WD was when I moved the setup pointed at the internal server over the the primary SFTP account.    My guess, (and just a guess), is that WD doesn't deal with accepting credentials from self-signed servers on the 2nd SFTP account setup, but can handle for primary accounts.  -joe

Offline Weather Display

  • Posts: 86,478
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #11 on: January 28, 2019, 12:17:56 AM »
but in the screen shot you do not have any ftp settings set for a 2nd FTP server in the general FTP setup

Offline jnardone_pdx

  • Posts: 48
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #12 on: January 28, 2019, 01:07:51 AM »
look at the original screen shot post that shows 2nd SFTP setup and primary setup was cleared.  The three configs tried were (1) both primary and secondary setup, with secondary going to internal SFTP server (no pictures)...that didn't work, (2) primary removed and only a secondary setup for internal SFTP server (original post with pictures and logfiles)...but didn't work, and (3), moved  internal SFTP server over to primary (2nd set of pictures)..that did work.    Let me know if you need any more details or run any tests.  -joe

Offline Weather Display

  • Posts: 86,478
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #13 on: January 28, 2019, 03:04:12 AM »
just to clarify
using the normal ftp settings, in the connections setup
that is working (SFTP)
but those same ftp settings or a second ftp server, in the grouped upload, is not?

Offline jnardone_pdx

  • Posts: 48
  • OS/Browser:
  • iOS 12.1.3
  • Safari 12.0
Re: SFTP Timing Out - Not Able To Upload Files on WD 10.37S89
« Reply #14 on: January 28, 2019, 02:01:38 PM »
Correct.  The 2nd connection would timeout trying to transfer the data after what the log shows successfully connecting.  My guess is that nd connection cannot deal with self signed connections for the first acccess, but the primary can.

 

cumulus