太多HTTP重定向,Google Drive,iOS SDK [英] too many HTTP redirects, Google Drive, iOS SDK

查看:949
本文介绍了太多HTTP重定向,Google Drive,iOS SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将我的iOS应用程序与 Google云端硬盘iOS API 集成在一起。但是,当下载文件时,它会抛出以下错误:

I have integrated my iOS application with the Google Drive iOS API. But while downloading files, it throws the following error:

An error occurred: Error Domain=NSURLErrorDomain Code=-1007 "too many HTTP redirects"

有没有解决方案?

Is there any solution for this?

推荐答案

这可能是由于Mac网络代码或服务器中存在问题。在出现问题时记录问题的http日志可能对诊断实际出错的问题很有帮助。请查看此论坛。它可能是应用程序与其后端之间的连接问题。

This could be due to a problem either in the Mac's networking code or in the servers. Having an http log of the problem as it occurs would likely be very helpful to diagnosing what's actually going wrong. Check this forum. It can be a connection issue between an app and its back end.

您也可以查看博客关于如何解决太多HTTP重定向错误。

You can also check this blog on how to fix "too many HTTP redirects" error.



  • 强制关闭App Store应用程序。为此,请点击主页按钮两次,点击并按住App Store应用程序图标,当它开始
    微动时,点击( - )将其关闭。

  • 打开设置> iTunes&应用程序商店并点按您的帐户名称>查看Apple ID>输入您的Apple ID密码并点击完成。退出
    设置并重新打开App Store。

  • 重新启动iOS设备

  • 重置设备(iPad,iPhone或iPod touch) ),同时按住主页按钮和睡眠/唤醒按钮约10秒钟
    ,直到您看到Apple徽标,然后再打开。

  • Force the App Store app to close. To to this, click the Home button twice, tap and hold on the App Store app icon and when it starts to jiggle, tap the (-) to close it.
  • Open Settings > iTunes & App Stores and tap your account name > View Apple ID > Enter your Apple ID password and Tap done. Quit Settings and try opening the App Store again.
  • Restart your iOS device
  • Reset your device (iPad, iPhone or iPod touch) by holding the home button and the sleep/wake button at the same time for about 10 seconds until you see the Apple logo and then turning turn back on.

希望这有助于您!

这篇关于太多HTTP重定向,Google Drive,iOS SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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