IPv6 uPNP problem [SOLVED]

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

IPv6 uPNP problem

Postby MobiusBE » 28 Jan 2018, 18:31

Hello everyone

Since the fix seems to be in place for IPv6, I tried turning on IPv6 again on my adapter. Seems to be working for the What's new page, the vaults et cetera.

However, I have a personal problem which I need some help with.

My connection seems to not map the 6112 port correctly with uPNP when IPv6 is enabled.

I logged in three times to show this:
- 1st time at 17:09 with IPv4 -> maps port correctly with uPNP, no errors in the log
- 2nd time at 17:11 with IPv6 -> error in uPNP (pasted the error underneath)
- 3rd time at 17:18 with IPv4 -> maps port correctly with uPNP, no errors in the log

Code: Select all
2018-01-28 17:11:43,219 ERROR    fa.upnp                        Exception in UPnP createPortMapping.
Traceback (most recent call last):
  File "src\fa\upnp.py", line 37, in createPortMapping
  File "<COMObject <unknown>>", line 4, in Add
pywintypes.com_error: (-2147352567, 'Er is een uitzondering opgetreden.', (0, None, None, None, 0, -2147220984), None)



I rechecked my router settings which clearly show that uPNP is enabled both for IPv4 and IPv6. So I'm not sure why it's only working with IPv4.
I attached this log so you can check it out.

Hope anyone can help me :)! Thanks alot.

Kind regards
Mobius
Attachments
forever.log
(239.42 KiB) Downloaded 122 times
User avatar
MobiusBE
Avatar-of-War
 
Posts: 61
Joined: 09 Apr 2016, 15:40
Has liked: 6 times
Been liked: 5 times
FAF User Name: MobiusBE

Re: IPv6 uPNP problem

Postby Wesmania » 28 Jan 2018, 20:46

From what I can see the client uses IPv4 addresses in some places related to connectivity. We'll have to fix this. Your issue might be related, I'm not sure.
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Re: IPv6 uPNP problem

Postby Wesmania » 28 Jan 2018, 22:04

My best bet right now is that the Windows API gets called with an IPv6 address string, which it can't handle. I've yet to figure out how to fix this.
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Re: IPv6 uPNP problem

Postby MobiusBE » 29 Jan 2018, 12:21

Alright thanks! Good to know Wesmania. I'm glad it's probably not something on my end.

If you need me to test anything, give me a shout and I'll do it.
User avatar
MobiusBE
Avatar-of-War
 
Posts: 61
Joined: 09 Apr 2016, 15:40
Has liked: 6 times
Been liked: 5 times
FAF User Name: MobiusBE

Re: IPv6 uPNP problem  [SOLVED]

Postby PhilipJFry » 04 Feb 2018, 22:43

brutus fixed the ipv6 issue - gonna mark this as solved for now
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: IPv6 uPNP problem

Postby MobiusBE » 07 Feb 2018, 21:08

Tried enabling IPv6 again, however I'm still getting the same error in log

Code: Select all
2018-02-07 20:04:09,657 ERROR    fa.upnp                        Exception in UPnP createPortMapping.
Traceback (most recent call last):
  File "src\fa\upnp.py", line 37, in createPortMapping
  File "<COMObject <unknown>>", line 4, in Add
pywintypes.com_error: (-2147352567, 'Er is een uitzondering opgetreden.', (0, None, None, None, 0, -2147220984), None)


Turning off IPv6 and using IPv4 instead makes uPNP work fine again!
User avatar
MobiusBE
Avatar-of-War
 
Posts: 61
Joined: 09 Apr 2016, 15:40
Has liked: 6 times
Been liked: 5 times
FAF User Name: MobiusBE


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest