Comments (9)
electrum getconfig rpcuser - it returned empty
electrum getconfig rpcpassword - it returned empty
Note that this is due to this known bug: spesmilo/electrum#2592.
Command line return values basically do not work with the Windows binaries.
from electrum-docs.
But after setting rpcuser and rpcpassword and trying with that it should work....right?
I set rpcuser, rpcpassword and restarted the daemon
electrum setconfig rpcuser dummy
electrum setconfig rpcpassword dummy123$
now tried to connect with new set login/password, still it returns same error
Error code: 401
Message: Authentication failed (missing credentials).
Error code explanation: 401 - No permission -- see authorization schemes.
from electrum-docs.
Yes, it should work.
Are you sure the basic auth details are included in the request?
What is the full URL you are testing with?
from electrum-docs.
I am using postman to test it first.
- Using authorization tab in postman to set login / password in request.
- Raw body to send with {"jsonrpc":"2.0","id":"curltext","method":"getbalance","params":[]}
- Url is set to "http://localhost:7777"
In response, I am getting above mentioned error.
You can have a look at uploaded confirguration screenshots at https://drive.google.com/open?id=1hs8GjjYWChh776NZAETZ8nfeSPAdhL28
from electrum-docs.
I have never used postman. Can you try with an URL that contains the basic auth details in it directly, as in the docs? E.g.:
http://username:[email protected]:7777
from electrum-docs.
I am getting same error
from electrum-docs.
Please help....I am stuck
from electrum-docs.
Previously request was not going through as "sending username:pasword in url capability was removed from Chrome 19+" and I was using chrome.
Now I tried with postman.
I am able to send request to electrum server now, but getting following error now:
{
"id": "curltext",
"jsonrpc": "2.0",
"error": {
"code": -32603,
"message": "Server error: File "electrum\commands.py", line 93, in func_wrapper | Exception: wallet not loaded. Use 'electrum daemon load_wallet'\n"
}
}
I tried running mentioned command "electrum daemon load_wallet" as well, but still getting same error.
from electrum-docs.
you can close this issue now.
I have used this method to load wallet and things are working now for me
curl --data-binary '{"id":"curltext","method":"daemon","params":{"config_options":{"subcommand":"load_wallet", "wallet_path":"/home/user/.electrum/testnet/wallets/default_wallet", "password":"1234"}}}' http://user:[email protected]:7777
from electrum-docs.
Related Issues (20)
- Readthedocs needs rebuilding HOT 1
- Tor option suddenly disappeared HOT 2
- What's wrong with Electrum-Merchant HOT 4
- facing problem in working with rpc HOT 4
- Where I can find payto / send rpc request format in doc HOT 1
- can I fix fee while sending money? HOT 1
- expand documentation about seed format (electrum mnemonic words), detail specific version numbers HOT 1
- Please allow Tor users to access Electrum docs HOT 3
- still cant send bc HOT 1
- (suggestion) self host docs at docs.electrum.org HOT 1
- Run Daemon from python script
- Tor docs becoming outdated
- " load_wallet -w" not working in Linux
- . HOT 1
- . HOT 1
- .
- .
- Please make some Lightning documentation
- Multisig Issue: No need for 2 Multisig Wallets HOT 2
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 electrum-docs.