I recently setup Squiggle between two of our company subnets; it's working, however, I'm still getting errors and the bridge service keeps crashing. The bridge is between a Win 2003 x64 server and a Win 2008 x64, both are updated with .Net 4.0.
Below is a portion of the error log for Squiggle; it will work properly for a time, then go through a period where it starts generating the "Object reference not set to an instance of an object" error message only to resume working. Also, a copy of our bridge config file is included as well.
Erorr occured while forwarding presence message to bridge(s): System.NullReferenceException: Object reference not set to an instance of an object.
at Squiggle.Utilities.Net.Pipe.UnicastMessagePipe.Send(IPEndPoint target, Byte[] message)
at Squiggle.Bridge.BridgeHost.SendPresenceMessage(IPEndPoint target, Byte[] message)
at Squiggle.Bridge.SquiggleBridge.<>c__DisplayClass8.<presenceChannel_MessageReceived>b__7()
at Squiggle.Utilities.ExceptionMonster.<>c__DisplayClass1.<EatTheException>b__0()
at Squiggle.Utilities.ExceptionMonster.EatTheException[T](Func`1 action, String actionDescription, Boolean& success, Exception& ex)
And the Bridge Config
Below is a portion of the error log for Squiggle; it will work properly for a time, then go through a period where it starts generating the "Object reference not set to an instance of an object" error message only to resume working. Also, a copy of our bridge config file is included as well.
Erorr occured while forwarding presence message to bridge(s): System.NullReferenceException: Object reference not set to an instance of an object.
at Squiggle.Utilities.Net.Pipe.UnicastMessagePipe.Send(IPEndPoint target, Byte[] message)
at Squiggle.Bridge.BridgeHost.SendPresenceMessage(IPEndPoint target, Byte[] message)
at Squiggle.Bridge.SquiggleBridge.<>c__DisplayClass8.<presenceChannel_MessageReceived>b__7()
at Squiggle.Utilities.ExceptionMonster.<>c__DisplayClass1.<EatTheException>b__0()
at Squiggle.Utilities.ExceptionMonster.EatTheException[T](Func`1 action, String actionDescription, Boolean& success, Exception& ex)
And the Bridge Config
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="BridgeConfiguration" type="Squiggle.Bridge.Configuration.BridgeConfiguration, Squiggle.Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
</configSections>
<BridgeConfiguration>
<InternalServiceBinding IP="192.168.11.19" Port="5678"/>
<ExternalServiceBinding IP="192.168.11.19" Port="6789"/>
<PresenceBinding MulticastIP="224.10.11.12" MulticastPort="9998" ServicePort="9997" CallbackPort="9996" />
<Targets>
<add IP="192.168.20.250" Port="6789"/>
</Targets>
</BridgeConfiguration>
<system.diagnostics>
<trace autoflush="true" >
<listeners>
<add name="FileListener"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="Squiggle.Bridge.log" />
</listeners>
</trace>
</system.diagnostics>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Thanks for any help with this!