plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

Cammac avatar image
Cammac asked Cammac commented

WASM network API issue

Hello, we are using the WASM network API to download a xml file from Simbrief. We are using fsNetworkHttpRequestGet() with a callback function named simbrief_read_fplan_cb() as you can see in the upper code fragment. The issue we are having is that the errorCode returns -1 which means an invalid request and the dataSize variable returns 0 so it receives no data. This issue only occurs for some people and seems to be related to HTTPS/TLS protocols from what we think.

Below I will also submit our code segment.

Many thanks,

aircraftwasm
2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image FlyingRaccoon ♦♦ commented ·
Hello @Cammac

We were able to reproduce the problem and we'll come back to you when we have an explanation.

Regards,
Sylvain

1 Like 1 ·
Cammac avatar image Cammac FlyingRaccoon ♦♦ commented ·
Hi,


Thanks very much for checking this out so quickly.

.



0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.