-
Notifications
You must be signed in to change notification settings - Fork 4
Got error "Couldn't make an API call.", how can i pass the authenticating. #1
Description
I tried to visit http://127.0.0.1:8888, but got "500: Internal Server Error"
HTTPRequest(protocol='http', host='127.0.0.1:8888', method='GET', uri='/', version='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Connection': 'keep-alive', 'Accept-Language': 'zh-cn', 'Accept-Encoding': 'gzip, deflate', 'Host': '127.0.0.1:8888', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2'})
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/tornado-2.3-py2.7.egg/tornado/web.py", line 1021, in _execute
getattr(self, self.request.method.lower())(_args, *_kwargs)
File "/Library/Python/2.7/site-packages/tornado-2.3-py2.7.egg/tornado/web.py", line 1783, in wrapper
url = self.get_login_url()
File "/Library/Python/2.7/site-packages/tornado-2.3-py2.7.egg/tornado/web.py", line 848, in get_login_url
self.require_setting("login_url", "@tornado.web.authenticated")
File "/Library/Python/2.7/site-packages/tornado-2.3-py2.7.egg/tornado/web.py", line 977, in require_setting
"application to use %s" % (name, feature))
Exception: You must define the 'login_url' setting in your application to use @tornado.web.authenticated
[E 120610 23:23:59 web:1447] 500 GET / (127.0.0.1) 11.08ms
then I tried to connect ftp with "user" as user name and "12345" as password. that i got error "Token does not belong to this app"
[]127.0.0.1:57991 Connected.
127.0.0.1:57991 ==> 220 pyftpdlib 0.7.0 ready.
127.0.0.1:57991 <== USER user
127.0.0.1:57991 ==> 331 Username ok, send password.
127.0.0.1:57991 <== PASS ******
127.0.0.1:57991 ==> 230 Login successful.
Initializing dropbox
Done with initialization
Couldn't make an API call. Try reauthenticating.
127.0.0.1:57991 <== SYST
127.0.0.1:57991 ==> 215 UNIX Type: L8
127.0.0.1:57991 <== PWD
127.0.0.1:57991 ==> 257 "/" is the current directory.
127.0.0.1:57991 <== TYPE I
127.0.0.1:57991 ==> 200 Type set to: Binary.
127.0.0.1:57991 <== PASV
127.0.0.1:57991 ==> 227 Entering passive mode (127,0,0,1,226,137).
127.0.0.1:57991 <== CWD /
127.0.0.1:57991 ==> 250 "/" is the current directory.
127.0.0.1:57991 <== LIST
127.0.0.1:57991 ==> 550 [403] u'Token does not belong to this app.'.