As a note, from a remote machine, this command worked curl -v
http://111.222.333.444:8098/riak/test and returned the expected
output.


* About to connect() to 111.222.333.444 port 8098 (#0)
*   Trying 111.222.333.444... connected
* Connected to 111.222.333.444 (111.222.333.444) port 8098 (#0)
> GET /riak/test HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o 
> zlib/1.2.3.4 libidn/1.18
> Host: 111.222.333.444:8098
> Accept: */*
>
< HTTP/1.1 200 OK
< Vary: Accept-Encoding
< Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue)
< Date: Fri, 27 Jul 2012 03:58:22 GMT
< Content-Type: application/json
< Content-Length: 422
<
* Connection #0 to host 111.222.333.444 left intact
* Closing connection #0
{"props":{"name":"test","allow_mult":false,"basic_quorum":false,"big_vclock":50,"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"dw":"quorum","last_write_wins":false,"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"n_val":3,"notfound_ok":true,"old_vclock":86400,"postcommit":[],"pr":0,"precommit":[],"pw":0,"r":"quorum","rw":"quorum","small_vclock":50,"w":"quorum","young_vclock":20}}





On Fri, Jul 27, 2012 at 11:40 AM, David Montgomery
<davidmontgom...@gmail.com> wrote:
> Hi,
>
> I have one node installed on my cloud provider and tried to remote
> write using a python client but I get a connection failure.
>
> On the riak node:
>
> riak-admin status | grep ring_members
> ring_members : ['r...@xxx.xxx.xxx.xxx]
>
> service riak ping
> Attempting to restart script through sudo -u riak
> pong
>
> So, I did update the vm.args and app.config with the nodes ip address,
> restarted and set the seed as a ring member.
>
> Services are running.  I can also telnet into other open ports e.g.
> 22.  I have all ports open to the appropriate servers..
>
> I am also able to write when using localhost to a bucket on the node.
> I just cant use a remote client.
>
> Is there a step I missed with being able to remote write?
>
> On the riak node, this works:
> client = 
> riak.RiakClient(host='127.0.0.1',port=8087,transport_class=riak.transports.pbc.RiakPbcTransport)
>
> This does not work when I write to a bucket on the riak node or any other 
> node:
> client = 
> riak.RiakClient(host='111.222.333.444',port=8087,transport_class=riak.transports.pbc.RiakPbcTransport)

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to