-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
what am I doing wrong
- Serving Flask app "ethpool" (lazy loading)
- Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead. - Debug mode: on
- Running on http://x.x.x.x:5000/ (Press CTRL+C to quit)
- Restarting with stat
- Debugger is active!
- Debugger PIN: X-X-X
/usr/local/lib/python2.7/dist-packages/werkzeug/filesystem.py:63: BrokenFilesystemWarning: Detected a misconfigured UNIX filesystem: Will use UTF-8 as filesystem encoding instead of 'ANSI_X3.4-1968'
BrokenFilesystemWarning)
87.123.52.128 - - [13/Aug/2018 17:50:13] "GET / HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/var/www/Ethereum-pool/ethpool.py", line 69, in index
ticker = polo.api('returnTicker')
AttributeError: 'Poloniex' object has no attribute 'api'
87.123.52.128 - - [13/Aug/2018 17:50:13] "GET /?debugger=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:50:13] "GET /?debugger=yes&cmd=resource&f=jquery.js HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:50:13] "GET /?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:50:13] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:50:14] "GET /?debugger=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
192.251.231.103 - - [13/Aug/2018 17:51:02] "POST / HTTP/1.1" 404 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=jquery.js HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET / HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/var/www/Ethereum-pool/ethpool.py", line 69, in index
ticker = polo.api('returnTicker')
AttributeError: 'Poloniex' object has no attribute 'api'
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=jquery.js HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:51:02] "GET /?debugger=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
87.123.52.128 - - [13/Aug/2018 17:55:35] "GET /?debugger=yes&tb=139678493553232&cmd=paste&s=f8G1ZySIIR2E7LFWcLo8 HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/debug/init.py", line 458, in call
response = self.paste_traceback(request, traceback)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/debug/init.py", line 348, in paste_traceback
rv = traceback.paste()
File "/usr/local/lib/python2.7/dist-packages/werkzeug/debug/tbtools.py", line 309, in paste
rv = urlopen('https://api.github.com/gists', data=data)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels