Exception rethrown

Please post any questions regarding the program here.

Moderator: 2020vision

Exception rethrown

Postby Tradyann » Wed May 08, 2013 10:31 am

Hello,

I have often this message in BA-Diagnostic:

Exception rethrown at [0]:
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Betting_Assistant.RemoteLib.invokePricesUpdated(Int32 tabIndex) in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\RemoteLib.vb:line 616
08052013 05:36:38:783: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it xxx.xxx.xxx.xxx:8002



port 8002 ?
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby GaryRussell » Thu May 09, 2013 12:41 pm

Are you using the COM server feature?
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby peleus » Thu May 09, 2013 11:29 pm

Is this something temporary? I hope it isn't a bug.
Nothing is coincidence. Image
peleus
 
Posts: 41
Joined: Tue Apr 23, 2013 11:41 pm

Postby Tradyann » Sun May 12, 2013 8:13 pm

Are you using the COM server feature?


Yes, I use COM interface.
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby Tradyann » Fri May 17, 2013 10:22 pm

No idea for this message's reason ?
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby GaryRussell » Sat May 18, 2013 3:36 am

What port number have you set in COM preferences? Did you change it to 8002 because it did not work with 8000?
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Tradyann » Sat May 18, 2013 9:02 am

No, i use port 8000 in my setting
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby Tradyann » Sat May 18, 2013 10:05 am

sometimes 8001 too :

Code: Select all
Exception rethrown at [0]:
   at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
   at Betting_Assistant.RemoteLib.invokePricesUpdated(Int32 tabIndex) in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\RemoteLib.vb:line 616
17052013 21:58:02:345: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it xx.xxx.xxx.xxx:8001
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby Tradyann » Fri May 24, 2013 1:21 pm

peleus wrote:Is this something temporary? I hope it isn't a bug.


Is not temporary... I always have it.

I often need to close BA and clear logs.
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby Tradyann » Fri May 24, 2013 1:22 pm

Code: Select all
24052013 13:02:21:996: System.Runtime.Remoting.RemotingException: This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server.
   at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
   at Betting_Assistant.RemoteLib.invokePricesUpdated(Int32 tabIndex) in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\RemoteLib.vb:line 616
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby Tradyann » Fri May 24, 2013 2:29 pm

I've installed beta2 in february (version of BA ..x86).

I will re-install beta1 and try again.
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby Tradyann » Wed May 29, 2013 10:53 pm

There is no "fillkilldelay" in beta(1).
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby Tradyann » Thu Jun 06, 2013 8:55 am

Same problem with latest update (line 634 against 616 previously):

Code: Select all
   at Betting_Assistant.RemoteLib.invokePricesUpdated(Int32 tabIndex) in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\RemoteLib.vb:line 634
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby kiint » Mon Nov 18, 2013 7:33 pm

Was there ever any answer for this?
I have a problem with my log getting huge and I notice these messages cropping up a lot.

Here's an example:

Code: Select all
Exception rethrown at [0]:
   at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
   at Betting_Assistant.RemoteLib.invokePricesUpdated(Int32 tabIndex) in C:\Betting Assistant Beta 1_1_0_66x68\Betfair Trading API Beta\RemoteLib.vb:line 606
18112013 18:24:36:829: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.43.13:8001

Server stack trace:
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
   at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
   at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)


I'm using the COM feature from VB.Net and my port is set to 8000.
kiint
 
Posts: 148
Joined: Tue Feb 23, 2010 12:12 am

Postby GaryRussell » Wed Nov 20, 2013 11:21 am

It looks like your PC is blocking events being raised by the COM interface. Outgoing requests to the COM server are on port 8000, but events are raised on port 8001. Are you finding that you can make requests, but are not receiving any pricesUpdated events? If we can solve this then this will stop these error messages clogging the log file.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 57 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.