Comments (2)
I tried to run the following to persist the profile data:
blockstore-cli update theblockchain.id "$(cat ~/theblockchain.json)" "$(cat ~/theblockchain.key)" 91cb40ea52ded01b3de02a9fb385231e815f0c955c7735a404b00219005b9792
[ERROR] [storage:314] (3484) timed out
Traceback (most recent call last):
File "/srv/blockstore-venv/local/lib/python2.7/site-packages/blockstore_client/storage.py", line 312, in get_immutable_data
data = handler.get_immutable_handler( data_key )
File "/srv/blockstore-venv/local/lib/python2.7/site-packages/blockstore_client/drivers/dht.py", line 151, in get_immutable_handler
return dht_get_key(key)
File "/srv/blockstore-venv/local/lib/python2.7/site-packages/blockstore_client/drivers/dht.py", line 101, in dht_get_key
ret = dht_server.get( data_key )
File "/srv/blockstore-venv/local/lib/python2.7/site-packages/basicrpc/basicrpc.py", line 46, in default
return self.request()
File "/srv/blockstore-venv/local/lib/python2.7/site-packages/basicrpc/basicrpc.py", line 82, in request
c = self.sock.recv(1)
timeout: timed out
[ERROR] [client:284] (3484) Failed to load user record '312afaf6f3cd6c45109b3fcccf200ef65b0d17eb'
{
"error": "User data could not be loaded from storage"
}
Temporarily commenting out lines 843 to 849
https://github.com/blockstack/blockstore-client/blob/master/blockstore_client/client.py#L843
and running the command again successfully persisted the user data in the dht.
blockstore-cli update theblockchain.id "$(cat ~/theblockchain.json)" "$(cat ~/theblockchain.key)" 91cb40ea52ded01b3de02a9fb385231e815f0c955c7735a404b00219005b9792
{
"status": true,
"transaction_hash": "91cb40ea52ded01b3de02a9fb385231e815f0c955c7735a404b00219005b9792",
"value_hash": "312afaf6f3cd6c45109b3fcccf200ef65b0d17eb"
}
I started up another dht node on another machine and confirmed the data is accessible.
from stacks.js.
This has been resolved in latest version. Please checkout the latest version of the client and cli!
from stacks.js.
Related Issues (20)
- Improve Error Messages around Fee Estimation HOT 2
- Feature Request: Generate Bitcoin Address in wallet-sdk
- serialize methods should always output string, and add Bytes/Raw version of methods used internally
- new bufferCV bug HOT 1
- React Native: Environment does not have randomBytes function HOT 2
- Feature request: stacking helper function for `verify-signer-key-sig`
- Fix ABI buffer encoding
- `bigint` arguments HOT 4
- Rename pox address helpers HOT 1
- Proper Documentation and Easy example for beginners on Bitcoin Stacks HOT 1
- Remove `logger` code and replace with `console.` HOT 1
- @stacks/cli using deprecated module `punycode`
- Support OrderIndependentMultisigSpendingCondition in stacks.js
- Add private module to monorepo for testing helpers
- Add order-independent multisig implementation HOT 1
- Rebuild CLI
- SPIKE: Docs-first refactor [3 days]
- API key header name doesn't match documented header name HOT 1
- Docs-first Refactor
- Support for Post Conditions with PrinicipalID type `Origin`
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 stacks.js.