Fergo / fcdu-bugtracker

Bugtracking for Fergo Virtual CDU
0 stars 0 forks source link

Fergo CDU won't load any longer . . . #20

Open jport47 opened 1 month ago

jport47 commented 1 month ago

Fergo CDU has worked pretty much flawlessly for months and suddenly after a CDU Z stress test runing while loading MSFS 2020, subsequently I have not been able to open Fego CDU at all since. It opens and almost immediatly closes automatically. I have tried several reinstalls to no avail. I have searched high and low for a solution for days and nothing has worked. I have set permissions correcly, I have set and reset firewall exclusion and made no difference. I have reregistered and reactivated several time with the original key 1 x FERGONEZ - FERGO VIRTUAL CDU MSFS () = EUR 10.00 Delivery Method Digital Sold by Fergonez Information/Your Registration Key: **** and no success. I am at wits end. Don't know why it just stopped loading.

Any direction appreciated.

Thanks

Joe

jport47 commented 1 month ago

Adding a thought. It acts as if, while it accepts my reg key, it does not seem as if it accually activates although it says it accepted the key. Just a follow up thought.

jport47 commented 1 month ago

Fergo issue t 2024-10-12 111318

jport47 commented 1 month ago

Ran windows diagnostics and reported following: (hoping this might help) BTW: i even bought another copy today and used that reg information

FergoCDU

Description Faulting Application Path: C:\Users\joepo\Fergo\FergoCDU.exe Creation Time: 10/12/2024 12:08:38 PM Problem: Stopped working Status: Report sent

Problem signature Problem Event Name: CLR20r3 Problem Signature 01: FergoCDU.exe Problem Signature 02: 1.0.8743.21141 Problem Signature 03: 65747d5c Problem Signature 04: System Problem Signature 05: 4.8.9261.0 Problem Signature 06: 667a1a9b Problem Signature 07: 8c0 Problem Signature 08: 61 Problem Signature 09: System.Net.HttpListenerException

Extra information about the problem Bucket ID: 91a094cdf54216903b140fd6b3a98ead (1951201953369919149)

Fergo commented 1 month ago

Hi jport47,

Your issue is probably that there is some other software already listening on HTTP port 8080. It's not possible to run two servers on the same port. You can either find out which other app is using port 8080 or you can change the port the Fergo CDU listens on. The report you posted was very useful and confirms the issue on the last line: Problem Signature 09: System.Net.HttpListenerException

You can do this by simply changing the "HTTP Port" field in the server, but since you mention it closes immediately (which is not supposed to happen, I'll look into), you can manually change this by opening config.ini and changing the line HTTPPort to something other than 8080:

image

PS: I took the liberty to edit your first post here to remove the license key, which would be visible by everyone.

jport47 commented 1 month ago

Thanks for the clearing my license key, ugh . . anyway is there a way to see what app is using port 8080 and do you have a suggestion as to what port # to assign? BTW have been using you sw for a long time, love it!

jport47 commented 1 month ago

Hmm, I cannot find a Config.ini showing in explorer as exampled above . . fergo config ini missing  2024-10-12 124256

jport47 commented 1 month ago

or where I installed . . . . image

Fergo commented 1 month ago

Thanks for the clearing my license key, ugh . . anyway is there a way to see what app is using port 8080 and do you have a suggestion as to what port # to assign? BTW have been using you sw for a long time, love it!

No problem ;)

There's a software from Microsoft SysInternals called TCPView that shows you every TCP connection and which port it's using: https://learn.microsoft.com/en-us/sysinternals/downloads/tcpview

You can use any port number you want in the range of 1024 to 65535, as long as it's not being used by another software. For example, on a standard Fergo CDU configuration, you should see a couple of entries for port 8080 and 8081 that Fergo CDU uses (a few called system, which is the main server, and another one for Fergo CDU.exe itself). If you change it to something like 9000, you will see it using port 9000 and 9001).

You probably don't have an INI file because the program is crashing before it is created (this is indeed a bug and I'll look into it). I'va attached below a ZIP file containing the config.ini file. Just extract to the same directory where you installed Fergo CDU.

config.zip (this is already configured to port 9000).

Bear in mind that you'll have to update the address you use in your tablet to reflect this new port (something like 192.168.0.1:9000)

jport47 commented 1 month ago

Great that did it, thank you soooo much . . . I am a home cockpit builder, sometime just too many wires . . . LOL . . .

Fergo commented 1 month ago

Great that did it, thank you soooo much . . . I am a home cockpit builder, sometime just too many wires . . . LOL . . .

Glad we managed to sort it out. Just remember to also update that port number on the address bar of you tablet, to reflect the change from 8080 to 9000 or something else ;)

jport47 commented 1 month ago

thanks and doing that as we speak.