我在GitHub上托管我的下载,以节省自己服务器上的带宽,但是当Sparkle updater尝试从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.
有解决这个问题的办法吗?