使用Parse.com的IPv6支持 [英] IPv6 support using Parse.com

查看:386
本文介绍了使用Parse.com的IPv6支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用今天因为不支持IPv6"而被拒绝.我已经附上了他们收到的来自Parse.com API调用的错误的屏幕截图.

My app was rejected today due to 'not supporting IPv6'. I've attached screenshots of the error they received which comes from a Parse.com API call.

我真的可以为此提供一些帮助,因为我不知道从哪里开始.

I could really use some help on this, as I have no clue where to start with this.

有人知道Parse.com是否支持IPv6吗?还是我需要在代码中添加一些内容?我需要迁移到Parse Server吗?

Does anyone know if Parse.com supports IPv6? Or do I need to add something to my code? Do I need to migrate to Parse Server?

请帮助= \

----编辑---- 9/22/16 好的,因此,由于"IPv6"问题而被我第一次拒绝后,我重新提交了该应用,并批准了该应用.我仍然想了解Parse.com和Parse Server是否正式兼容IPv6,但就目前而言,我很高兴我的应用程序获得了批准.我将保持该线程打开状态,并在找到答案时对其进行编辑.

---- EDIT ---- 9/22/16 OK so, after my first rejection due to "IPv6" issues, I re-submitted and the app was approved. I'd still like to understand if Parse.com and Parse Server are officially IPv6 compatible but as for now, I'm just happy my app was approved. I'll keep this thread open and will edit it when I find the answer.

推荐答案

我在Heroku上托管了一个不支持IPv6的解析服务器(请参阅

I have a parse server hosted on Heroku which doesn't support IPv6 yet (see here). But your server is not the reason why the app is rejected. It is your app which should support IPv6.

一个可能的解决方案是从 https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/releases/tag/1.14.2 并替换旧的.我认为应该可以.

A possible solution is to download the latest Parse framework from https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/releases/tag/1.14.2 and replace the old ones. I think it should work.

下面是我与具有两个不同版本的Parse框架的应用程序控制台中的日志的比较.

Below is my comparison with the logs in the console for my app with the two different versions of Parse framework.

  1. 我从2016年2月开始在我的Apple TV应用程序中使用了Parse.framework和Bolts.framework,并且由于不支持IPv6而被拒绝.我查看了日志,发现了

  1. I have used Parse.framework and Bolts.framework from Feb 2016 in my Apple TV app and also just got rejected also for not supporting IPv6. I checked the log and found that

nw_resolver_start_crazy_eyeballs_timer首先收到IPv4结果,表现出疯狂的眼球:在IPv6上等待 50ms 来等待myapp.herokuapp.com:0.

nw_resolver_start_crazy_eyeballs_timer Received IPv4 result first, performing crazy eyeballs: waiting 50ms on IPv6 for myapp.herokuapp.com:0.

__ nw_resolver_start_crazy_eyeballs_timer_block_invoke触发了疯狂的眼球计时器:没有及时收到IPv6,仅报告了myapp.herokuapp.com:0的IPv4结果

__nw_resolver_start_crazy_eyeballs_timer_block_invoke Crazy eyeballs timer fired: did not receive IPv6 in time, reporting only IPv4 result for myapp.herokuapp.com:0

nw_resolver_cancel_crazy_eyeballs_timer取消myapp.herokuapp.com的疯狂眼球计时器".

nw_resolver_cancel_crazy_eyeballs_timer Cancelling crazy eyeballs timer for myapp.herokuapp.com".

似乎性能问题来自应用程序加载后的50毫秒.

It seems the performance issue comes from the 50ms when the app loads.

我使用最新的Parse框架,没有出现"crazy_eyeballs_timer".该日志似乎更有希望,因为我现在可以在日志中看到IPv6地址.

I use the latest Parse framework and no "crazy_eyeballs_timer" shows up. The log seems more promising because I can see a IPv6 address in the log now.

nw_resolver_create_dns_service_on_queue启动主机分辨率myapp.herokuapp.com:0,标记为0x4000d000

nw_resolver_create_dns_service_on_queue Starting host resolution myapp.herokuapp.com:0, flags 0x4000d000

nw_resolver_host_resolve_callback标志= 0x3,如果index = 0错误= NoSuchRecord(-65554)主机名= myapp.herokuapp.com. addr = 0.0.0.0:0 ttl = 60

nw_resolver_host_resolve_callback flags=0x3 ifindex=0 error=NoSuchRecord(-65554) hostname=myapp.herokuapp.com. addr=0.0.0.0:0 ttl=60

nw_resolver_host_resolve_callback标志= 0x2,如果index = 0 error = NoError(0)主机名= us-east-1-a.route.herokuapp.com. addr = 88:ffff :: bbbb:afb9.0 ttl = 74

nw_resolver_host_resolve_callback flags=0x2 ifindex=0 error=NoError(0) hostname=us-east-1-a.route.herokuapp.com. addr=88:ffff::bbbb:afb9.0 ttl=74

出于安全原因,这里我在日志中更改了服务器的地址.

Here I changed the addr of my server in the log for security reason.

我将发送我的应用程序的新更新以供审核,我相信它应该可以工作.当它被接受时,我会发表评论:)

I will send a new update of my app to review and I believe that it should work. I will leave a comment when it gets accepted :)

这篇关于使用Parse.com的IPv6支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆