Forza UDP not worki...
 
Notifications
Clear all

Forza UDP not working

18 Posts
6 Users
1 Likes
9,537 Views
(@amirba)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

Can make this thing works.
I updated the forza settings with 

127.0.0.1

port 1001

but no connection with Simhub.

I also tried:

1. disable firewall

2. change port

3. change ip to 192.168.1.*(my local ip)

4. open udp ports on firewall

5. AppContainer Loopback show "Failed to get appContainer"

What else I can do?


   
Quote
Topic Tags
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

Hello !

Unfortunately I fear you are falling in the last bad case as described in the troubleshooting guide :
https://github.com/SHWotever/SimHub/wiki/SimHub-Basics----Games-config-and-troubleshooting#forza-horizon-4--motorsport-7

Unfortunately this is a windows issue and I'm not aware of workarounds yet.  


   
ReplyQuote
(@amirba)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

Do I need to reinstall windows for that?

What is the issue? the game not sending the data? or on the receiving side?

@admin5435


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

Actually store games are "protected" by windows and can't communicate with the local computer (yes it's strange, it can communicate with the whole world over internet/network, but not to your own computer Oo). That's why the loopback exception step is mandatory, it unblocks these local communication which allows simhub to receive the data on the same computer. Otherwise the game sends the telemetry, windows block it and so simhub can't receive it.
Reinstalling is far from ideal, but unfortunately there is no documented solutions to solve that windows issue at my knowledge.


   
ReplyQuote
(@amirba)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

Maybe this can help us?
https://forum.sector3studios.com/index.php?threads/workaround-if-you-cannot-join-your-own-dedi-server.4672/

something with loopback

@admin5435


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

No unfortunately it's not related,

However I may have found a way,
It looks like adding the exception using command line could work even when windows is messing up :

CheckNetIsolation LoopbackExempt -a -n="S-1-15-2-1408466000-1616203321-337581629-199271302-1885606354-1487447307-2757409382"
CheckNetIsolation LoopbackExempt -a -n="S-1-15-2-4229748693-3326341846-1495081741-1528692508-1131203849-336638721-4261848658"

I cant remember which sid is the one for horizon or motorsport so I added both, could you give a try ? You will have to run the commands using command line (or powershell) and running as administrator.

I've attached a zip file containing the commands as a bat file, simply unzip it and right click to run as administrator.
As always when running any random .bat do not hesitate to edit it and read it first, mine is not harmful, but it's a good reflex to know what you are running on your computer :D, even more when it's as administrator 😀

(Original source for reference : http://www.twistedtek.net/viewtopic.php?t=226)

Let me know if it worked ! 

Nicolas


   
Josivanms reacted
ReplyQuote
(@amirba)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

First thanks for the help!
Second, when playing from the Xbox and putting the pc IP, its working just fine!!

I tried also what you suggested, Also installed fiddler and managed to open the loopBack app and enable the Forza 7 but still doesn't work.
Can understand why??

Cant believe I need to install windows because of that.

Maybe I can forward to some iOS/Mac app that will forward back to my pc?

 

 

 

@admin5435


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

Yeah xbox to PC does not suffer from this restriction, only windows store app sending data on the same pc, you can even make it work from pc to another pc without encountering this limitation neither.

Indeed in the early days of forza support (when nobody still figured this exemption solution ... when it works) the first solutions which appeared were to route the traffic using an udp repeater or using a nat translation sending data over internet and letting the router resend it to the computer. In short really bulky solutions 🙁 and requiring a good technical level.


   
ReplyQuote
(@amirba)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  
Posted by: @admin5435

Yeah xbox to PC does not suffer from this restriction, only windows store app sending data on the same pc, you can even make it work from pc to another pc without encountering this limitation neither.

Indeed in the early days of forza support (when nobody still figured this exemption solution ... when it works) the first solutions which appeared were to route the traffic using an udp repeater or using a nat translation sending data over internet and letting the router resend it to the computer. In short really bulky solutions 🙁 and requiring a good technical level.

So After playing with the system I managed to enter the Forza to the exception list for the loopback but still Simhub shows "Disconnected".

But the App actually working even when showing "Disconnected" I am getting telemetry and the buttkicker is working fine.
So maybe this is a bug on SimHub.

Next,

Do we have a place with recommended profiles for the games?


   
ReplyQuote
(@josivanms)
New Member
Joined: 3 years ago
Posts: 3
 
Posted by: @admin5435

No unfortunately it's not related,

However I may have found a way,
It looks like adding the exception using command line could work even when windows is messing up :

CheckNetIsolation LoopbackExempt -a -n="S-1-15-2-1408466000-1616203321-337581629-199271302-1885606354-1487447307-2757409382"
CheckNetIsolation LoopbackExempt -a -n="S-1-15-2-4229748693-3326341846-1495081741-1528692508-1131203849-336638721-4261848658"

I cant remember which sid is the one for horizon or motorsport so I added both, could you give a try ? You will have to run the commands using command line (or powershell) and running as administrator.

I've attached a zip file containing the commands as a bat file, simply unzip it and right click to run as administrator.
As always when running any random .bat do not hesitate to edit it and read it first, mine is not harmful, but it's a good reflex to know what you are running on your computer :D, even more when it's as administrator 😀

(Original source for reference : http://www.twistedtek.net/viewtopic.php?t=226)

Let me know if it worked ! 

Nicolas

Hi,  I can confirm this method worked for me on Forza Horizon 4 PC.


   
ReplyQuote
(@forza)
New Member
Joined: 3 years ago
Posts: 2
 

@josivanms

Hello, Do you know what is the right command for Forza Horizon 4 ?


   
ReplyQuote
(@josivanms)
New Member
Joined: 3 years ago
Posts: 3
 

@forza The command is for both Forza Horizon 4 and Forza Motorsport 7, no harm on applying both. @forza


   
ReplyQuote
(@josivanms)
New Member
Joined: 3 years ago
Posts: 3
 
Posted by: @josivanms

@forza The command is for both Forza Horizon 4 and Forza Motorsport 7, no harm on applying both. @forza

Download the Forzaexemptions.zip


   
ReplyQuote
(@forza)
New Member
Joined: 3 years ago
Posts: 2
 

Ok thank you for the info 😁


   
ReplyQuote
(@urfc3)
Active Member
Joined: 3 years ago
Posts: 5
 
Posted by: @amirba

Can make this thing works.
I updated the forza settings with 

127.0.0.1

port 1001

but no connection with Simhub.

I also tried:

1. disable firewall

2. change port

3. change ip to 192.168.1.*(my local ip)

4. open udp ports on firewall

5. AppContainer Loopback show "Failed to get appContainer"

What else I can do?

If you haven't fixed the issue. All you need to do is go to the settings in FH4 hud display, scroll down for IP type in 127.0.0.1 Port: 8000, you don't need to do anything else.

Hope this helps.


   
ReplyQuote
Page 1 / 2
Share: