Page 1 of 1

Cumulus MX and Windows Home Server 2011 Issue

Posted: Mon 02 May 2016 12:34 pm
by timwilson199
Hi all

After a little help with the new cumulus

setup and got it running but after a while i get these errors and it shuts down

2016-05-02 17:04:07.167 System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at .(TcpClient , String ) in C:\Users\steve\Documents\Visual Studio 2015\Projects\CumulusMX\CumulusMX\DavisStation.cs:line 671
at .() in C:\Users\steve\Documents\Visual Studio 2015\Projects\CumulusMX\CumulusMX\DavisStation.cs:line 567
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


there is no user Steve on my system

also have a issue when it does keep running it will stop retrieving data from the station and just upload the last known data to the website

have been running cumulus one with out fault on this server as well

specs of station

Davis vantage pro 2
Ethernet connection to server
windows home server 2011
HP micro server G8

i have attached the logs for anyone to look over ignore the real time errors separate issue I'll fix later haha

thanks in advance :)

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Mon 02 May 2016 12:40 pm
by steve
The console is apparently closing the data connection. Is it uploading to weatherlink.com?

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Mon 02 May 2016 1:01 pm
by timwilson199
It is posting to weather link ok updating every couple of minutes or so

i have aloud port 8998 and 8002 through firewall it did block those ports maybe need to allow 22222 through as well maybe?

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Mon 02 May 2016 1:44 pm
by steve
It's unlikely to be anything to do with ports being blocked if it works some of the time. Do you have MX set to periodically disconnect to allow for wl.com updates?

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Tue 03 May 2016 2:05 am
by timwilson199
Yer true i did have a issue with 8998 being blocked till i allowed it and now thati have some sleep derp 22222 is passing ok since i am getting data long flights and little sleep does that to yer haha :bash:

i do have the disconnect set VP2PeriodicDisconnectInterval=5

thanks for your help to :)

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Tue 03 May 2016 5:58 am
by steve
Your console clock appears to be incorrect (you don't have Cumulus set to update it):

2016-05-02 17:04:51.190 Console clock: 2/05/2016 4:04:57 PM

It's out by an hour, but also several seconds - this means that the MX disconnect will not match the time when the console updates.

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Tue 03 May 2016 6:08 am
by timwilson199
good spot thanks for that i didnt even see that haha

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Tue 03 May 2016 8:34 am
by timwilson199
ok done a some more work on this

clean install of MX

fixed time issue station with in a couple of seconds now with auto update on

adjust disconnect time tried 2 and 6

updated firmware in station to 3.15

still getting drop outs :(

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Tue 03 May 2016 8:51 am
by steve
Sorry, no idea. As I said, the console is apparently disconnecting the data connection. It's happening a few seconds after the minute, so it's likely to be related to the upload to weatherlink.com.

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Wed 04 May 2016 1:47 pm
by timwilson199
After some digging i found a way to disable weatherlink.com uploads turns out it's very simple if you have the right firmware in the actual weatherlinkIP module just punch in the IP address of the station and it will bring up a basic webpage where you can uncheck the weatherlink uploads.

firmware i was running 1.0.9 wont let you navigate to it updated to firmware 1.1.1 and bingo can navigate to it

thanks heaps for your help Steve cumulus MX has been running stable for about 8hrs now with no more errors :D

Re: Cumulus MX and Windows Home Server 2011 Issue

Posted: Fri 06 May 2016 9:20 am
by StoryOMine
Whilst not addressing this issue specifically - out of sync time was mentioned - with any Windows server, make sure you are synchronising your clock on a regular basis.

Either use the Internet Time setting in Windows itself (click on the date/time, then Change date/time settings then Internet Time making sure that 'Synchronise with an Internet Time Server' is checked and select an appropriate time server.

Or pick any of the NTP time server update applications available.

I run two Windows servers here - 2008 and 2012 editions and both are regularly synchronised to a time server. The advantage of doing this is then any local machines can use your own server to synchronise their own clocks.