Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Renci.SshNet.dll

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Frank G
Posts: 43
Joined: Wed 25 Sep 2013 5:03 pm
Weather Station: WH1080 SE
Operating System: 5.4.79.7, Raspbian GNU/Linux
Location: Germany

Renci.SshNet.dll

Post by Frank G »

Hello,

when I use the current version of Renci.SshNet.dll, a connection to the host/webserver is not established. The MXdiags says:

Code: Select all

2020-12-14 18:48:09.952 SFTP[0]: Attempting realtime SFTP connect to host ssh.xxxx.de on port 22
2020-12-14 18:48:10.769 SFTP[0]: Error connecting sftp - The method or operation is not implemented.
If I use the version from build 3086 from Renci.SshNet.dll, a connection to the host/webserve is established. The MXdiags says:

Code: Select all

2020-12-14 18:51:09.959 SFTP[0]: Attempting realtime SFTP connect to host ssh.xxxx.de on port 22
2020-12-14 18:51:20.766 SFTP[0]: Realtime SFTP connected
Sftp settings are OK, sftp works.
I did a complete new CumulusMX setup (3.9.2 (build 3097).
Btw, working with "Pre-shared Private Key file for SFTP" failed. Settings for the key are OK, works on the same RPI and host/webserver with other tools. :o

Does anybody has a hint?

Thanks, Frank
Image
Weather at Buchenau/Germany: https://wetter.buchenau-net.de
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Renci.SshNet.dll

Post by mcrossley »

Can you confirm the versions of the Renci.SshNet.dll that does not work and the one that does please.
Frank G
Posts: 43
Joined: Wed 25 Sep 2013 5:03 pm
Weather Station: WH1080 SE
Operating System: 5.4.79.7, Raspbian GNU/Linux
Location: Germany

Re: Renci.SshNet.dll

Post by Frank G »

Last version that work: 3.6.10 - b3086
First version that doesn't work came with 3.6.11 - b3087
Image
Weather at Buchenau/Germany: https://wetter.buchenau-net.de
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Renci.SshNet.dll

Post by mcrossley »

Try upgrading to b3097, there have been a few SFTP improvements since the version you have - including working with more key file types.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Renci.SshNet.dll

Post by mcrossley »

Ah, it was a typo "3087" you meant 3097?

The version of Renchi.SshNet.dll that comes with 3097 is 2020.0.0.0 - not sure where you got that 3.6.11 version from?
Frank G
Posts: 43
Joined: Wed 25 Sep 2013 5:03 pm
Weather Station: WH1080 SE
Operating System: 5.4.79.7, Raspbian GNU/Linux
Location: Germany

Re: Renci.SshNet.dll

Post by Frank G »

Ah, it was a typo "3087" you meant 3097?
No, it wasn't a typo. With the "3087"-version my problems started. With any Cumulus-update (after 3086) I made, I tried the included Renci.SshNet.dll-version. But I had to go back to the 3086-version of Renci.SshNet.dll too keept my system running. Yesterday I updatet to version 3097 and again, no luck with the Renci.SshNet.dll of the current version and ... back to the 3086-version of Renci.SshNet.dll.
Image
Weather at Buchenau/Germany: https://wetter.buchenau-net.de
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Renci.SshNet.dll

Post by mcrossley »

I double checked using the latest version and I can connect to my SFTP server using both password and PSK authentication.

I think you will need to check the SFTP server logs to see why the connection is being rejected with the new version, this may give us a clue about how to fix it.

The new version supports additional key exchange methods - Diffie-Hellman Group16 SHA512, and Diffie-Hellman Group14 SHA256, there may be an issue in those?
Frank G
Posts: 43
Joined: Wed 25 Sep 2013 5:03 pm
Weather Station: WH1080 SE
Operating System: 5.4.79.7, Raspbian GNU/Linux
Location: Germany

Re: Renci.SshNet.dll

Post by Frank G »

Another curious thing (with 3086-version of Renci.SshNet.dll): Some files were send to the sever, some don't (honestly, I only really noticed it on 2020-12-06 when CumulusMX crashed). MXdiags says e.g.:

Code: Select all

2020-12-15 18:25:25.594 SFTP[Int]: Starting Upload of web/monthlyrecord.htm to Wetter/Cumulus/monthlyrecord.htm
2020-12-15 18:25:25.594 SFTP[Int]: Error uploading web/monthlyrecord.htm to Wetter/Cumulus/monthlyrecord.htm : Cannot access a disposed object.
Object name: 'Renci.SshNet.SftpClient'.
Maybe this helps a little bit. :?

What I did so far:
Installed a complete new OS.
Installed the current version of CMX.
Change the RPI (RPI 2 exchanged by RPI 3).
And, due to the problems with sftp, went back to ftp (today). :cry:
With ftp all files are sent to the server.
The new version supports additional key exchange methods - Diffie-Hellman Group16 SHA512, and Diffie-Hellman Group14 SHA256, there may be an issue in those?
I will have a look in it. Thanks.
Image
Weather at Buchenau/Germany: https://wetter.buchenau-net.de
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Renci.SshNet.dll

Post by mcrossley »

Did you ever get to the bottom of why this was not working?
hemmits
Posts: 31
Joined: Wed 14 May 2014 2:07 am
Weather Station: Davis Pro 2
Operating System: Windows 10
Location: usa

Re: Renci.SshNet.dll

Post by hemmits »

Not sure if this is related, but when I updated Cumulus to build 3100, the program crashed and I received an error referencing this file. I always l keep a backup of the previous build and noticed that this file was "downgraded" in release 3100 compared to 3099. Renci.SshNet.dll in version 3099 was 777kb in size with a "date modified" stamp of 6/7/2020. In build 3100, it is 413 kb in size with a "date modified" stamp of 10/16/2017. I replaced Renci.SshNet.dll with the "older" version and Cumulus now works fine. Was this intended?
freddie
Posts: 2475
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Renci.SshNet.dll

Post by freddie »

See the announcement post for this release. It details this change.
Freddie
Image
User avatar
gerardwood
Posts: 26
Joined: Tue 17 Aug 2010 7:26 am
Weather Station: Davis Vantage PRO 2
Operating System: Windows 10 Pro
Location: Musbury, nr Axminster, Devon
Contact:

Re: Renci.SshNet.dll

Post by gerardwood »

I'll second the post from hemmits - same happened to me. The announcement post for release 3100 doesn't mention any problems users may have if they 'upgrade' to the older version in this release. I also replaced Renci.SshNet.dll with the version from build 3099, and this resolved the problem.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Renci.SshNet.dll

Post by mcrossley »

Question, did you overwrite all your files with the zip contents?
User avatar
HansR
Posts: 5963
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Renci.SshNet.dll

Post by HansR »

I don't have the problem and apparently neither apparently a lot of others.
So my guess is that you guys did some kind of partial, file based update. The cause most likely is not in the distribution.

If you extract (or copy, whatever technique you use to update) all files from the zip to the destination it might just work.

[Edit] Ah... Mark jumped in already.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Renci.SshNet.dll

Post by mcrossley »

Most likely not copying the CumulusMX.exe.config file.
Post Reply