graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03414
Re: [Question #213436]: http post interface for graphite / carbon
Question #213436 on Graphite changed:
https://answers.launchpad.net/graphite/+question/213436
a gave more information on the question:
wget -v 'http://localhost:5000/upload' --post-
data="data=server.test.hardcore_part2 123 1352458833"
sudo python trial.py
* Running on http://127.0.0.1:5000/
* Restarting with reloader
127.0.0.1 - - [09/Nov/2012 04:16:17] "POST /upload HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1701, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1689, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1687, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1360, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1358, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1344, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/ach/python-scripts/trial.py", line 18, in upload
s.connect((HOST,PORT))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused
sudo netstat -tulpn | grep 2003
tcp 0 0 0.0.0.0:2003 0.0.0.0:* LISTEN 4564/python
any clue?
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.