-
hcb
I asked about this last night but went to bed before someone could respond, so here's my question again:
-
hcb
Can someone help me troubleshoot Monero RPC calls with curl? I keep getting "empty reply from server".
-
hcb
Here is one of the curl commands I tried:
-
hcb
curl
127.0.0.1:8000 -H "Content-Type: application/json" -H "Accept: application/json-rpc" --data "{\"jsonrpc\": \"2.0\", \"method\":\"get_info\",\"params\":[]}" -G
-
hcb
curl responded with "curl: (52) Empty reply from server".
-
hcb
Here is the command I used to start monerod:
-
hcb
monerod.exe --rpc-bind-port 8000 --rpc-bind-ip 127.0.0.1 --data-dir=F:\monero_blockchain\ProgramData\bitmonero --rpc-login user
-
hcb
This is another command I tried:
-
hcb
monerod.exe --data-dir=F:\monero_blockchain\ProgramData\bitmonero --rpc-login user:123
-
Bill48105
i had heck of a time but I'm not at my desk to share what finally worked
-
Bill48105
btw did you turn up debug output on rpc? that's what helped me figure out what was wrong
-
hcb
Not yet. I can try that.
-
Bill48105
I'll be able to go to my desk in bit if you haven't figured it out by then
-
Bill48105
but yeah i ran into same issue. was actually multiple.
-
Bill48105
never did figure out why it refused to bind on the lan ip as expected
-
Bill48105
but got working config eventually
-
Bill48105
btw i forgot to ask if you were fully sync'd before trying to do the rpc call
-
Bill48105
looking at mine --rpc-login is format user:password looks like you have no password or did you just not paste in here
-
Bill48105
i think --log-level 1 was enough to see the errors when i tried
-
Bill48105
that's all i see different on my daemon call
-
Bill48105
the client rpc call is where i ended up with a lot of fun.. --password is for the wallet not for rpc. not recommended but if you needed it blank it's --password "" --rpc-login user:pass formwat that matches what you defined on daemon start
-
Bill48105
if for some reason you need the client rpc to login to the daemon if it won't by default you can force the params with --daemon-host ip:port --daemon-login user:pass (that matches whatever used) but don't think those are needed unless you forced them changed starting the daemon
-
Bill48105
"daemon" above is monerod where client rpc is "monero-wallet-rpc" you need both and you need to curl the rpc not the daemon..
-
Bill48105
as in use the port the rpc binary is listening on not what the daemon is listening on
-
Bill48105
ok enough rambling on my part. good luck :)
-
binaryFate
"When renting cheap GPUs, this translates to a cost of 11k US\$ for a collision, and 45k US\$ for a chosen-prefix collision"
-
binaryFate
" This proves that SHA-1 signatures now offers virtually no security in practice. The legacy branch of GnuPG still uses SHA-1 by default for identity certifications"
-
binaryFate
-
Bill48105
ouch rip sha1
-
moneromooo
params:[] seems wrong, try params:{}
-
moneromooo
hcb: ^
-
Inge-
binaryFate: that we have been heading this way for a time is nothing new -
en.wikipedia.org/wiki/Secure_Hash_Algorithms
-
s2ftester
Hi guyz
-
binaryFate
cost went down a lot
-
s2ftester
where can I reach someone from the noncesense team?
-
SerHack
Do you mean noncesense workgroup? It is #noncesense-research-lab
-
s2ftester
yezzir
-
s2ftester
thanks
-
Mochi102
Does anybody want monero.life ? I'm going to let it expire here soon but if someone from the community wants it, I will transfer it to them.
-
Inge-
I smell capitulation
-
Mochi102
No, it's just money I don't want to spend renewing something that I can't make my money back from.
-
Mochi102
Or, am too buzy/lazy/dumb to make my money back from.
-
lza_menace
no thanks
-
rottensox
-
ndorf
wow, someone hit the x9999 on minko on new year's day
-
Mochi101
$25k worth of XMR
-
ndorf
happy new year to that guy
-
ndorf
player handle "Unlucky", how perfect
-
Mochi101
yeah
-
ndorf
i bet they feel unlucky for betting only 25% of the max, though
-
SerHack
!balance
-
SerHack
.balance
-
aleggg
ndorf minko?
-
ndorf
-
aleggg
ndorf: thanks.
-
SerHack
tippero is dead :/
-
ndorf
uh
-
ndorf
funds are safu?
-
nioc
tippero ded long time
-
SerHack
nioc: rip