Alt, here is my setup. I'm wondering if it's an iptables issue. I'm going to keep poking at it but if anything jumps out let me know.
BitSharesX setup:
{
"rpc": {
"enable": true,
"rpc_user": "test",
"rpc_password": "testy",
"rpc_endpoint": "127.0.0.1:0",
"httpd_endpoint": "127.0.0.1:1579",
"htdocs": "./htdocs"
}
btsxfeed setup:
{
"bts_rpc": {
"url": "127.0.0.1:1579",
"username": "test",
"password": "testy"
},
"asset_list_display": ["CNY", "USD", "BTC"],
"delegate_list": ["riverhead-del-server-1"]
}
netstat:
netstat -nlp | grep bitshares
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:40544 0.0.0.0:* LISTEN 10892/bitshares_cli
tcp 0 0 127.0.0.1:1578 0.0.0.0:* LISTEN 10892/bitshares_cli
tcp 0 0 127.0.0.1:1579 0.0.0.0:* LISTEN 10892/bitshares_cli
btsx_feed_auto.py output
./btsx_feed_auto.py BTC CNY USD
Fetch: rate usd/cny 6.1433
Fetch: rate xau/cny 7895.0625
================= 20140829T063459 ==================
Warning: unknown error
Warning: unknown error
Fetch: CNY [0.1466, 0.14959] ,ave: 0.148095 ,change: 100.0 %
Warnning: Can't connect to rpc server, retry 5 seconds later
Warnning: Can't connect to rpc server, retry 5 seconds later
^CTraceback (most recent call last):
File "./btsx_feed_auto.py", line 144, in <module>
fetch_price()
File "./btsx_feed_auto.py", line 130, in fetch_price
update_feed(price_average[asset], asset)
File "./btsx_feed_auto.py", line 105, in update_feed
time.sleep(5)
KeyboardInterrupt