Comments (7)
You're right, it's critical. I ran into it as well and will be fixing this in the new branch. Hopefully ready this week or next one.
from riak-js.
Fixed in 0.3.0beta - you should get that in an err (note the changes in the API):
db.save(type, key, data, options, function(err, data, meta) {
if (err) throw err; else console.dir(data)
})
from riak-js.
Where can I get this beta? Current being pulling is 0.2.3 i believe (HISTORY.md says so).
I noticed API changes in this version, but still i get:
GET /riak/clientinfo/testagent
Error: Error: ECONNREFUSED, Connection refused
and no callback being called.
from riak-js.
That is strange. How did you install?
The most accurate way to check for a version number is in the package.json. HISTORY.md does not have 0.3.0 as it hasn't yet been released (this is a beta).
What is the code you're using to do that GET, and if you do curl -i localhost:8098/riak/clientinfo/testagent
you get your data back?
from riak-js.
I install by just pulling sources from git and adding directory with lib to NODE_PATH.
Yes, seems like i have 0.3.0beta according to package.json.
curl -i localhost:8098/riak/clientinfo/testagent
curl: (7) couldn't connect to host
return is fine, riak is currently down, but no callback being fired about that and my code just hangs with console output from last message.
Lib works fine when riak is up :)
from riak-js.
Ah I'm very sorry! It was my bug, callback is being fired.
I'm terribly sorry!
from riak-js.
Ok, no worries :)
from riak-js.
Related Issues (20)
- documentation is oversimplified and not really useful HOT 8
- Can't get pooling to work HOT 7
- How to perform "range with terms" queries on 2i
- Bug running on node 0.10.x HOT 4
- db.save not saving custom headers
- riakjs.com is confusing
- New low-level streaming protobuf Riak client
- Link Two Keys in a bucket - Loosing the values for the keys
- Riak Secondary Indexes
- Saving meta with an arobase in a 2i key throws an error
- Support for counters?
- Support for Riak 2.0 ? HOT 1
- Riak 2i for protobuf
- Riak 2.0? HOT 14
- Fails to install under 0.11 due to dependency failure (wtf8)
- riak-js.org Site temporarily disabled HOT 4
- 1.0.0 dropped support for getClient(), which is still used in docs HOT 1
- Basic connection fails with node v0.10.35 & riak-js 1.0.3 HOT 2
- No method getClient HOT 2
- Cannot call method 'toString' of undefined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riak-js.