walouigi 0 Posted April 19, 2020 Report Share Posted April 19, 2020 Hi there, I am new to STB, and trying to have STB on a client PC with no luck. I have read your documentation, and followed it step by step, with no luck. On my client PC I am running all other P3D V4 program, Like PFPX, PROATC-X and FSC, so I am aware of the simmconnect files, and I can see both PC on the network. Now I am getting always unable to connect to P3D error Please make sure flight has completed. The STB server 4.2.22020.40000 is connecting to P3D using the port # 32123 no problem, as P3D is up and running. My SIMCONNECT.cfg on my client is this : [SimConnect] Protocol=IPV4 Address=192.168.1.30 (This is my P3D IP address) Port=32123 MaxReceiveSize=4096 DisableNagle=0 and my Simconnect.XML on my P3D is this: <?xml version="1.0" encoding="windows-1252"?> <SimBase.Document Type="SimConnect" version="1,0"><Descr>SimConnect</Descr> <Filename>SimConnect.xml</Filename> <Disabled>False</Disabled> <SimConnect.Comm> <Disabled>False</Disabled> <Protocol>IPv4</Protocol> <Scope>global</Scope><Address>192.168.1.30</Address> <MaxClients>64</MaxClients> <Port>6811</Port> <MaxRecvSize>4096</MaxRecvSize> <DisableNagle>False</DisableNagle> </SimConnect.Comm><SimConnect.Comm> <Disabled>False</Disabled> <Protocol>Auto</Protocol> <Scope>local</Scope> <SimConnect.Comm> <SimConnect.Comm> <Disabled>False</Disabled> <Protocol>IPv4</Protocol> <Address>192.168.1.30</Address> <Port>32123</Port> </SimConnect.Comm> </SimBase.Document> Can you please help to figure out my issues? Thanks in advance Hani Quote Link to post Share on other sites
Aussie1234 2 Posted April 19, 2020 Report Share Posted April 19, 2020 Just to jump in as another User Hani: You are running the Client as Administrator? (ticked the box in Properties>'Advanced' if you are using a shortcut?) Aussie Quote Link to post Share on other sites
walouigi 0 Posted April 20, 2020 Author Report Share Posted April 20, 2020 Hi Yes both are running as admin on both PC. Is there anything else I should look at? Thanks Hani Quote Link to post Share on other sites
Aussie1234 2 Posted April 20, 2020 Report Share Posted April 20, 2020 Sorry Hani, You will need to wait for Simon to help. Personally, I have STB Clients running on three old separate PC's. One display for Arrivals, one for Departures, and a newer separate one driving an old 40 inch monitor, vertical, for Arrivals/Departures outside my shed leading into the cockpit. I think Admin rights was the only problem I have had? You do need to make sure you have exactly the same version of Client as the Server. Aussie Quote Link to post Share on other sites
walouigi 0 Posted April 20, 2020 Author Report Share Posted April 20, 2020 Hi Aussie, I just got the STB, so both version running are the same witch is the latest one 4.2.22020.40000. Thanks anyway, I will wait for Simon. Hani Quote Link to post Share on other sites
walouigi 0 Posted April 20, 2020 Author Report Share Posted April 20, 2020 Hi Today I tried again to connect and this is what I get at the STB screen bottom display Connecting to Prepar3D V4, please wait. Simulator connection successful. Connecting to STB Data Server (STB-DS). Data Server connection successful, server version 4.2.2020.4000. However the connection is not working and the red button is lit with connect on it Quote Link to post Share on other sites
flying-w 78 Posted April 21, 2020 Report Share Posted April 21, 2020 I'm surprised you got as far as that, as there are at least two problems in your simconnect.xml: <SimConnect.Comm><Disabled>False</Disabled><Protocol>IPv4</Protocol><Address>192.168.1.30</Address><Port>32123</Port></SimConnect.Comm> The previous SimConnect.Comm stanza before the above does not have a correctly terminated XML statement. The above should have the "Global" stanza included to export the port on the network. Please take a look at correcting those items before anything else. Thanks Simon Quote Link to post Share on other sites
walouigi 0 Posted April 21, 2020 Author Report Share Posted April 21, 2020 Hi Simon, I adjusted the Simconnect as per you example above, and this is the new error response: FLW.STB.Utilities.StbDisconnectException: Unable to contact SuperTrafficBoard Data Server. STB will be disconnected. Additional details below: at Ut2Interface.Ut2RemoteDatabase.OpenAgent() in C:\_Data\Software Development\Flying-W\GitHub\STBforPrepar3D-V4\STB-P3DV4-Client\Traffic Board\Ut2RemoteDatabase.cs:line 673 at Ut2Interface.Ut2RemoteDatabase..ctor() in C:\_Data\Software Development\Flying-W\GitHub\STBforPrepar3D-V4\STB-P3DV4-Client\Traffic Board\Ut2RemoteDatabase.cs:line 31 at FLW.STB.Client.STBClient.OpenDataSources() in C:\_Data\Software Development\Flying-W\GitHub\STBforPrepar3D-V4\STB-P3DV4-Client\Traffic Board\STBClient.cs:line 15544 at FLW.STB.Client.STBClient.CompleteSimConnection() in C:\_Data\Software Development\Flying-W\GitHub\STBforPrepar3D-V4\STB-P3DV4-Client\Traffic Board\STBClient.cs:line 6554 at FLW.STB.Client.STBClient.ConnectToFs() in C:\_Data\Software Development\Flying-W\GitHub\STBforPrepar3D-V4\STB-P3DV4-Client\Traffic Board\STBClient.cs:line 6511 at FLW.STB.Client.STBClient.ConnectButton_Click(Object sender, EventArgs e) in C:\_Data\Software Development\Flying-W\GitHub\STBforPrepar3D-V4\STB-P3DV4-Client\Traffic Board\STBClient.cs:line 6606 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Inner Exception: The server at net.tcp://hanimaster:32123/stbdata/Ut2Service rejected the session-establishment request. Server stack trace: at System.ServiceModel.Channels.ConnectionUpgradeHelper.ValidatePreambleResponse(Byte[] buffer, Int32 count, ClientFramingDecoder decoder, Uri via) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout) at Ut2Interface.Ut2RemoteDatabase.OpenAgent() in C:\_Data\Software Development\Flying-W\GitHub\STBforPrepar3D-V4\STB-P3DV4-Client\Traffic Board\Ut2RemoteDatabase.cs:line 664 Exception Handler Type: ThreadAcception BTW I found another Simmconnect in STB folder on the client PC showing this: [SimConnect] Protocol=IPv4 Address=192.168.1.30 Port=32123 MaxReceiveSize=4096 DisableNagle=0 Does this need to be there? beside the one that reside on the main P3D PC under user\name\appdata\Roaming\LM\P3D V4 This is my new Simmconect XML: <?xml version="1.0" encoding="windows-1252"?> <SimBase.Document Type="SimConnect" version="1,0"> <Descr>SimConnect</Descr> <Filename>SimConnect.xml</Filename> <Disabled>False</Disabled> <SimConnect.Comm> <Disabled>False</Disabled> <Protocol>IPv4</Protocol> <Scope>global</Scope> <Address>192.168.1.30</Address> <MaxClients>64</MaxClients> <Port>6811</Port> <MaxRecvSize>4096</MaxRecvSize> <DisableNagle>False</DisableNagle> </SimConnect.Comm> <SimConnect.Comm> <Disabled>False</Disabled> <Protocol>Auto</Protocol> <Scope>local</Scope> </SimConnect.Comm> <SimConnect.Comm> <Disabled>False</Disabled> <Protocol>IPv4</Protocol> <Address>192.168.1.30</Address> <Port>32123</Port> </SimConnect.Comm> </SimBase.Document> Thanks for any help Hani Quote Link to post Share on other sites
flying-w 78 Posted April 21, 2020 Report Share Posted April 21, 2020 6 hours ago, walouigi said: BTW I found another Simmconnect in STB folder on the client PC showing this: [SimConnect] Protocol=IPv4 Address=192.168.1.30 Port=32123 MaxReceiveSize=4096 DisableNagle=0 Does this need to be there? beside the one that reside on the main P3D PC under user\name\appdata\Roaming\LM\P3D V4 No idea, can you be more precise? Which file and where? 6 hours ago, walouigi said: I adjusted the Simconnect as per you example above, and this is the new error response: FLW.STB.Utilities.StbDisconnectException: Unable to contact SuperTrafficBoard Data Server. STB will be disconnected. Additional details below: Now we are starting to get to it. Either your STBDS is not running on your PC computer, a firewall somewhere blocks the port or one or both ends are misconfigured. Please send me: 1) The TrafficBoardFrontEnd.exe.config file from the STB Client 2) The StbDataServer.exe.config from the simulator PC. Thanks Simon Quote Link to post Share on other sites
walouigi 0 Posted April 21, 2020 Author Report Share Posted April 21, 2020 Hi Simon, Re your question about the simconnect found in my Client PC, I just deleted, as I have put it in there, that's my bad. so no more. Now on the P3D PC, the STB DS was running and connected to P3D who is running of course, and both PC have the windows firewall turned off. I can access to all the file and folder on either PC no problem. Here is the TrafficBoardFrontEnd.exe as well the STBdataserver.exe as requested. Thanks for your help Simon Hani TrafficBoardFrontEnd.exe.config StbDataServer.exe.config Quote Link to post Share on other sites
flying-w 78 Posted April 23, 2020 Report Share Posted April 23, 2020 On 4/21/2020 at 10:47 PM, walouigi said: Hi Simon, Re your question about the simconnect found in my Client PC, I just deleted, as I have put it in there, that's my bad. so no more. Now on the P3D PC, the STB DS was running and connected to P3D who is running of course, and both PC have the windows firewall turned off. I can access to all the file and folder on either PC no problem. Here is the TrafficBoardFrontEnd.exe as well the STBdataserver.exe as requested. Thanks for your help Simon Hani TrafficBoardFrontEnd.exe.config 3.47 kB · 0 downloads StbDataServer.exe.config 4.29 kB · 0 downloads Don't see an immediate problem so far. What happens on your client PC when you do the following DOS command: ping hanimaster Thanks Simon Quote Link to post Share on other sites
walouigi 0 Posted April 24, 2020 Author Report Share Posted April 24, 2020 Hi Simon, This is the reply I get: Pinging HaniMaster [192.168.1.31] with 32 bytes of data: Reply from 192.168.1.31: bytes=32 time<1ms TTL=64 Reply from 192.168.1.31: bytes=32 time<1ms TTL=64 Reply from 192.168.1.31: bytes=32 time<1ms TTL=64 Reply from 192.168.1.31: bytes=32 time<1ms TTL=64 Ping statistics for 192.168.1.31: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms Today it changed to 192.168.1.31 Thanks Hani TrafficBoardFrontEnd.exe.config Quote Link to post Share on other sites
flying-w 78 Posted April 25, 2020 Report Share Posted April 25, 2020 OK, the only thing left to try is your configuration files on my working setup. I have two of the four requires, but the simconnect related files where cut and paste as text so I can't really use those. Can you send me them as files please, simconnect.xml and simconnect.cfg Thanks Simon Quote Link to post Share on other sites
walouigi 0 Posted April 25, 2020 Author Report Share Posted April 25, 2020 Hi Simon, Please see attached both files requested. Please let me know. Thanks simconnect.cfg simconnect.xml Quote Link to post Share on other sites
walouigi 0 Posted April 26, 2020 Author Report Share Posted April 26, 2020 Hi Simon, Any update please? Thanks Quote Link to post Share on other sites
flying-w 78 Posted April 26, 2020 Report Share Posted April 26, 2020 No updates Quote Link to post Share on other sites
walouigi 0 Posted April 27, 2020 Author Report Share Posted April 27, 2020 Thanks, keep me posted please. Regards Hani Quote Link to post Share on other sites
flying-w 78 Posted April 27, 2020 Report Share Posted April 27, 2020 I was able to get this working using your files but with some changes 1) simconnect.cfg, TrafficBoardFrontEnd.exe.config. Instead of using your IP address and computer name, I used my own. You don't need to change the versions you have as they are will work for you. That said I'd recommend using computer names rather than IP addresses, as your address will change if DHCP based. 2) simconnect.xml. This had some serious problems, the worst being it was trying to start a simconnect server on the port that STB-DS is trying to use for it's own communications. One will win and the other close down, which is why this isn't working for you. Why you have this in your simconnect.xml I've no idea, STB would not have put it there so you are better off without it. I also changed the IP adresss to 0.0.0.0 as it is not necessary to associated it with an actual IP address (and causes problems when the DHCP lease expires). I've added the simconnect.xml file here, you should use that one now. simconnect.xml Otherwise I think you are good to go. Simon Quote Link to post Share on other sites
walouigi 0 Posted April 28, 2020 Author Report Share Posted April 28, 2020 Hi Simon, Still no go the STB client disconnect as soon as I click on the connect. I have used the simconnet.xml, and left everything else the same as per your suggestion, and still no go. I don't know what is the reason now. Thanls Quote Link to post Share on other sites
flying-w 78 Posted April 29, 2020 Report Share Posted April 29, 2020 Sorry to say I don't have any further ideas. There must be some sort of local problem to one of your computers or your network, as I could make it work with your files there's nothing I can fix in STB to resolve it. Thanks Simon Quote Link to post Share on other sites
walouigi 0 Posted April 29, 2020 Author Report Share Posted April 29, 2020 Hi Simon, Thanks for your reply. I will try to figure out something, as at the moment I cannot use the program that I have paid for. Will parked on the shelves 😞 Thanks Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.