关于https的Error:Error Domain=NSURLErrorDomain Code=-1012
2016-02-22 10:26
513 查看
昨天闲着没事就随便搞点demo,随便找了一个https的接口,运行之后,一直发现Error Domain=NSURLErrorDomain Code=-1012。好奇怪,请求https的配置我基本都配置了。
![](https://oscdn.geek-share.com/Uploads/Images/Content/201602/575039855df1c647d8271b08e4cd4bdf.png)
allow 也设置了
![](https://oscdn.geek-share.com/Uploads/Images/Content/201602/46bcfd4e0b5424b4975c366665f171cd.png)
display name 也设置 了。
但是还是一直 报这个错误。 上网查了一下资料,修改了一些东西 后来可以了。
![](https://oscdn.geek-share.com/Uploads/Images/Content/201602/575039855df1c647d8271b08e4cd4bdf.png)
allow 也设置了
![](https://oscdn.geek-share.com/Uploads/Images/Content/201602/46bcfd4e0b5424b4975c366665f171cd.png)
display name 也设置 了。
但是还是一直 报这个错误。 上网查了一下资料,修改了一些东西 后来可以了。
![](https://oscdn.geek-share.com/Uploads/Images/Content/201602/edda6d0a7ec5c7159388b289d3415fd7.png)
相关文章推荐
- 【Winform】 无法将类型为“System.Windows.Forms.SplitContainer”的对象强制转换为类型“System.ComponentModel.ISupportInitialize”。
- 《Batch Normalization Accelerating Deep Network Training by Reducing Internal Covariate Shift》阅读笔记与实现
- caffe: train error: Serializing 25 layers--- Check failed: proto.SerializeToOstream(&output)
- 使用canvas与Paint在View中居中绘制文字
- Atitit.5gl 第五代语言编程语言 PROLOG教程 人工智能语言的标准 与实现
- Atitit.5gl 第五代语言编程语言 PROLOG教程 人工智能语言的标准 与实现
- Atitit.5gl 第五代语言编程语言 PROLOG教程 人工智能语言的标准 与实现
- background-size: contain 与cover的区别,以及ie78的兼容写法
- rails生产环境 secret_key_base问题
- Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1问题总结及解决方案
- ADG switchover and failover 、三种模式的切换
- golang--sync.WaitGroup使用示例
- find . -name file -exec echo abc > {} \; fail
- ICPCCamp 2016 Day1 ftiasch's Contest #4(All Pair Shortest Path-位运算)
- Conversion to Dalvik format failed with error 1
- HDU 1021 Fibonacci Again
- 集训队专题(6)1001 Air Raid
- cvWaitKey
- 严重: ContainerBase.addChild: start:
- 结合使用saiku、mondrian workbentch建立多维查询报表