You have to use the domain name of the server hosting SFS.
Before trying to connect with your client to SFS, make sure your computer can reach the server with a ping and a telnet connection.
IPv6 support
Re: IPv6 support
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: IPv6 support
Bax wrote:You have to use the domain name of the server hosting SFS.
Before trying to connect with your client to SFS, make sure your computer can reach the server with a ping and a telnet connection.
Yup, ping works fine from the computer sharing the internet.
Domain name? You mean the Public DNS assigned to the EC2 instance? (I'm using AWS EC2)
I tried both Public DNS value and A Record DNS, both are not working
Last edited by weberekt on 19 Oct 2016, 08:53, edited 1 time in total.
Re: IPv6 support
weberekt wrote:Bax wrote:You have to use the domain name of the server hosting SFS.
Before trying to connect with your client to SFS, make sure your computer can reach the server with a ping and a telnet connection.
Yup, ping works fine from the computer sharing the internet.
Domain name? You mean the Public DNS assigned to the EC2 instance? (I'm using AWS EC2)
Yes, I suppose it's the public DNS. Can you ping it and telnet to it from the Test client? (see the Test 3 diagram)
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: IPv6 support
Bax wrote:weberekt wrote:Bax wrote:You have to use the domain name of the server hosting SFS.
Before trying to connect with your client to SFS, make sure your computer can reach the server with a ping and a telnet connection.
Yup, ping works fine from the computer sharing the internet.
Domain name? You mean the Public DNS assigned to the EC2 instance? (I'm using AWS EC2)
Yes, I suppose it's the public DNS. Can you ping it and telnet to it from the Test client? (see the Test 3 diagram)
Okay I see, I'll try tomorrow when I'm back in the office.
Will ping work? Since Ipad is on Ipv6-only network, shouldn't it use ping6?
Re: IPv6 support
weberekt wrote:Will ping work? Since Ipad is on Ipv6-only network, shouldn't it use ping6?
I don't think so, because you are pinging a server with an IPv4 address.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: IPv6 support
Bax wrote:weberekt wrote:Will ping work? Since Ipad is on Ipv6-only network, shouldn't it use ping6?
I don't think so, because you are pinging a server with an IPv4 address.
Okay I made some progress today.. but with helps of other apps.
My test client is Ipad. I downloaded this app from AppStore:
https://itunes.apple.com/us/app/ping-ne ... d576773404
It pings to my public DNS successfully and returns a translated Ipv6 address.
I tried my app running on Ipad with public DNS, it doesn't work.
I then tried running my app using the translated Ipv6 address wrapped by square brackets... it WORKS!!!
Now.. I'm wondering.. is there something wrong with Smartfox c# client dll? It's not retrieving the translated address properly?
Re: IPv6 support
Can you please send us the connection details by email? I'd like to test this scenario. Thank you.
And a few more questions: are you developing in Unity? What if you run the application in the Editor? Same behavior?
And a few more questions: are you developing in Unity? What if you run the application in the Editor? Same behavior?
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: IPv6 support
Bax wrote:Can you please send us the connection details by email? I'd like to test this scenario. Thank you.
And a few more questions: are you developing in Unity? What if you run the application in the Editor? Same behavior?
Sure, pm me your email? do you mean our server DNS? I need to open the ports up
Yea, we develop our client in Unity, I didn't try using desktop as client, either in editor or standalone build.
I have only tried Ipad.
Re: IPv6 support
You can write to info AT smartfoxserver DOT com.
We need IP and DNS name of your EC2 instance; if possible, please also activate the "BasicExamples" Zone, so we can also login with our test client. Thanks.
We need IP and DNS name of your EC2 instance; if possible, please also activate the "BasicExamples" Zone, so we can also login with our test client. Thanks.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: IPv6 support
Bax wrote:You can write to info AT smartfoxserver DOT com.
We need IP and DNS name of your EC2 instance; if possible, please also activate the "BasicExamples" Zone, so we can also login with our test client. Thanks.
Email sent
Re: IPv6 support
weberekt, what Unity version are you using?
I'm asking because we are experiencing the same issue in Unity 5.1.3, but everything works fine in Unity 5.3.5.
I'm asking because we are experiencing the same issue in Unity 5.1.3, but everything works fine in Unity 5.3.5.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: IPv6 support
Bax wrote:weberekt, what Unity version are you using?
I'm asking because we are experiencing the same issue in Unity 5.1.3, but everything works fine in Unity 5.3.5.
I was using 4.7.1
I upgraded it to 4.7.2 today and it works
Thanks for the helps
-
- Posts: 4
- Joined: 11 Nov 2016, 15:22
Re: IPv6 support
Hello,
I tested my client application with SFS 2X 2.11 in IPv6 network as described in Test 3 diagram. TCP connection works fine, but I have a problem with initialization of UDP protocol. Method initUDP (I use Unity C# API 1.6.6) always return false. In IPv4 network TCP and UDP work with no errors.
Step by step:
1) Client connect to SFS 2X server by TCP (use domain + port) -> Success
2) Client send LoginRequest by TCP -> Success
3) Client get SFSEvent.LOGIN event from server by TCP -> Success
4) Client init UDP (call SmartFox.InitUDP() method) -> Success
5) Client get SFSEvent.UDP_INIT event with parameter "success" == false -> Error
SFS is bound to an IPv4 address
Where is the mistake?
Thanks for your help.
I tested my client application with SFS 2X 2.11 in IPv6 network as described in Test 3 diagram. TCP connection works fine, but I have a problem with initialization of UDP protocol. Method initUDP (I use Unity C# API 1.6.6) always return false. In IPv4 network TCP and UDP work with no errors.
Step by step:
1) Client connect to SFS 2X server by TCP (use domain + port) -> Success
2) Client send LoginRequest by TCP -> Success
3) Client get SFSEvent.LOGIN event from server by TCP -> Success
4) Client init UDP (call SmartFox.InitUDP() method) -> Success
5) Client get SFSEvent.UDP_INIT event with parameter "success" == false -> Error
SFS is bound to an IPv4 address
Code: Select all
<socketAddresses>
<socket address="46.229.166.158" port="9934" type="TCP"/>
<socket address="46.229.166.158" port="9934" type="UDP"/>
</socketAddresses>
Where is the mistake?
Thanks for your help.
Re: IPv6 support
I don't think you are making any mistake. What specific version of Unity are you using? (for example 5.3.5f1)
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
- Posts: 4
- Joined: 11 Nov 2016, 15:22
Re: IPv6 support
Bax wrote:I don't think you are making any mistake. What specific version of Unity are you using? (for example 5.3.5f1)
We are using Unity 5.4.2f2 (client C# API 1.6.6). Also I use client in Java (Java API 1.7.0) for debug and testing our game API. Java client also works fine in TCP network, but doesn't init UDP protocol.
Who is online
Users browsing this forum: No registered users and 94 guests