Jump to content

Server list failed


Bahaeddine El-Zarif
 Share

Recommended Posts

Hello Ross,

 

I was going to make a flight today on VATSIM, however vPilot fails to download the servers. The full message is pasted below.

 

Windows 7 Home Premium (64 bit) SP1 and FSX SP2

 

Ran it as admin and normally, both without a luck to get an updated server list, which eventually provides the unhandled exception if you try to open the settings.

 

[20:16:24] Server list download failed. Using previously-cached server list. Error: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 5.9.159.186:80

at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)

at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)

--- End of inner exception stack trace ---

at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)

at System.Net.WebClient.DownloadString(Uri address)

at System.Net.WebClient.DownloadString(String address)

at gd.a(String A_0)

at dp.a(Object A_0, DoWorkEventArgs A_1)

at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Link to comment
Share on other sites

You describe it as an unhandled exception, but it looks like it is being handled. Can you confirm whether or not this is an unhandled exception? Does it crash vPilot?

 

Unhandled exception happens when you try to click on the settings after that message has appeared. But it seems to be gone now.

 

If you click on Quit it does of course.

Link to comment
Share on other sites

Can you send me your GlobalExceptions.txt file? That will have the details of the unhandled exception, and I should be able to handle it in code.

 

And let me know which version of vPilot you're using.

 

I am using the latest version of vPilot 2.0.2.3 and I can't seem to find the file. Do you have any idea where it could be located?

Link to comment
Share on other sites

Ross, in case you're still interested in fixing this anyway, I was able to reproduce the unhandled exception when you attempt to open settings when vPilot has no cached servers (and was unable to retrieve them upon program start):

 

System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
  at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
  at ch.d()
  at ch.b()
  at c3.f()
  at dk.g()
  at dk..ctor(IEventBroker A_0, g A_1, ak A_2)
  at DynamicInjector54e2c9cebabf4e989c5e6874700d39c2(Object[] )
  at Ninject.Activation.Providers.StandardProvider.Create(IContext context)
  at Ninject.Activation.Context.ResolveInternal(Object scope)
  at Ninject.Activation.Context.Resolve()
  at Ninject.KernelBase.<>c__DisplayCl[Mod - Happy Thoughts]13.<Resolve>b__d(IBinding binding)
  at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
  at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
  at Ninject.ResolutionExtensions.Get(IResolutionRoot root, Type service, IParameter[] parameters)
  at Ninject.Extensions.Factory.Factory.InstanceResolver.Get(Type type, String name, Func`2 constraint, IParameter[] parameters, Boolean fallback)
  at Ninject.Extensions.Factory.StandardInstanceProvider.GetInstance(IInstanceResolver instanceResolver, MethodInfo methodInfo, Object[] arguments)
  at Ninject.Extensions.Factory.FactoryInterceptor.Intercept(IInvocation invocation)
  at Castle.DynamicProxy.AbstractInvocation.Proceed()
  at Castle.Proxies.d5Proxy.a()
  at e1.c()
  at e1.g(Object A_0, EventArgs A_1)
  at System.Windows.Forms.Control.OnClick(EventArgs e)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

I'm using version 2.0.2.3 as well.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...