HFM.NET - Monitoring Application for Folding@Home v6/v7

This forum contains information about 3rd party applications which may be of use to those who run the FAH client and one place where you might be able to get help when using one of those apps.

Moderator: Site Moderators

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby toTOW » Mon Aug 12, 2019 10:47 am

Thanks harlam357. Update went fine on all my machines using HFM auto update feature and MSI installer. :)
Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.

FAH-Addict : latest news, tests and reviews about Folding@Home project.

Image
User avatar
toTOW
Site Moderator
 
Posts: 8785
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby debs3759 » Mon Aug 12, 2019 4:17 pm

Cool. I'm going to try using this if I can get my two Windows 10 PCs to communicate (they can both see the router, but they can't even see themselves on the network quite often).
debs3759
 
Posts: 68
Joined: Fri Oct 07, 2011 3:29 am

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby toTOW » Mon Aug 12, 2019 5:54 pm

It's easier if you can set a fixed IP in the router for each machine, and then set up HFM with IPs. You should be able to reach each machine using machine name, but I don't know how you set up our network.
User avatar
toTOW
Site Moderator
 
Posts: 8785
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby HaloJones » Mon Aug 12, 2019 7:25 pm

Thanks Harlam! life saver...
1x Titan X, 1x 1070ti, 4x 1070
HaloJones
 
Posts: 353
Joined: Thu Jul 24, 2008 10:16 am

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby debs3759 » Mon Aug 12, 2019 8:03 pm

toTOW wrote:It's easier if you can set a fixed IP in the router for each machine, and then set up HFM with IPs. You should be able to reach each machine using machine name, but I don't know how you set up our network.


I am going to look up how to set up fixed IPs. Since the days of DOS/Win 3.0, the intricacies of setting a network up have eluded me :) Sometimes my PCs see each other, sometimes they don't even see themselves in explorer. No idea whether that is a network, OS or explorer issue :)
debs3759
 
Posts: 68
Joined: Fri Oct 07, 2011 3:29 am

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby bruce » Mon Aug 12, 2019 9:08 pm

By default, networks are now all set up with "automatic" as the setting for IP addresses -- which is another way of saying that a DHCP server somewhere is responsible for assigning network addresses. (Generally that's part of your router, so typically that's the local IP address of your router.)

DHCP starts from some address -- typically 192.168.N.1 where N is 0 or 1 although there are other possibilities. After restarting your network, addresses will be reconfigured in the order that the devices happen to contact the DHCP server. That means a router restart will reassign addresses which often are different than they were previously -- causing machines to no longer recognize their old IP address.

The other option is to use the hostname. When you installed your OS, one of the first steps you took was "Give your computer a name" Using that computer name, open a text window and type ping computer_name and you'll probably get a response.

I typically use a mixture of automatic and static addresses. Assuming that my network will never have more than 100 devices, the IP addresses greater that 192.168.1.100 will never be assigned by DHCP so I assign some fixed addresses starting from 192.168.1.101 and let DHCP manage the other devices.

The other option is to use the hostname. When you installed your OS, one of the first steps you took was "Give your computer a name" Using that computer name, open a text window and type ping computer_name and you'll probably get a response. If so, you can remotely configure hfm using that computer_name. Even if DHCP is reinitialized, that computer name will still point to the IP address of that computer.
bruce
 
Posts: 22827
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby debs3759 » Mon Aug 12, 2019 9:35 pm

Thanks bruce. I can't see either PC on the network in Explorer, but I pinged the other PC as you suggested, and it connected in 0 ms, so I now know I can use the computer name in hfm even when I can't see anything through explorer :)
debs3759
 
Posts: 68
Joined: Fri Oct 07, 2011 3:29 am

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby gordonbb » Wed Aug 14, 2019 11:32 am

harlam357 wrote:New Version: 0.9.11 - Revision 815 - Project Site - Download

- Change: Update for changed F@H psummary API (merged PR 301 by jcoffland)

If you've experienced HFM not reporting the correct PPD/Credit for quick return bonus (QRB) projects, then install this update and manually download the project summary.

---

Need help with HFM? Have a feature request? Please join the discussions. Post in the HFM Google Group.

http://groups.google.com/group/hfm-net

Thanks Harlam- worked here too after the manual Project Summary update
Image
User avatar
gordonbb
 
Posts: 114
Joined: Mon May 21, 2018 4:12 pm
Location: Great White North

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby harlam357 » Thu Aug 15, 2019 1:53 am

Thanks for all the confirmations on the fix guys!
User avatar
harlam357
 
Posts: 233
Joined: Fri Jun 27, 2008 11:03 pm
Location: Alabama - USA

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby goodyca » Fri Aug 16, 2019 2:54 pm

I am trying to run HFM on a Linux host. The Linux host is Fedora 30 with mono version 5.18.1-7. HFM is version 0.9.11.815. HFM will not successfully start more times than not. Any idea what needs to be done to improve reliability?

Here is the log file for a successful start
Code: Select all
[8/16/2019-9:38:18 AM] - Starting - HFM.NET v0.9.11.815
[8/16/2019-9:38:18 AM] -
[8/16/2019-9:38:18 AM] - Running on Mono v5.18.1.3...
[8/16/2019-9:38:19 AM] - EOC Stats Updated in 371 ms
[8/16/2019-9:38:19 AM] - Last EOC Stats Update: 8/16/2019 2:38:19 PM (UTC)
[8/16/2019-9:38:19 AM] - SQLite DLL Path: /var/lib/hfm/SQLite/Mono/System.Data.SQLite.dll
[8/16/2019-9:38:19 AM] - WU History database v0.9.2
[8/16/2019-9:38:20 AM] - Client Retrieval task running
[8/16/2019-9:38:20 AM] - Client Retrieval task finished: 43 ms
[8/16/2019-9:38:20 AM] - Client Retrieval task scheduled: 15 minutes
[8/16/2019-9:38:20 AM] X Error: TrustFailure (Authentication failed, see inner exception.)
[8/16/2019-9:38:20 AM] X System.Net.WebException: Error: TrustFailure (Authentication failed, see inner exception.) ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
  at /builddir/build/BUILD/mono-5.18.1.3/external/boringssl/ssl/handshake_client.c:1132
  at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00054] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000c6] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
  at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x0012a] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x000a4] in <cae6d5d40bdb48e7919fce5039029dd1>:0
   --- End of inner exception stack trace ---
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00336] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at Mono.Net.Security.MonoTlsStream.CreateStream (System.Net.WebConnectionTunnel tunnel, System.Threading.CancellationToken cancellationToken) [0x0018c] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x001f5] in <cae6d5d40bdb48e7919fce5039029dd1>:0
   --- End of inner exception stack trace ---
  at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x00275] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x0015b] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.WebOperation.Run () [0x000b7] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x000b1] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x00118] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_delegate_end_invoke(object,intptr)
  at (wrapper delegate-end-invoke) System.Func`1[HFM.Forms.ApplicationUpdate].end_invoke_TResult__this___IAsyncResult(System.IAsyncResult)
  at HFM.Forms.UpdateLogic.CheckForUpdateCallback (System.IAsyncResult result) [0x00006] in <c622abbba71c4a46a730233c80927e48>:0
[8/16/2019-9:38:20 AM] - (bob Slot 00) Slot Status: Running
[8/16/2019-9:38:20 AM] - (bob) Retrieval finished: 98 ms
[8/16/2019-9:38:21 AM] - (mac Slot 01) Slot Status: Running
[8/16/2019-9:38:21 AM] - (mac Slot 00) Slot Status: Running
[8/16/2019-9:38:21 AM] - (mac) Retrieval finished: 13 ms


Here is the log for a failure to start:
Code: Select all
[8/16/2019-8:58:06 AM] - Starting - HFM.NET v0.9.11.815
[8/16/2019-8:58:06 AM] -
[8/16/2019-8:58:06 AM] - Running on Mono v5.18.1.3...
[8/16/2019-8:58:07 AM] - SQLite DLL Path: /var/lib/hfm/SQLite/Mono/System.Data.SQLite.dll
[8/16/2019-8:58:08 AM] - WU History database v0.9.2
[8/16/2019-8:58:08 AM] - Client Retrieval task running
[8/16/2019-8:58:08 AM] - Client Retrieval task finished: 67 ms
[8/16/2019-8:58:08 AM] - Client Retrieval task scheduled: 15 minutes
[8/16/2019-8:58:08 AM] X Error: TrustFailure (Authentication failed, see inner exception.)
[8/16/2019-8:58:08 AM] X System.Net.WebException: Error: TrustFailure (Authentication failed, see inner exception.) ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
  at /builddir/build/BUILD/mono-5.18.1.3/external/boringssl/ssl/handshake_client.c:1132
  at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00054] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000c6] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
  at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x0012a] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x000a4] in <cae6d5d40bdb48e7919fce5039029dd1>:0
   --- End of inner exception stack trace ---
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00336] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at Mono.Net.Security.MonoTlsStream.CreateStream (System.Net.WebConnectionTunnel tunnel, System.Threading.CancellationToken cancellationToken) [0x0018c] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x001f5] in <cae6d5d40bdb48e7919fce5039029dd1>:0
   --- End of inner exception stack trace ---
  at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x00275] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x0015b] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.WebOperation.Run () [0x000b7] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x000b1] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x00118] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_delegate_end_invoke(object,intptr)
  at (wrapper delegate-end-invoke) System.Func`1[HFM.Forms.ApplicationUpdate].end_invoke_TResult__this___IAsyncResult(System.IAsyncResult)
  at HFM.Forms.UpdateLogic.CheckForUpdateCallback (System.IAsyncResult result) [0x00006] in <c622abbba71c4a46a730233c80927e48>:0
goodyca
 
Posts: 152
Joined: Sun Dec 02, 2007 12:36 pm

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby bollix47 » Fri Aug 16, 2019 3:17 pm

I did have similar problems when using earlier versions of mono on ubuntu. The latest Stable Mono release is: 6.0.0 Stable (6.0.0.319) and after updating to that using their repo I rarely see the 'false' starts.

I know nothing about how to do that on Fedora but there are instructions for adding it:

https://www.mono-project.com/download/s ... lin-fedora

I only see 29 & 28 so you may have to get in touch with them to find out if there are instructions for the 30 version or maybe you can try the 29 instructions to determine if they work for 30.
Last edited by bollix47 on Fri Aug 16, 2019 8:09 pm, edited 1 time in total.
bollix47
 
Posts: 3507
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby goodyca » Fri Aug 16, 2019 7:43 pm

bollix47, thanks for the suggestion. I removed the previous mono installation and followed the instructions for Fedora 29. I was able to install without any errors the following packages: mono-devel, mono-complete, referenceassemblies-pcl, xsp

I was able to successfully run the test console app and the HTTPS connection test, but got errors when trying to run the WinForms test.

With the version 6 installation, HFM will not even start to launch. I will remove mono version 6 and go back to the previous version. Consider the issue closed.
goodyca
 
Posts: 152
Joined: Sun Dec 02, 2007 12:36 pm

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby harlam357 » Sat Aug 17, 2019 11:28 pm

Sorry you're having trouble goodyca. To further the record, this is why I no longer aim for or claim Mono compatibility. There are too many variances among the different Linux distros and builds of the Mono runtime.

I'll offer a suggestion... since this error is coming from the check for updates on startup. You could find the config.xml file for HFM, which must be somewhere in your user's home folder, and turn it off manually by editing the file. This would only get you past that particular check and there may be more dragons beyond that. Look for this tag and set the value to false instead of true.

<CheckForUpdate>true</CheckForUpdate>
User avatar
harlam357
 
Posts: 233
Joined: Fri Jun 27, 2008 11:03 pm
Location: Alabama - USA

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby goodyca » Sun Aug 18, 2019 5:17 pm

harlam357 wrote:I'll offer a suggestion... since this error is coming from the check for updates on startup. You could find the config.xml file for HFM, which must be somewhere in your user's home folder, and turn it off manually by editing the file. This would only get you past that particular check and there may be more dragons beyond that. Look for this tag and set the value to false instead of true.

<CheckForUpdate>true</CheckForUpdate>


Thanks for the suggestion. I made the change to the config.xml file. Starting HFM is still hit or miss. I no longer see any errors in the HFM.log file when HFM will not start.

Here is an example of the addition to the log file when not starting:
Code: Select all
[8/18/2019-12:10:25 PM] - Starting - HFM.NET v0.9.11.815
[8/18/2019-12:10:25 PM] -
[8/18/2019-12:10:25 PM] - Running on Mono v5.18.1.3...
[8/18/2019-12:10:26 PM] - EOC Stats Updated in 393 ms
[8/18/2019-12:10:26 PM] - Last EOC Stats Update: 8/18/2019 5:10:26 PM (UTC)
[8/18/2019-12:10:26 PM] - SQLite DLL Path: /var/lib/hfm/SQLite/Mono/System.Data.SQLite.dll
[8/18/2019-12:10:27 PM] - WU History database v0.9.2
[8/18/2019-12:10:27 PM] - Client Retrieval task running
[8/18/2019-12:10:27 PM] - Client Retrieval task finished: 31 ms
[8/18/2019-12:10:27 PM] - Client Retrieval task scheduled: 15 minutes
goodyca
 
Posts: 152
Joined: Sun Dec 02, 2007 12:36 pm

Re: HFM.NET - Monitoring Application for Folding@Home v6/v7

Postby goodyca » Mon Aug 19, 2019 4:35 pm

If I only have 1 client in the configuration file, HFM will start without any problems. However, when the configuration file has more than 1 client, HFM will open for a fraction of a second then crash. Here is the error generated when launching HFM from a terminal with 2 clients in the configuration file:
Code: Select all
[craig@bob ~]$ mono /var/lib/hfm/HFM.exe

Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: y
  at System.Windows.Forms.DataGridView.MoveCurrentCell (System.Int32 x, System.Int32 y, System.Boolean select, System.Boolean isControl, System.Boolean isShift, System.Boolean scroll) [0x00058] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at System.Windows.Forms.DataGridView.OnListPositionChanged (System.Object sender, System.EventArgs args) [0x0005b] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at (wrapper delegate-invoke) <Module>.invoke_void_object_EventArgs(object,System.EventArgs)
  at System.Windows.Forms.CurrencyManager.OnPositionChanged (System.EventArgs e) [0x0000b] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at System.Windows.Forms.CurrencyManager.set_Position (System.Int32 value) [0x0005b] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at System.Windows.Forms.BindingSource.set_Position (System.Int32 value) [0x00020] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.BindingSource.set_Position(int)
  at HFM.Forms.Models.MainGridModel.ResetSelectedSlot () [0x00029] in <c622abbba71c4a46a730233c80927e48>:0
  at HFM.Forms.Models.MainGridModel.ResetBindingsInternal () [0x0010d] in <c622abbba71c4a46a730233c80927e48>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00044] in <76c3dbc427f049499d13c500c18191dc>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.AsyncMethodResult.EndInvoke () [0x0005b] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at System.Windows.Forms.Control.EndInvoke (System.IAsyncResult asyncResult) [0x00007] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.EndInvoke(System.IAsyncResult)
  at System.Windows.Forms.Control.Invoke (System.Delegate method, System.Object[] args) [0x00024] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at HFM.Forms.Models.MainGridModel.ResetBindingsInternal () [0x00025] in <c622abbba71c4a46a730233c80927e48>:0
  at HFM.Forms.Models.MainGridModel.ResetBindings () [0x0000f] in <c622abbba71c4a46a730233c80927e48>:0
  at HFM.Forms.Models.MainGridModel+<>c__DisplayClass38_0.<.ctor>b__3 (System.Object sender, HFM.Core.ConfigurationChangedEventArgs args) [0x00000] in <c622abbba71c4a46a730233c80927e48>:0
  at (wrapper delegate-invoke) System.EventHandler`1[HFM.Core.ConfigurationChangedEventArgs].invoke_void_object_TEventArgs(object,HFM.Core.ConfigurationChangedEventArgs)
  at HFM.Core.ClientConfiguration.OnDictionaryChanged (HFM.Core.ConfigurationChangedEventArgs e) [0x0000a] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Core.ClientConfiguration.OnInvalidate (System.Object sender, System.EventArgs e) [0x00008] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Core.Client.OnSlotsChanged (System.EventArgs e) [0x00008] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Core.FahClient.RefreshSlots () [0x000ad] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Core.FahClient.MessageConnectionUpdateFinished (System.Object sender, System.EventArgs e) [0x0001d] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Client.JsonMessageConnection.OnUpdateFinished (System.EventArgs e) [0x0000a] in <f7f11dcbcbc140f8aef59c664e1013f9>:0
  at HFM.Client.JsonMessageConnection.ProcessData (System.String buffer, System.Int32 totalBytesRead) [0x0006f] in <f7f11dcbcbc140f8aef59c664e1013f9>:0
  at HFM.Client.Connection+<>c__DisplayClass44_0.<Update>b__0 (System.IAsyncResult result) [0x00184] in <f7f11dcbcbc140f8aef59c664e1013f9>:0
  at System.Net.Sockets.SocketAsyncResult.<Complete>m__0 (System.Object state) [0x0000b] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00019] in <76c3dbc427f049499d13c500c18191dc>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <76c3dbc427f049499d13c500c18191dc>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <76c3dbc427f049499d13c500c18191dc>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: y
  at System.Windows.Forms.DataGridView.MoveCurrentCell (System.Int32 x, System.Int32 y, System.Boolean select, System.Boolean isControl, System.Boolean isShift, System.Boolean scroll) [0x00058] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at System.Windows.Forms.DataGridView.OnListPositionChanged (System.Object sender, System.EventArgs args) [0x0005b] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at (wrapper delegate-invoke) <Module>.invoke_void_object_EventArgs(object,System.EventArgs)
  at System.Windows.Forms.CurrencyManager.OnPositionChanged (System.EventArgs e) [0x0000b] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at System.Windows.Forms.CurrencyManager.set_Position (System.Int32 value) [0x0005b] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at System.Windows.Forms.BindingSource.set_Position (System.Int32 value) [0x00020] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.BindingSource.set_Position(int)
  at HFM.Forms.Models.MainGridModel.ResetSelectedSlot () [0x00029] in <c622abbba71c4a46a730233c80927e48>:0
  at HFM.Forms.Models.MainGridModel.ResetBindingsInternal () [0x0010d] in <c622abbba71c4a46a730233c80927e48>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00044] in <76c3dbc427f049499d13c500c18191dc>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.AsyncMethodResult.EndInvoke () [0x0005b] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at System.Windows.Forms.Control.EndInvoke (System.IAsyncResult asyncResult) [0x00007] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.EndInvoke(System.IAsyncResult)
  at System.Windows.Forms.Control.Invoke (System.Delegate method, System.Object[] args) [0x00024] in <7eb8b178c0fb4755a0a46b5b0bd0c1c8>:0
  at HFM.Forms.Models.MainGridModel.ResetBindingsInternal () [0x00025] in <c622abbba71c4a46a730233c80927e48>:0
  at HFM.Forms.Models.MainGridModel.ResetBindings () [0x0000f] in <c622abbba71c4a46a730233c80927e48>:0
  at HFM.Forms.Models.MainGridModel+<>c__DisplayClass38_0.<.ctor>b__3 (System.Object sender, HFM.Core.ConfigurationChangedEventArgs args) [0x00000] in <c622abbba71c4a46a730233c80927e48>:0
  at (wrapper delegate-invoke) System.EventHandler`1[HFM.Core.ConfigurationChangedEventArgs].invoke_void_object_TEventArgs(object,HFM.Core.ConfigurationChangedEventArgs)
  at HFM.Core.ClientConfiguration.OnDictionaryChanged (HFM.Core.ConfigurationChangedEventArgs e) [0x0000a] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Core.ClientConfiguration.OnInvalidate (System.Object sender, System.EventArgs e) [0x00008] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Core.Client.OnSlotsChanged (System.EventArgs e) [0x00008] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Core.FahClient.RefreshSlots () [0x000ad] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Core.FahClient.MessageConnectionUpdateFinished (System.Object sender, System.EventArgs e) [0x0001d] in <9c2adf173cd3401883d23a1f83901950>:0
  at HFM.Client.JsonMessageConnection.OnUpdateFinished (System.EventArgs e) [0x0000a] in <f7f11dcbcbc140f8aef59c664e1013f9>:0
  at HFM.Client.JsonMessageConnection.ProcessData (System.String buffer, System.Int32 totalBytesRead) [0x0006f] in <f7f11dcbcbc140f8aef59c664e1013f9>:0
  at HFM.Client.Connection+<>c__DisplayClass44_0.<Update>b__0 (System.IAsyncResult result) [0x00184] in <f7f11dcbcbc140f8aef59c664e1013f9>:0
  at System.Net.Sockets.SocketAsyncResult.<Complete>m__0 (System.Object state) [0x0000b] in <cae6d5d40bdb48e7919fce5039029dd1>:0
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00019] in <76c3dbc427f049499d13c500c18191dc>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <76c3dbc427f049499d13c500c18191dc>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <76c3dbc427f049499d13c500c18191dc>:0


Here is the HFM configuration file with more than 1 client causing the crash:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfClientSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HFM.Core.DataTypes">
  <ClientSettings>
    <ClientType>FahClient</ClientType>
    <LegacyClientSubType>None</LegacyClientSubType>
    <Name>joe</Name>
    <Server>joe</Server>
    <Port>36330</Port>
    <Username></Username>
    <Password>xxxxxxxxxxxxxxxxxxxxxxxx</Password>
    <FahLogFileName>FAHlog.txt</FahLogFileName>
    <UnitInfoFileName>unitinfo.txt</UnitInfoFileName>
    <QueueFileName>queue.dat</QueueFileName>
    <Path></Path>
    <FtpMode>Passive</FtpMode>
    <UtcOffsetIsZero>false</UtcOffsetIsZero>
    <ClientTimeOffset>0</ClientTimeOffset>
  </ClientSettings>
  <ClientSettings>
    <ClientType>FahClient</ClientType>
    <LegacyClientSubType>None</LegacyClientSubType>
    <Name>mac</Name>
    <Server>mac</Server>
    <Port>36330</Port>
    <Username></Username>
    <Password>xxxxxxxxxxxxxxxxxxxxxxxx</Password>
    <FahLogFileName>FAHlog.txt</FahLogFileName>
    <UnitInfoFileName>unitinfo.txt</UnitInfoFileName>
    <QueueFileName>queue.dat</QueueFileName>
    <Path></Path>
    <FtpMode>Passive</FtpMode>
    <UtcOffsetIsZero>false</UtcOffsetIsZero>
    <ClientTimeOffset>0</ClientTimeOffset>
  </ClientSettings>
</ArrayOfClientSettings>
goodyca
 
Posts: 152
Joined: Sun Dec 02, 2007 12:36 pm

PreviousNext

Return to 3rd party contributed software

Who is online

Users browsing this forum: No registered users and 0 guests

cron