I am getting the following error from time to time. Rsync will work fine for a while and then I get the error. I might get the error for a couple of cycles then it will work again, then the error again. I have included the reply from my internet host as well. Ideas?
Oct 26 07:50:26 raspberrypi weewx[30090] DEBUG weewx.reportengine: Running report 'RSYNC' Oct 26 07:50:26 raspberrypi weewx[30090] DEBUG weewx.reportengine: Found configuration file /home/weewx/skins/Rsync/skin.conf for report 'RSYNC' Oct 26 07:50:26 raspberrypi weewx[30090] DEBUG weewx.reportengine: Cannot read localization file /home/weewx/skins/Rsync/lang/en.conf for report 'RSYNC': Config file not found: "/home/weewx/skins/Rsync/lang/en.conf". Oct 26 07:50:26 raspberrypi weewx[30090] DEBUG weewx.reportengine: **** Using defaults instead. Oct 26 07:50:26 raspberrypi weewx[30090] DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', '--stats', '-e', 'ssh -p 2222', '/home/weewx/public_html/', ‘x...@kq5s.com]] Oct 26 07:50:27 raspberrypi weewx[30090] ERROR weeutil.rsyncupload: rsync reported errors. Original command: ['rsync', '--archive', '--stats', '-e', 'ssh -p 2222', '/home/weewx/public_html/', ‘xxx...@kq5s.com:xxxx’] Oct 26 07:50:27 raspberrypi weewx[30090] ERROR weeutil.rsyncupload: **** kex_exchange_identification: Connection closed by remote host Oct 26 07:50:27 raspberrypi weewx[30090] ERROR weeutil.rsyncupload: **** Connection closed by 199.250.194.206 port 2222 Oct 26 07:50:27 raspberrypi weewx[30090] ERROR weeutil.rsyncupload: **** rsync: connection unexpectedly closed (0 bytes received so far) [sender] Oct 26 07:50:27 raspberrypi weewx[30090] ERROR weeutil.rsyncupload: **** rsync error: unexplained error (code 255) at io.c(228) [sender=3.2.3] ========================================================== >From Internet host. I'm not sure where the user weewx is coming from. It is not the user set in my config file for rsync. Regarding SSH, a review of the server's logs shows two repeated occurrences for your user ID "weewx". I've copied an example of each error below: *Oct 11 15:37:17 ecbiz246 sshd[55604]: Invalid user weewx from xxx.xx.xxx.xx port 60374* *Oct 11 15:37:17 ecbiz246 sshd[55604]: Received disconnect from * *xxx.xx.xxx.xx** port 60374:11: Bye Bye [preauth]* *Oct 11 15:37:17 ecbiz246 sshd[55604]: Disconnected from **xxx.xx.xxx.xx** port 60374 [preauth]* *Oct 11 06:46:23 ecbiz246 sshd[3762]: drop connection #28 <https://help.inmotionhosting.com/hc/requests/28> from [**xxx.xx.xxx.xx**]:42380 on [**xxx.xx.xxx.xx**]:2222 past MaxStartups* *...* *Oct 11 09:30:20 ecbiz246 sshd[3762]: drop connection #27 <https://help.inmotionhosting.com/hc/requests/27> from [x**xxx.xx.xxx.xx**]:47222 on [**xxx.xx.xxx.xx**]:2222 past MaxStartups* It appears your Pi is intermittently trying to connect with an incorrect SSH user string, and subsequent connections are maxing the limit for concurrent SSH connections (MaxStartups), so the excess connections are simply dropped by the server. I suggest reviewing the SSH connection string for the PI, as well as ensuring it is closing connections correctly. Additionally, you will want to ensure you are not opening too many concurrent connections for transfer. If the issue persists you may want to increase the amount of time between uploads, as we are unable to increase the MaxStartups setting on shared server. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0a76aa54-c0f7-4159-8f35-806cc3c46f5bn%40googlegroups.com.