flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.15k stars 1.12k forks source link

Cannot Link With Simbrief #6350

Closed Halobiont closed 2 years ago

Halobiont commented 2 years ago

Aircraft Version

Development

Build info

{
  "built": "2021-12-11T21:50:08+00:00",
  "ref": "master",
  "sha": "a67929151b900ead0589f00d7c58556562c48a75",
  "actor": "Benjozork",
  "event_name": "manual"
}

Describe the bug

In the current development build the username or pilot ID will not "connect" with Simbrief. When I enter either username or pilot id then move to a different tab and come back the field is once again blank. If I type in the id the cursor keeps blinking until I click somewhere else on the efb. When I click back on the box the cursor is blinking again. Also while the cursor is blinking, the logitech G700 mouse pre programmed view buttons will not work but they work if I click out of the input box for Simbrief ID. None of the mouse clicks work in this mode. Hitting enter on the keyboard has no effect. While the username or id is in the box and I click elsewhere on the flypad and the name stays I still get "No Simbrief User" on the MCDU. Sometimes I see Simbrief error in red by the box on the flypad but it seems random. I can't reproduce that. Most of the time nothing happens, sometimes the box goes blank on it's own.

MSFS2020 Version:

Hardware:

Things I've tried:

Expected behavior

I expect to enter my Simbrief Pilot ID or Username and be able to import the flight plan on the MCDU under Init A. I did try to get support on Discord and the admin took my id and was able to load a flight plan which suggests this is a hardware conflict of some kind.

Steps to reproduce

  1. Start Neo at KIAH on ramp or runway without loading a flightplan from World
  2. Power up with ground power
  3. Start EFB
  4. Go to Settings
  5. Try to enter Pilot ID or Username

References (optional)

No response

Additional info (optional)

Development a679291

I don't have Simbrief integration problems with PMDG or FSLabs on P3D so I don't think it's a firewall issue.

Discord Username (optional)

Halobiont#9809

Halobiont commented 2 years ago

I've also tried Legacy vs Lock for the mouse. No joy.

Halobiont commented 2 years ago

I've let through simbrief.com on Malwarebytes but this didn't help. I'm able to see the correct api in my browser from Simbrief.

tracernz commented 2 years ago

Are you able to enable MSFS dev mode, load in and try your steps to reproduce, and with the sim and aircraft still in the background point your web browser at http://127.0.0.1:19999, and check the console tab. There should be a number of messages, and a few red ones at the end where it couldn't load source files for the debugger... but higher up near the start it might have a red or yellow HTTP error of some kind.

Halobiont commented 2 years ago

Thank you for the response. When I switched to dev mode I was asked if I wanted to update the sdk. I downloaded it but have not installed. I followed your instructions and the browser page shows only blue links. Nothing in red or yellow and nothing that looks like an error message.

The behavior is the same. The Simbrief username does not "hold" in the box. If I go to another tab and come back it is blank. If I leave it in the box and page and go to MCDU I get No Simbrief User. If I leave the cursor blinking after typing I can't mover the camera view at all until clicking out of the box.

Halobiont commented 2 years ago
NOTIFICATION [coui://html_UI/Pages/Notifications/Notifications.html?type=MESSAGE|STACKABLE|OVERLAY&theme=TIPS|GAMEPLAY|INFO|SCORE]
NOTIFICATION [coui://html_UI/Pages/Notifications/Notifications.html?type=POPUP|MESSAGE|OBJECTIVE|ACTION_STEP|SUBTITLES&theme=SYSTEM]
Page 5 [coui://html_UI/Pages/TooltipAtlas/TooltipAtlas.html]
Flight Briefing [coui://html_UI/Pages/FlightPlanning/FlightBriefingPage.html]
Flight planning [coui://html_UI/Pages/FlightPlanning/FlightPlanningPage.html]
VLivery01 [coui://html_UI/Pages/VLivery/Core/VLivery.html]
VLivery02 [coui://html_UI/Pages/VLivery/Core/VLivery.html]
VLivery03 [coui://html_UI/Pages/VLivery/Core/VLivery.html]
Page 13 [coui://html_UI/Pages/Transition/Transition.html]
Page 16 [coui://html_UI/Pages/ActivitiesBackground/ActivitiesBackground.html]
VCockpit01 - PFD_TEMPLATE_1 [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit02 - ND_TEMPLATE_1 [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit03 - A320_Neo_EICAS_1 [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit04 - A320_Neo_EICAS_2 [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit05 - ISIS_TEMPLATE [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit06 - Clock_TEMPLATE [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit07 - DCDU_TEMPLATE [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit08 - A320_Neo_CDU [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit09 - A320_Neo_FCU [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit10 - RMP_TEMPLATE [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit11 - ATC_TEMPLATE [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit12 - RTPI_TEMPLATE [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit13 - BAT_TEMPLATE [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit14 - PFD_TEMPLATE_2 [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit15 - ND_TEMPLATE_2 [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit16 - EFB_TEMPLATE [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
VCockpit17 - WasmInstrument - WasmInstrument - WasmInstrument [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]
Page 38 [coui://html_UI/Pages/Pause/Pause.html]
VLogic [coui://html_UI/Pages/VCockpit/Core/VCockpitLogic.html]
Page 40 [coui://html_UI/Pages/InGameMarkers/InGameMarkers.html]
Page 41 [coui://html_UI/Pages/InGameMarkers/InGameMarkers.html]
Page 43 [coui://html_UI/Pages/ToolBar/ToolBar.html]
CAMERA [coui://html_UI/ingamePanels/GenericPanel/GenericPanel.html]
FUEL [coui://html_UI/ingamePanels/PanelFuelPayload/PanelFuelPayload.html]
Navigraph Charts [coui://html_UI/ingamePanels/NavigraphPanel/NavigraphPanel.html]
Halobiont commented 2 years ago

Now checking the console. Searched on Neo and Flypad. Here is some of what I saw that might be relevant.

VFS Bitmap Loader | Attempt to load texture for incompatible texture slots. This is not supported; please duplicate your texture: 'vfs://flybywire-aircraft-a320-neo/SimObjects/Airplanes/FlyByWire_A320_NEO/texture/FLYPAD_NORM.PNG.DDS'.

Behaviors XML File: A320_NEO_INTERIOR.xml Model verification No matching animation "ANIM_NAME". ID: PUSH_EFB_SIDE Node: PUSH_EFB_SIDE Animation: ANIM_NAME PartIds:

Behaviors XML File: A320_NEO_INTERIOR.xml Component: EFB:PUSH_EFB_SIDE Template parameter #ANIM_NAME# not found. Ignoring. Path : EFB:PUSH_EFB_SIDE/PUSH_EFB_SIDE UseTemplate Path: ASOBO_GT_PUSH_BUTTON ASOBO_GT_ANIMTRIGGERS_2SOUNDEVENTS

Also got some red x's on the elevator trim and autopilot.

Halobiont commented 2 years ago

Searched on http in the console. Nothing. 216 errors and 314 warnings total.

tracernz commented 2 years ago

Sorry, forgot a step... click "VCockpit08 - A320_Neo_CDU [coui://html_UI/Pages/VCockpit/Core/VCockpit.html]", and check it's console.

Halobiont commented 2 years ago

That throws over a dozen red x's on the console. They all start with [Coherent GT] Failed to locate file vfs:///html_ui/.......

Benjozork commented 2 years ago

Can you please show a screenshot ?

Halobiont commented 2 years ago

Clipboard01

Halobiont commented 2 years ago

This is what console shows when I click on VC Cockpit 08

Halobiont commented 2 years ago

Clipboard02

Halobiont commented 2 years ago

Here is what I see on the browser

Halobiont commented 2 years ago

I've reinstalled several times using the installer.

Halobiont commented 2 years ago

Everything else on the EFB and aircraft seem to function correctly

Halobiont commented 2 years ago

I can view Navigraph charts no problem

Benjozork commented 2 years ago

You did not click on Console. You are on the Elements tab.

Also, please try to avoid posting many messages one after the other, it is a bit spammy.

Halobiont commented 2 years ago

In dev mode windows->Console. The window says console at the top. That's the screenshot I uploaded. I don't understand.

tracernz commented 2 years ago

Clipboard02

See the far right on this one... console tab.

Halobiont commented 2 years ago

Ah...TY

[Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (dataStorage.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.css.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (GeoCalc.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (simvar.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SearchField.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (RadioNav.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (VCockpit.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (FMCDataManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Avionics.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (BaseInstrument.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (DataReadManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (XMLLogic.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Approach.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SimPlane.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (NearestWaypoint.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Types.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (animation.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (dataStorage.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.css.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (GeoCalc.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (simvar.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SearchField.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (RadioNav.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (VCockpit.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (FMCDataManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Avionics.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (BaseInstrument.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (DataReadManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (XMLLogic.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Approach.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SimPlane.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (NearestWaypoint.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Types.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (animation.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (dataStorage.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.css.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (GeoCalc.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (simvar.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SearchField.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (RadioNav.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (VCockpit.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (FMCDataManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Avionics.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (BaseInstrument.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (DataReadManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (XMLLogic.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Approach.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SimPlane.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (NearestWaypoint.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Types.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (animation.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (dataStorage.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.css.map, line 0) [Error] Error: No SimBrief pilot ID provided getSimBriefOfp (a32nx_atsu.js:139) (anonymous function) (a320_neo_cdu_aoc_init.js:87) (anonymous function) (a320_neo_cdu_maindisplay.js:1245) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (GeoCalc.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (simvar.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SearchField.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (RadioNav.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (VCockpit.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (FMCDataManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Avionics.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (BaseInstrument.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (DataReadManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (XMLLogic.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Approach.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SimPlane.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (NearestWaypoint.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Types.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (animation.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (dataStorage.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.css.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (GeoCalc.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (simvar.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SearchField.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (RadioNav.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (VCockpit.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (FMCDataManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Avionics.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (BaseInstrument.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (DataReadManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (XMLLogic.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Approach.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SimPlane.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (NearestWaypoint.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Types.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (animation.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (dataStorage.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.css.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (GeoCalc.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (simvar.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SearchField.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (RadioNav.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (VCockpit.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (FMCDataManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Avionics.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (BaseInstrument.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (DataReadManager.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (XMLLogic.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Approach.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (SimPlane.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (NearestWaypoint.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (Types.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (animation.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (dataStorage.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.js.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Unable to process resource request) (common.css.map, line 0)

tracernz commented 2 years ago

[Error] Error: No SimBrief pilot ID provided getSimBriefOfp (a32nx_atsu.js:139)

What do you have on the flyPad Settings -> ATSU/AOC page?

Halobiont commented 2 years ago

I see the Simbrief username/pilotid box.

I put in my username and the cursor just keeps blinking at the end of the username. While it's blinking the mouse won't work anywhere in the sim. Hitting enter does nothing.

If I click out on the ATSU/AOC page anywhere the cursor stops blinking and I can use the mouse however I still get the error on the MCDU when trying to init.

If I go to another page on the Flypad and come back the field is blank again.

It's like the username or id won't "stick" Occasionally I see Simbrief Error flash but that's random.

Clipboard01

tracernz commented 2 years ago

Seems like it's something wrong with your internet/router/firewall blocking SimBrief? I can put your username and it works fine:

image image image

There is also a lack of error handling apparently because the EFB shouldn't silently fail when it can't fetch your username (cc @ErickSharp ).

ErickSharp commented 2 years ago

What do you mean? Is there something that I am missing? There is an indication if it cant fetch your username next to the title of the setting..

Halobiont commented 2 years ago

I have Malwayrebytes and Defender. I've turned them both off and I've made exceptions for Simbrief.com. None of that worked.

ErickSharp commented 2 years ago

When you type into the input field, you need to click somewhere outside of the box for it to make the request to certify that the username you entered is valid, in this case if it isn't it will say 'Simbrief Error' in red next to the title. If you click outside of the box, are you still having issues with it not saving?

In addition, we currently do NOT have any functionality tied to pressing the enter key which is why it does nothing. After typing in your value, clicking on another tab will of course clear your selection for the reason described above: you need to click somewhere on the same page for it to begin validating that your SimBrief username exists and if it is, saving it.

Halobiont commented 2 years ago

Yes. When I click somewhere else on the same page I don't see the Simbrief Error message but I can't init on the MCDU. I get No Simbrief User. Sometimes when I look back on the Flypad after trying the MCDU the field is blank again. Sometimes it's not. And as stated sometimes, almost randomly I will see the red Simbrief Error even though we've shown it's correct.

I agree it sounds like a firewall issue. But I don't do anything special with the firewall.

ErickSharp commented 2 years ago

Yes. When I click somewhere else on the same page I don't see the Simbrief Error message but I can't init on the MCDU. I get No Simbrief User. Sometimes when I look back on the Flypad after trying the MCDU the field is blank again. Sometimes it's not. And as stated sometimes, almost randomly I will see the red Simbrief Error even though we've shown it's correct.

I agree it sounds like a firewall issue. But I don't do anything special with the firewall.

If you enter in your username, and click somewhere on the screen, does the setting's value update? If you do that and go to another EFB page and come back is the setting still saved? If you go onto the home page and tell it to fetch simbrief data, does it fill everything in the flight data card out?

Halobiont commented 2 years ago

If you enter in your username, and click somewhere on the screen, does the setting's value update?

-No, It's always blank when I do this

If you go onto the home page and tell it to fetch simbrief data, does it fill everything in the flight data card out?

-No, does nothing and when I return to ATSU/AOC blank again

ErickSharp commented 2 years ago

So when you click on the screen, the value just empties out? Or does the value you had just typed in there stay?

Halobiont commented 2 years ago

It stays. For awhile. I'll go mess around with the MCDU and come back and sometimes it's blank again. If I sit on the Flypad page and click on the page somewhere it stays.

Halobiont commented 2 years ago

I just typed it in and let it sit. After two minutes I saw Simbrief Error flash and now it's blank

ErickSharp commented 2 years ago

This is interesting, it seems like an issue with something blocking the network request from going through. However, what does make this weird is that if the network request can't go through, an error should be generated that is caught inside of the code and cause the 'SimBrief Error' message to show up.

Halobiont commented 2 years ago

I'll keep working on the firewall. Maybe I'll uninstall Malwarebytes. When I try to make an exclusion for flightsimulator.exe in defender I get an error message that the system can't access the file. Searching seems to answer that it's encrypted by MS and not really in that location. Idk.
I do see "Simbrief Error" flash in red occasionally. It's obviously not a bug and we can close this if you want. I've just got some configuration that is just not working with this plane. Lucky me.

Halobiont commented 2 years ago

Thank you all for trying to help.

tracernz commented 2 years ago

What do you mean? Is there something that I am missing? There is an indication if it cant fetch your username next to the title of the setting..

So it does! There's a very brief error next to the label: image

tracernz commented 2 years ago

Thank you all for trying to help.

What happens if you go to http://www.simbrief.com/api/xml.fetcher.php?json=1&username=Halobiont in your web browser?

Halobiont commented 2 years ago

Right now it's hanging. I've done that earlier and it worked fine. I saw all the data.

Halobiont commented 2 years ago

Yeah I got it to work. from https://www.simbrief.com/api/xml.fetcher.php?json=1&username=Halobiont Same as your link but it wouldn't work from your link.

  -- params | {…} general | {…} origin | {…} destination | {…} alternate | {…} takeoff_altn | {} enroute_altn | {} navlog | {…} etops | {} atc | {…} aircraft | {…} fuel | {…} times | {…} weights | {…} impacts | {…} crew | {…} notams | {…} weather | {…} sigmets | {} text | {…} tracks | {} database_updates | {…} files | {…} fms_downloads | {…} images | {…} links | {…} vatsim_prefile | "
" ivao_prefile | "
\n
" pilotedge_prefile | "https://www.pilotedge.ne…an[remarks]=RMK/SIMBRIEF" poscon_prefile | "https://hq.poscon.net/fl…t=&remarks=TCAS+SIMBRIEF" map_data | "https://www.simbrief.com…AHKDEN_MJS_1639430224.js" api_params | {…}
tracernz commented 2 years ago

Same as your link but it wouldn't work from your link.

That is very interesting... I wonder if you have some security software stopping plain http but allowing https...

Halobiont commented 2 years ago

Don't know what it would be. I'll search that.

tracernz commented 2 years ago

Don't know what it would be. I'll search that.

I'll get you to try this when it's finished building... do you know how to manually install the package into your community directory? https://github.com/flybywiresim/a32nx/pull/6363

There are some instructions here (gotta wait for the build to be done first though...) https://docs.flybywiresim.com/dev-corner/qa-process/#how-to-get-pr-builds

tracernz commented 2 years ago

Try now https://github.com/flybywiresim/a32nx/suites/4660855926/artifacts/126650911

Halobiont commented 2 years ago

Yes I do. I'm using addon linker by the way.

Halobiont commented 2 years ago

Working on it...

Halobiont commented 2 years ago

Downloading slowly. I don't have great internet here. I'll report as soon as it's done. Thank you.

Halobiont commented 2 years ago

It works! Thank you again! That's been eating at me for weeks. I really wanted to get this going. Love FBW!

tracernz commented 2 years ago

It works! Thank you again! That's been eating at me for weeks. I really wanted to get this going. Love FBW!

Thanks for reporting back! :D

AdamNZ commented 2 years ago

I've been following this (painful) thread with interest. Not because I'm similarly afflicted, but as an example of how far the devs here are prepared to go to help out.

So ... is it the case that the currently available dev version will still have the problem - and this new patch/build fixes it?

Either way - well done to all concerned!