SIMCOM X Voice application

Suggestions, ideas and general discussion about JoinFS.
AlphaTech
Posts: 9
Joined: Sat Feb 09, 2019 7:16 pm

Re: SIMCOM X Voice application

Postby AlphaTech » Mon Mar 25, 2019 11:30 pm

Roo

Damn. Exactly right. On top of that I'm using ProSim A320 in a full sim, so the auto frequency tuning is important.

FSUIPC appears to be the solution.

Thanks - I'll keep you updated.

Paul

ATC Roo
Posts: 483
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: SIMCOM X Voice application

Postby ATC Roo » Mon Mar 25, 2019 11:44 pm

I added a Log file a few versions back.
If you are the data I'm looking at, it seems that Simcom X isn't connecting to your sim.
This is resulting in the frequency fetched being blank.
Simcom X sees your Blank frequency and tunes you to 122.800.

The log file is in Program Files(x86)/simcomx called Log.txt
If you post the contents I'll have a look.

The latest version Shouldl now tell you if you haven't got the Xpack of Simconnect installed.

AlphaTech
Posts: 9
Joined: Sat Feb 09, 2019 7:16 pm

Re: SIMCOM X Voice application

Postby AlphaTech » Tue Mar 26, 2019 5:09 pm

Hi Roo

Log file as below.

###### Simcom X Log Created at 16:59:48 26/03/2019 ######
16:59:52 Sound Devices in use:
16:59:52 No Sound Devices Set!
16:59:52 Upnp Ticked.
16:59:52 Upnp Error, Could not get mappings.
17:00:24 Read Clients from Primary!
17:00:24 Channel Switch Initiated from Disconnect State!
17:00:24 Read Clients from Primary!
17:00:25 Primary Updated.
17:00:26 Secondary Updated.
17:00:26 Connecting to UIPC!
17:00:27 Successfully Connected UIPC!
17:00:27 Hosting Default Channel
17:00:27 Switched and Connected to ---.---
17:00:32 Read Clients from Primary!
17:00:32 Primary Updated.
17:00:33 Secondary Updated.
17:00:41 Read Clients from Primary!
17:00:41 Channel Switch Initiated from Disconnect State!
17:00:42 Read Clients from Primary!
17:00:42 Primary Updated.
17:00:43 Secondary Updated.
17:00:43 Hosting Default Channel
17:00:44 Switched and Connected to 128.300
17:01:42 Read Clients from Primary!
17:02:42 Read Clients from Primary!
17:03:42 Read Clients from Primary!
17:04:42 Read Clients from Primary!
17:04:47 Read Clients from Primary!
17:04:47 Found 122.800 s2KA8HmFEXTeBggM9G7guNeEhQ9WzvIfBruX22d7Bs4=
17:04:47 Read Clients from Primary!
17:04:47 Primary Updated.
17:04:48 Secondary Updated.
17:04:48 Channel Switch Initiated from Disconnect State!
17:04:49 Switched and Connected to 122.800
17:05:42 Read Clients from Primary!
17:06:23 Read Clients from Primary!
17:06:23 Found 128.300 1cq0bwLqVfa2i+/x1dGJOA==
17:06:23 Read Clients from Primary!
17:06:23 Primary Updated.
17:06:24 Secondary Updated.
17:06:24 Channel Switch Initiated from Disconnect State!
17:06:30 Connection Exception!
17:06:30 Connection Exception!
FailedConnectionInitialisation
17:06:30 Read Clients from Primary!
17:06:30 Read Clients from Secondary!
17:06:30 RemoveFreq System.IO.IOException: The process cannot access the file 'C:\Users\Paul\AppData\Local\Simcomx\local.txt' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
at System.IO.File.ReadAllLines(String path)
at SIMCOM_X.Form1.RemoveFreq(String freq)
17:06:30 Read Clients from Primary!
17:06:30 Read Clients from Secondary!
17:06:30 Channel Switch Initiated from Disconnect State!
17:06:30 Read Clients from Primary!
17:06:30 Read Clients from Secondary!
17:06:30 AddMe System.IO.IOException: The process cannot access the file 'C:\Users\Paul\AppData\Local\Simcomx\local.txt' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
at System.IO.File.ReadAllLines(String path)
at SIMCOM_X.Form1.AddMe()
17:06:30 Switched and Connected to 128.300
17:06:42 Read Clients from Primary!
17:07:42 Read Clients from Primary!
17:08:24 Read Clients from Primary!
17:08:24 Found 122.800 s2KA8HmFEXTeBggM9G7guNeEhQ9WzvIfBruX22d7Bs4=
17:08:24 Read Clients from Primary!
17:08:24 Primary Updated.
17:08:25 Secondary Updated.
17:08:25 Channel Switch Initiated from Disconnect State!
17:08:26 Switched and Connected to 122.800
17:08:42 Read Clients from Primary!

AlphaTech
Posts: 9
Joined: Sat Feb 09, 2019 7:16 pm

Re: SIMCOM X Voice application

Postby AlphaTech » Tue Mar 26, 2019 5:14 pm

Roo!

Sorry! I forgot to ask - how much work (or is it even possible) to allow VHF 2 (Com 2) to be used for SimComX?

Best,
Paul

ATC Roo
Posts: 483
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: SIMCOM X Voice application

Postby ATC Roo » Tue Mar 26, 2019 6:14 pm

There seems to be a few things going on there, so I'll see if I can explain the issues.

Firstly have a look at the link below which explains simcom X in more detail.
https://dotdash.space/simcom-x-description/


AlphaTech wrote:16:59:52 Sound Devices in use:
16:59:52 No Sound Devices Set!


A bit of an easy one this.
You need to select your Speakers and Microphone from the drop down box if the Config menu.
It might seem simple, but not setting these can cause connection issues.

AlphaTech wrote:16:59:52 Upnp Ticked.
16:59:52 Upnp Error, Could not get mappings.


This looks like Upnp isn't enabled in your router.
You will need to login to your router and either enable Upnp or add UDP port 9988 to your port forward rules.


AlphaTech wrote:17:00:26 Connecting to UIPC!
17:00:27 Successfully Connected UIPC!


All good.
You are connected to FSUIPC.

AlphaTech wrote:17:00:44 Switched and Connected to 128.300


That's the default FSX/P3D freq.
So that's good as it shows it's getting the freq from your sim.

AlphaTech wrote:17:06:30 Connection Exception!
17:06:30 Connection Exception!
FailedConnectionInitialisation


Could not connect to 128.300
It's a freq you were hosting and it can get slightly confusing here, but basically it's because you haven't got Upnp enabled or port 9988 open.

AlphaTech wrote:17:06:30 RemoveFreq System.IO.IOException: The process...


Dont worry about this.
It's something I'll have to correct in the code.

So from the Log above...
It looks like you need to set your Sound Devices and open UDP port 9988 or enable Upnp in your router.

Regarding Com 2...
That has already been added and if you have Com2 selected in your aircraft, the Com2 Active Freq is the frequency Simcom X uses.

twodogzz
Posts: 3
Joined: Mon Feb 04, 2019 11:39 am

Can't get SIMCOM X Voice application to work on my W10 PC

Postby twodogzz » Tue Apr 23, 2019 2:52 am

Hi Roo,
(I sent this issue to the email address on your website but got the response:
The recipient server did not accept our requests to connect. Learn more at https://support.google.com/mail/answer/7720 [dotdash.space 2606:4700:30::6812:3207: timed out] [dotdash.space 2606:4700:30::6812:3307: timed out] [dotdash.space 104.18.51.7: timed out] [dotdash.space 104.18.50.7: timed out] )

I can't get your app to work on my W10 PC.
I enabled the UPnP router option in the config and it starts okay, but it just keeps "Checking..." and reporting "Error removing Frequency!" when I click on the PWR.

It's unresponsive to any Window functions to shut it down. I Right Click the SIMCOMX Task Bar icon and select the "Close Window" option to close the app. This some times results in a JIT debugging message.

Below are screenshots illustrating the issue and detailing the messages displayed. I also have the SIMCOMX log.txt and JIT debugging messages files, but I can't add them as attachments to this post and their too long to add as text.

I don't think it's an issue because the problem persists when I turn it off, but I run Bit Defender Total Security with a firewall on my PC, in addition to the firewall on my internet router.

Can you please help?
Attachments
SIMCOMX Capture.JPG
SIMCOMX Capture.JPG (43.65 KiB) Viewed 256 times
SIMCOMX Capture#1.JPG
SIMCOMX Capture#1.JPG (71.4 KiB) Viewed 256 times

ATC Roo
Posts: 483
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Can't get SIMCOM X Voice application to work on my W10 PC

Postby ATC Roo » Wed Apr 24, 2019 4:48 pm

twodogzz wrote:Hi Roo,
(I sent this issue to the email address on your website but got the response:
The recipient server did not accept our requests to connect. Learn more at https://support.google.com/mail/answer/7720 [dotdash.space 2606:4700:30::6812:3207: timed out] [dotdash.space 2606:4700:30::6812:3307: timed out] [dotdash.space 104.18.51.7: timed out] [dotdash.space 104.18.50.7: timed out] )


That's a random error I've not seen before?
I wonder if it's because you clicked the email picture I had on the old website to contact me?

There is a Contact Me link at the bottom of my current homepage https://dotdash.space if you would like to try that one.

twodogzz wrote:I can't get your app to work on my W10 PC.
I enabled the UPnP router option in the config and it starts okay, but it just keeps "Checking..." and reporting "Error removing Frequency!" when I click on the PWR.


This sounds like the app (Simcom X) is unable to connect to the internet.
I cant read all the error that you've attached but..
"Client.Connection.Stop" is probably because there is no connection to stop.
If there is no internet it can't create a connection.

That said..
It should still be able to create a local (LAN) connection.

So I would assume something is stopping SimCom X from creating any kind of connection.

"Error removing frequency" also points to no connection.
Simcom X is unable to update the user list.

twodogzz wrote:I don't think it's an issue because the problem persists when I turn it off, but I run Bit Defender Total Security with a firewall on my PC, in addition to the firewall on my internet router.

Can you please help?


My money is on Bit Defender blocking SimCom X and SimCom X Server.

Check for those 2 in bit defender and allow them as ok.

twodogzz
Posts: 3
Joined: Mon Feb 04, 2019 11:39 am

Re: SIMCOM X Voice application

Postby twodogzz » Thu Apr 25, 2019 7:14 am

ATC Roo wrote:My money is on Bit Defender blocking SimCom X and SimCom X Server.

Check for those 2 in bit defender and allow them as ok.


Roo,
Thanks for the advice. Unfortunately, the problem persists with all PC firewalls disabled and Modem / Router Firewall set to low security (basically allows most things through).
Port forwarding is with uPnP set in Simcom X and confirmed in my router settings as active.
I removed Bitdefender completely from my PC to ensure it wasn't the culprit and turned off Windows' Firewall!

ATC Roo wrote:There is a Contact Me link at the bottom of my current homepage https://dotdash.space if you would like to try that one.

I've sent the log.txt file to your email as suggested. Hopefully, you can identify the problem from that.

Thanks

ATC Roo
Posts: 483
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: SIMCOM X Voice application

Postby ATC Roo » Sun Apr 28, 2019 9:57 am

If anybody else has the above issue..

I'm looking into a fix at the moment.

There will be an update once I've found one.

Until then using the Join Group Server option and the address roo.servebeer.com in the IP box will allow you to test with others.

ATC Roo
Posts: 483
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: SIMCOM X Voice application

Postby ATC Roo » Wed May 01, 2019 4:32 pm

An Update!

Since creating this app I've noticed some users having issues allowing others to connect to them.

I tried to help out by adding the status light showing if people could connect to them, but I still saw issues.

After twodogzz posted his issue above, we investigated and found that the SDK I am using for this app has an issue.

Theres a lot of issues going on here!

The SDK issue caused people to not accept a connection from others.
I have searched high and low for a solution to the SDK issue, but all I've found is other users with the same problem.

So what I've done in V1.3.0.0 is the following...

Any user that connects in SimCom X mode will be added to a list.
Already connected SimCom X clients will go through this list and validate a user that can be connected to.
Once a user has been validated they are added to a second list of known... lets call then Connectees.

Now when your SimCom X client tries to connect in Simcom X mode it will look through the Connectees list and randomly select one to connect to.

This (I HOPE) should mean that any user using SimCom X needn't worry if they have the relevant port open etc etc.

For this to work there still needs to be Connectees available, so please don't try and purposely block SimCom X thinking you're now not needed.

You are.

Each client can host up to 30 people.
So 2 clients available means 60 people can be hosted.
3 clients, 90 people etc etc.....

I hope this helps people that were having the red status light issue.
The status light will still show you if you can allow people to connect or not, but you should now always be able to join and host a frequency.

This method is experimental to me so Please let me know if you find issues.

And thank you twodogzz for your help diagnosing.


Return to “Discussion”