2010-11-22 67 views
0

我主持我的下载在GitHub上,为了救我自己的服务器上的带宽,但是当旌宇更新尝试从GitHub下载更新时,出现错误:使用旌宇更新与下载托管在GitHub上

Sparkle Error (continued): The operation couldn’t be completed. (NSURLErrorDomain error -1100.) 

我想通了,这是由于从GitHub证书不匹配的,因为你可以从这个试图使用wget来从GitHub下载我的应用程序,请参阅:

$ wget http://github.com/downloads/chetan51/sidestep/Sidestep%20v0.2.1.zip 
--2010-11-21 16:29:26-- http://github.com/downloads/chetan51/sidestep/Sidestep%20v0.2.1.zip 
Resolving github.com... 207.97.227.239 
Connecting to github.com|207.97.227.239|:80... connected. 
HTTP request sent, awaiting response... 301 Moved Permanently 
Location: https://github.com/downloads/chetan51/sidestep/Sidestep%20v0.2.1.zip [following] 
--2010-11-21 16:29:27-- https://github.com/downloads/chetan51/sidestep/Sidestep%20v0.2.1.zip 
Connecting to github.com|207.97.227.239|:443... connected. 
ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'. 
To connect to github.com insecurely, use `--no-check-certificate'. 
Unable to establish SSL connection. 

是否有这个问题的任何变通办法?

回答

1

我怀疑你实际上没有达到证书错误的程度。本周末我有一个类似的错误,并发现Sparkle(错误地)执行附件URL的%转义。如果将%20更改为纯文本格式,则可能会得到一个不同的错误,指出您认为自己遇到的问题。

不是很有帮助,我知道。

+0

是的,就是这样。我将%20更改为一个空格,并且工作正常。谢谢! – Chetan 2010-11-22 23:54:57

相关问题