Jump to content
Sign in to follow this  
bmaik

SimConnect Exception 20

Recommended Posts

Hi to all,

I don't get the live traffic to be displayed in FSX. PSXSeeconTraffic and RealTraffic on Windows 10 computer connect via network to Windows7 machine running FSX. PSXseeconTraffic connects to both FSX and RealTraffic (both show green) but no live traffic is displayed, only parked aircraft. RealTraffic shows "notraffic" on whichever airport I choose. RealTraffic license is valid, versions of both programs are latest,  The attached logfile shows that there is a simconnect exception #20 when PSXseeconTraffic tries to read traffic from RealTraffic. What does this exception mean? and why do I get green colour indidicating successful connection. Any help appreciated. Tried both the Standalone and Simple version of RealTraffic several times. Please find PSXseeconlog below.

Best regards

draci

 

Tue Jul  3 07:04:17 2018 (utc)
version 10.11
PSXseeconTraffic (32 bit)
for Prepar3D v3/v4 or FSX
9916 airports were read from airport_data\airports.txt

******************* Parameters *******************
VERSION_CHECKED_AT=:!b1.odqo
LIVE=1
ALWAYS_ON_TOP=0
UPS=25
PARKEDFOLDER=parked_default
FLIGHTPLANSFOLDER=flightplans
VMRGENERATOR=BVAIFSX
LATERAL_RANGE=100
LIMITED_VERTICAL_RANGE=1
AUTO_MODE=0
MAX_LIVE_AIRCRAFT=200
HEAVY_AIRCRAFT=1
MIDDLE_AIRCRAFT=1
LIGHT_AIRCRAFT=0
HELICOPTERS=0
COLLISION_DET_AIR=1
COLLISION_DET_GND=1
LOG_MATCHING=0
LOG_PARKING=0
LOG_TAKEOFF=0
LOG_LANDING=0
LOG_3RDPARTY=0
**************************************************

07:04:17 Initializing PSX server at port 10747
07:04:17 Waiting for FlightSimulator to connect ...
07:04:17 Waiting for RealTraffic to connect ...
07:04:17 Microsoft Flight Simulator X connected
07:04:30 RealTraffic connected

*************************************** AI_liveries.txt summary ***************************************
1465 liveries read from file BVAIFSX\AI_liveries.txt
75 Registration codes for a livery
generic Boeing liveries for 2 types: B744 B748
no generic Airbus liveries
no generic Embraer liveries
no generic Bombardier liveries
no generic ATR liveries
generic Private liveries for 2 types: C172 P28A
338 unique airlines
70 unique aircraft types
Default livery set for aircraft category Heavy, type A333, num liveries: 49
Default livery set for aircraft category Middle, type A320, num liveries: 247
Default livery set for aircraft category Light, type PC12, num liveries: 6
No default livery found for aircraft category Helicopter
********************************************************************************************************

07:04:30 User aircraft title: PMDG 747-8i PMDG House Livery
07:04:30 User aircraft model: B748,  category: H
07:04:31 User aircraft at 47.453935,8.558234, close to or at airport LSZH distance 0.4 Nm
07:04:31 35% parked set for LSZH with 152 parking positions
07:04:31 51 aircraft to be parked out of 152 positions (33%)
07:04:31 Connecting QNH Reader to UDP port 49004 ...
07:04:31 QNH Reader connected
07:04:31 Simconnect Exception # 20,  sendID 83, index: 1
07:04:31 Connecting Traffic Reader to UDP port 49003 ...
07:04:31 Traffic Reader connected
07:04:31 QNH: 1016 {"ICAO": "LSZH","QNH": 1016, "METAR": "LSZH 030620Z 00000KT 5000 TSRA FEW005 SCT050CB BKN065 18/15 Q1016 TEMPO 3000 +TSRA", "NAME": "Zürich Airport", "IATA": "ZRH","DISTNM": 1.1}
07:04:31 Simconnect Exception # 20,  sendID 96, index: 1
07:04:32 Simconnect Exception # 20,  sendID 112, index: 1
07:04:32 Simconnect Exception # 20,  sendID 123, index: 1
07:04:32 Simconnect Exception # 20,  sendID 134, index: 1
07:04:33 Simconnect Exception # 20,  sendID 150, index: 1
07:04:34 Simconnect Exception # 20,  sendID 161, index: 1
07:04:34 Simconnect Exception # 20,  sendID 172, index: 1
07:04:34 Simconnect Exception # 20,  sendID 183, index: 1
07:04:34 Simconnect Exception # 20,  sendID 199, index: 1
07:04:34 Simconnect Exception # 20,  sendID 210, index: 1
07:04:34 Simconnect Exception # 20,  sendID 221, index: 1
07:04:34 Simconnect Exception # 20,  sendID 232, index: 1
07:04:35 Simconnect Exception # 20,  sendID 248, index: 1
07:04:35 Simconnect Exception # 20,  sendID 259, index: 1
07:04:35 Simconnect Exception # 20,  sendID 270, index: 1
07:04:35 Simconnect Exception # 20,  sendID 281, index: 1
07:04:36 Simconnect Exception # 20,  sendID 297, index: 1
07:04:36 Simconnect Exception # 20,  sendID 308, index: 1
07:04:36 Simconnect Exception # 20,  sendID 319, index: 1
07:04:36 Simconnect Exception # 20,  sendID 327, index: 1
07:04:37 Simconnect Exception # 20,  sendID 340, index: 1
07:04:37 Simconnect Exception # 20,  sendID 348, index: 1
07:04:37 Simconnect Exception # 20,  sendID 356, index: 1
07:04:37 Simconnect Exception # 20,  sendID 364, index: 1
07:04:38 Simconnect Exception # 20,  sendID 377, index: 1
07:04:38 Simconnect Exception # 20,  sendID 385, index: 1
07:04:38 Simconnect Exception # 20,  sendID 393, index: 1
07:04:38 Simconnect Exception # 20,  sendID 401, index: 1
07:04:39 Simconnect Exception # 20,  sendID 414, index: 1
07:04:39 Simconnect Exception # 20,  sendID 422, index: 1
07:04:39 Simconnect Exception # 20,  sendID 430, index: 1
07:04:39 Simconnect Exception # 20,  sendID 438, index: 1
07:04:40 Simconnect Exception # 20,  sendID 451, index: 1
07:04:40 Simconnect Exception # 20,  sendID 459, index: 1
07:04:40 Simconnect Exception # 20,  sendID 467, index: 1
07:04:40 Simconnect Exception # 20,  sendID 475, index: 1
07:04:41 Simconnect Exception # 20,  sendID 488, index: 1
07:04:41 Simconnect Exception # 20,  sendID 496, index: 1
07:04:41 Simconnect Exception # 20,  sendID 504, index: 1
07:04:41 Simconnect Exception # 20,  sendID 512, index: 1
07:04:42 Simconnect Exception # 20,  sendID 525, index: 1
07:04:42 Simconnect Exception # 20,  sendID 533, index: 1
07:04:42 Simconnect Exception # 20,  sendID 541, index: 1
07:04:42 Simconnect Exception # 20,  sendID 549, index: 1
07:04:43 Simconnect Exception # 20,  sendID 562, index: 1
07:04:43 Simconnect Exception # 20,  sendID 570, index: 1
07:04:43 Simconnect Exception # 20,  sendID 578, index: 1
07:04:43 Simconnect Exception # 20,  sendID 586, index: 1
07:04:44 Simconnect Exception # 20,  sendID 596, index: 1
07:04:44 Simconnect Exception # 20,  sendID 604, index: 1
07:06:36 send failed with errror: 10053
Warning: 07:06:36 RealTraffic disappeared
07:06:37 Waiting for RealTraffic to re-connect ...
07:06:37 RealTraffic re-connected
07:06:37 send failed with errror: 10054
Warning: 07:06:37 RealTraffic disappeared
07:06:38 Waiting for RealTraffic to re-connect ...
07:07:22 RealTraffic re-connected
07:08:10 User closed PSXseeconTraffic, wait till all processes have stopped ...
07:08:10 QNH Reader has stopped
07:08:11 Traffic Reader has stopped
07:08:12 Flight Simulator disconnected
Tue Jul  3 07:08:12 2018

Edited by bmaik

Share this post


Link to post
Share on other sites

Hi,

Try:

Exit RealTraffic, delete RealTraffic.ini and re-start RealTraffic (see also my FAQ).

EDIT: FYI,  PSXseeconTraffic does not use SimConnect to read from RealTraffic. It connects to  a UDP data stream at port 49'003.

See this part in the log:

07:04:31 Connecting Traffic Reader to UDP port 49003 ...
07:04:31 Traffic Reader connected

Simconnect is used by PSXseeconTraffic to communicate with FSX/P3D.

 

Nico

Edited by kiek

Share this post


Link to post
Share on other sites

Thank you for your reply. Actually I did read the FAQ carefully and already tried to delete the RealTraffic.ini and restart several times to no avail. I've used simconnect for almost twenty years now without any problem to connect a myriad of add-ons to my good old FSX, so I guess that my server simconnect configuration is ok. I can even run other simconnect add -ons from the same client I try to run PSXseecon and RealTraffic from without any further problems, thus I suppose that also the client simconnect config is fine, but the log made me suspicious that the simconnect error could be related to realtraffic because it always happens immediately after the Traffic reader connection. But since you say that this is wrong, and simconnect is only used for the connection to FSX, how can it be then that I get a successful connection (green) to FSX via simconnect, airplane and airport are recognised correctly and I get all the parked traffic. Can it be that there is something wrong with my BVAI AI installation? But if so I guess, there wouldn't be any parked traffic either, isn't it? For example I have installed the BVAI aircraft in the /simobjects/airplanes folder instead of adding another folder to the fsx.cfg. So what else can I try, I've already tried to run real traffic in debug mode but this didn't help either. Can you tell me perhaps what the simconnect exception #20 means? By the way turning off the firewall and addings rules to open the relevant ports doesn't help either. Quite frustrating though.....

 

Best regards

draci

Edited by bmaik

Share this post


Link to post
Share on other sites

I don't think the SimConnect exception is the problem. In your log you can see a sendfail error 10053, after which RealTraffic stops. 10053 means that the connection between PSXseeconTraffic and RealTraffic has been aborted.. (so not the UDP stream but RealTraffic itself).

Maybe tomorrow I will make available a version with debug information. Then we can better see what is going on at your system.

EDIT: SimConnect Exception 20 =:  SIMCONNECT_EXCEPTION_DATA_ERROR

 

Nico

Edited by kiek

Share this post


Link to post
Share on other sites

PM me your email address please.

Nico

Share this post


Link to post
Share on other sites

Hi Nico,

while playing around to generate the log for you I was finally successful, strangely enough I simply have to use the client's IP address instead of localhost in the RealTraffic Settings and then everything works. Thank you for your great support anyway. One last question: I remember there was a way in earlier versions to completely disable ground traffic and only show traffic aloft (I guess this could be accomplished by an entry in the .cfg file similar as percentage_parked = 0 or by setting a minimal_altitude threshold like "only show traffic above 1000 ft GND". Do you have abandoned these options or are they still available?

draci

Share this post


Link to post
Share on other sites
42 minutes ago, bmaik said:

1) while playing around to generate the log for you I was finally successful, strangely enough I simply have to use the client's IP address instead of localhost in the RealTraffic Settings and then everything works.

2). Do you have abandoned these options or are they still available?

ad 1) That's strange, maybe you should report that to Bathasar the author of RealTraffic.

ad 2) No, I have removed these options. You can disable Show GND TFC in RealTraffic.

EDIT: From your log file with debug info:

The Simconnect Exceptions were about setting the parking brake at the Parked aircraft. Maybe that does not work in FSX? I have not noticed that in P3D... 

Will remove that function from my app, while it does not have the effect wanted (making the jetways move).

Nico

Edited by kiek

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    53%
    $13,405.00 of $25,000.00 Donate Now
×
×
  • Create New...