question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please ensure you have given all the following requested information in your report.

Issue details

I have just submitted our game to Apple for reviewing. They have rejected our game because of IPv6. This is their reply: “We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.0.1 on Wi-Fi connected to an IPv6 network.We found the app displays an error message upon launch. Please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify the issue(s), then revise and resubmit your app for review.” I want to know that does Libgdx support IPv6 ? How to implement IPv6 in my code ?

Thanks !

Version of LibGDX and/or relevant dependencies

gdxVersion = ‘1.9.4’ roboVMVersion = ‘2.2.0’ box2DLightsVersion = ‘1.4’ ashleyVersion = ‘1.7.0’ aiVersion = ‘1.8.0’

Stacktrace

//Please provide the stacktrace if applicable 

Please select the affected platforms

  • Android
  • [x ] iOS (robovm)
  • iOS (MOE)
  • HTML/GWT
  • Windows
  • Linux
  • MacOS

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
noblemastercommented, Sep 21, 2016

I see. I think I got a solution. Supplying an IPv4 address won’t work over a IPv6-ONLY network. Rather than using an IP address directly, please add a DNS entry for you server so the DNS entry maps to both IPv4 and IPv6.

Create e.g. a DNS entry such as “server01.example.com”. Then add both the IPv4 & IPv6 address (you should have both from your provider!) to that entry.

In the game, use “server01.example.com” to connect to the server! I believe that should do the trick. The network will internally use either the IPv4 or IPv6 address. You won’t need to worry about it.

1reaction
noblemastercommented, Sep 21, 2016

I am the original developer of the Gdx.net backend. Is that what you are referring to? Also, what are you exactly trying to do? Are you creating a socket connection? Are you doing an HTTP request? A code sample would go a long way too.

Generally, Java supports both IPv4 and IPv6. I assume the same will hold true for the RoboVM backend. I haven’t done any tests yet. It’s possible this needs fixing? Generally this “fix” wouldn’t have to be done on your end, but a patch would have to be added to RoboVM. If it’s necessary, I don’t think it will be too difficult but then you never know 😃

Anyhow, I have an app that I am going to update soon. It uses Gdx.net/HTTP. If I get the same error, I’ll investigate & fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IPv6 - Wikipedia
Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communications protocol that provides an identification and ......
Read more >
Test your IPv6.
This will test your browser and connection for IPv6 readiness, as well as show you your current IPv4 and IPv6 address.
Read more >
What Is IPv6? - Cisco
IPv6 is the most recent version of Internet Protocol (IP). It's designed to supply IP addressing and additional security to support the predicted...
Read more >
Internet Protocol Version 6: IPv6 for Consumers
IPv6, the next-generation protocol, provides approximately 340 undecillion IP addresses (see Figure 1), ensuring availability of new IP addresses far into ...
Read more >
World IPv6 Launch
IPV6 IS THE NEW NORMAL. Major Internet service providers (ISPs), home networking equipment manufacturers, and web companies around the world are permanently ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found