Application hangs when loading a flight "Fly"

I know that there are different reasons for many users, but for me it was the NVIDIA graphics drivers as they need to be the absolute latest 497.29 as mentioned earlier. It really did fix everything for me as I’m typing this whilst parked at Ballina, Australia, in my new P38L. And I have proceeded through Medium, back to Ultra graphics and everything is back to normal @60fps using a i9 10900 and RTX3080 :smiley:

This one for me (reinstalled 140GB for naught, pffffffffff)

1 Like

THERE IS A WORK-AROUND OF SORTS AT LAST - BUT NO THANKS TO Asobo OR MICROSOFT

Go to DATA in your GENERAL OPTIONS menu and turn off ONLINE FUNCTIONALITY. APPLY and SAVE, then restart your sim.

Of course there will be no online functions such as live weather, live traffic, photogrammetry, etc., and some of the ATC voices are quite strange - but at least you can plan a flight and fly it.

Hopefully the publishers will let us know in the New Year exactly what is going on and how they propose fixing it.

FusedStarfish56

Thanks for posting your findings!!! To resolve my issue ( I had started thread) I ended up turning Photogrammetry 'Off" but kept all of the other Online function On. I did post this in an earlier post.

Regardless, the underlining issue is we shouldn’t have to turn “Off” any online function in order to just fly the sim. I already have a ticket open with Support on this. As you pointed out hopefully, we’ll have a fix very soon.

Cheers

Exactly - nothing should need to be turned off. Mine still didn’t work until I had turned off all online functions.

Thanks, JetFlyUK. This solved the hang-up problem.

1 Like

Thank you very much, JetFlyUK. I did apply your solution, and IT WORKED !
I am so glad.
The bug, I understand now, was in fact related to an earlier attempt of mine with implementing Google Maps Mod (which by the way did not work, but left permanently indesirable lines in the C:\Windows\System32\drivers\etc\hosts file…)
Deleting them solved the problem…
Thanks to you and the Community.
A2ll the best.
PhilKeo7777

1 Like

This was my solution too. I just deleted the file and it worked fine.

1 Like

Go into C:\windows\system32\drivers\etc and delete 2 files called hosts, and lmhosts . This worked for me. FS2020 works great now. I don’t know where these 2 files come from but somehow effects the sim.
Sim does not freeze anymore. I had the same problem as you with 2/3 freezing, not no more!!!

1 Like

this are important windows system files to resolve hostnames. If you install a tool which allowed to change that files, you are not far away from “installing a virus”.

And as in former post mentioned you had former google-maps add-on installed and these add two entries in hosts file and this cause issues. So far I know the older versions of these add-on had also no un-installer and for newer versions not all users use the un-installer and so the isssue persist also after manuall removal of these add-on. ( note, lmhosts should not affected )

2 Likes

Yes, this is one of multiple reason (change to your host file which was explained) that will cause the app to freeze. However, there is an issue associated with Photogrammetry (causing the app to freeze) which lots of users are experiencing that MS is addressing, this is a bug.

Regards.

Fixed my problem.Thanks.

1 Like

for intresst: it was realy the lmhosts , not the hosts ?

I thought the lmhosts file is a mapping of netbios names to ip-addresses and the hosts file is for mapping like dns. Usually there exist only a sample lmhost file ( lmhosts.sam ). In case it was the lmhost I wonder what was the content of that file and who created that :thinking:

1 Like

I don’t know what all that means but when I deleted the whole host file ( because windows won’t let me modify it by just deleting those two files) everything is working great now. At least so far. As far as who created it I think it was when I installed the Google Maps app.

1 Like

ah… okay… so your quote meant “host files in generall” and not specific “lmhost” :slight_smile: .

I assume the fix was then in your case the removal of “host” file , like for the others ( “lmhost” is more a relict ). These google-addon tool also made it changes within the “hosts” file .

Yes the host file. I was unable to edit the file so I deleted it and crossed my fingers it would not screw up anything. lol
I am a parts guy not a programmer so I followed what I read somewhat and now things are fine. Now all that is in the /ect folder is the networks, protocol, and services files.
No more host file. I can only assume the Google Maps App was using it for location tracking for better map imaging. Maybe, I’m just guessing.

this is seemingly the code: msfs2020-google-map/src/runner.py at main · derekhe/msfs2020-google-map · GitHub

If my two seconds-look into these was’nt to short, it seems it redirects these two adresses to localhost (so the original is not reachable) and forward it to another address ( like malware it do if it get admin-rights ).

Additional it adds a own Certificate into the Cert-Pool ( ssl, etc. ).

MichaMMA, Wow! Thanks for the information. To honest it’s all way above my paygrade as they say. That said it a great learning experince for me although I am still not sure what I am looking at right now. I will get a better look this weekend when I have more time.
I don’t think I have any dangrous malware right now. But I need to recheck the admin rights again to be sure I didn’t mess it up.
Thanks

1 Like

I think same… I want like only bring a little bit attention that users may be “stop” a short moment in case the add-on requests admin-rights :slight_smile: … it can be also a bad thing behind a nice name :slight_smile:

1 Like

Yes, point well taken. We do have to be careful about Admin Rights to add-ons.

1 Like