解析云代码部署错误

时间:2014-10-28 20:50:03

标签: parse-platform

我正在尝试部署我的解析云代码,但由于某种原因我收到错误Error talking to the Parse servers; please try again.我在部署解析云代码之前从未遇到过这个问题,而且我不知道它会在哪里来自。我在云目录中只有一个云代码文件main.js。

有谁知道为什么我会收到此错误?

修改

这实际上发生在我尝试运行解析命令的任何时候......仍然不知道为什么。

编辑2

运行解析更新我收到错误:

Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/parse/__main__.py", line 6, in <module>
  File "/usr/local/bin/parse/main.py", line 708, in main
  File "/usr/local/bin/parse/main.py", line 511, in handle_update
  File "/usr/local/bin/parse/main.py", line 20, in download_and_save
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 427, in _open
    'unknown_open', req)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1247, in unknown_open
    raise URLError('unknown url type: %s' % type)
urllib2.URLError: <urlopen error unknown url type: https>

1 个答案:

答案 0 :(得分:1)

通过(在Mac OSX上)运行

解决了这个问题
brew reinstall python
brew install openssl

根据此处的建议https://groups.google.com/forum/#!topic/parse-developers/CuhagsCapOw