-
ksk
mhm no its HTTP 200. but cloudflare. mhm!
-
ndorf
hm, maybe it's curl's fault after all
-
ndorf
server seems to return HTTP/1.1 416 Requested Range Not Satisfiable, which seems like it might be correct?
-
ndorf
not sure what curl is doing with that but i'm guessing append the HTML error body to the bz2 file
-
ndorf
yep, that's it
-
ndorf
guess that leaves the question of whether 416 is correct when Range specifies exactly the length of the file, or it should be an empty 200 response instead?
-
kpcyrd
ndorf: try `curl -f`
-
kpcyrd
plus the other flags/args
-
ndorf
kpcyrd: thanks, that does keep it from corrupting the file, but now real errors (e.g. 404) are indistinguishable
-
kpcyrd
curl should exit with a non-zero exit code in that case
-
ndorf
right. but it also exits with the same error (22) for this "i already have the whole file" case
-
kpcyrd
you might be pushing the limits of shell scripting too hard on this one ;)
-
ndorf
hehe, well, i guess i could just check the hash first before running curl
-
ndorf
still though, it feels like someone's behavior is wrong here
-
kpcyrd
if the file was fully downloaded curl should've exited with a non-zero exit code already, right?
-
ndorf
not sure if it's curl or the web server
-
kpcyrd
so basically you could download foo.bin into foo.bin.part with resumption enabled, then mv foo.bin.part foo.bin if curl exits with success. At this point the script is going to notice it already has the file even if something fails later and the script is restarted
-
ndorf
nope, only with -f
-
ndorf
it returns 0 despite the 416 without it
-
kpcyrd
yeah, you almost always want -f anyway
-
kpcyrd
(above is assuming -f is set)
-
ndorf
after some googling it looks like this is in fact correct behavior on the server's part
-
ndorf
the client is supposed to know the length and not send the request if it already has it all
-
kpcyrd
I guess there's an edgecase if the connection uses chunked encoding, no Content-Length header has been sent and the connection dies after the last "real" chunk, but before the zero length chunk has been sent
-
ndorf
oof
-
ndorf
dunno why they didn't just make it return a zero length success instead
-
ndorf
oh well
-
kpcyrd
that case should be super rare though and if you're downloading something that can be resumed you most likely have a Content-Length header anyway
-
ndorf
that is true, but the simpler case of just using a stateless client to download a file is broken too
-
ndorf
back in the day http even used to call itself a stateless protocol, dunno if it still does :)
-
ndorf
wget seems to handle the 416 error better than curl, fwiw. "The file is already fully retrieved; nothing to do" and error code 0
-
kpcyrd
wget is most likely the tool you want anyway, curl is very low-level after all
-
ndorf
curl is *usually* easier for scripting
-
ndorf
not today though ;)
-
kiwi_24
I keep getting fricken proxy exception in refresh thread*
-
kiwi_24
im working in k8 and trying to spin up a handfull of wallets at the same time
-
kiwi_24
is there a way to configure the daemon to never block/deny requests? as I understand this is a primitive dos thing
-
kayront
-
azy
i always enjoy firing up tor browser to read your secret blog
-
kayront
haha
-
kayront
that's nice to hear!
-
kayront
i really enjoy not knowing who the readers are, where they come from, and contributing exactly zero analytics to google
-
kayront
just read, take something from it or don't, spread the ideas or don't
-
blue_
hi, am i dreaming again or am i drunk ? bitmonero.log propose me Version 0.15.0.1 SHA256 hash 083a3862f554a2e5157686d7a8075557dfd6f07de08069cac91017c17739750b and getmonero.org display Current Version: 0.15.0.1 SHA256 Hash (CLI): 8d61f992a7e2dbc3d753470b4928b5bb9134ea14cf6f2973ba11d1600c0ce9ad ???
-
azy
-
azy
know why im getting those non-characters?
-
azy
@ kayront
-
sech1
blue_ 8d61f99... is the correct hash as far as I remember.
-
sech1
Downloaded it a few days ago, checked hashes normally and it was 8d61f...
-
blue_
083a3862f is not my actual either ... (15.0.0) cli 64 linux
-
blue_
can you tail -f your bitmonero.org ?
-
blue_
can you tail -f your bitmonero.log ?
-
sech1
blue_ I can do it in the evening
-
dEBRUYNE
blue_: Are you using the GUI?
-
wow-discord
<sech1> 2019-11-27 00:26:13.932 [P2P0] INFO global src/cryptonote_core/cryptonote_core.cpp:1733 Version 0.15.0.1 of monero for source is available:
downloads.getmonero.org/source/monero-source-v0.15.0.1.tar.bz2, SHA256 hash 083a3862f554a2e5157686d7a8075557dfd6f07de08069cac91017c17739750b
-
wow-discord
<sech1> hmm, indeed... Hash is different
-
dEBRUYNE
There's a bug where it displays the hash of the source code
-
wow-discord
<sech1> Downloaded it and the hash is 8D61F992A7E2DBC3D753470B4928B5BB9134EA14CF6F2973BA11D1600C0CE9AD
-
dEBRUYNE
cc selsta
-
selsta
-
blue_
it is just not the same tar : monero-source-v0.15.0.1.tar.bz2 is 083a3862f554a2e5157686d7a8075557dfd6f07de08069cac91017c17739750b and monero-linux-x64-v0.15.0.1.tar.bz2 is 8d61f992a7e2dbc3d753470b4928b5bb9134ea14cf6f2973ba11d1600c0ce9ad then actually it is good
-
selsta
I fixed it for GUI at least
-
selsta
not sure if there is / was a similar CLI bug
-
Guest23325
I really feel we should really have a serious discussion about the practical possibility of creating a Monero-based Bisq. I would be all in, and maybe woodser, niyid (who made the XMR-Bisq integration that is still sitting in the Bisq "incubator") and rbrunner woud be interested too :)
-
kinghat
would that be just an xmr thing or would it be the API extensibility thing as well?
-
kinghat
maybe you CLI guys can help: ./monerod update check
-
kinghat
Error: Problem fetching info-- rpc_request:
-
kinghat
i get that on other commands as well like status
-
moneromooo
Are you running with restricted rpc ?
-
kinghat
damn, ya. here are the flags i run the daemon with: ./monerod --restricted-rpc --rpc-bind-ip=0.0.0.0 --confirm-external-bind --public-node --max-concurrency=1 --data-dir=/mnt/volume-1/monero --detach
-
moneromooo
Then that is why. The update command is restricted. As with the mining related ones.
-
moneromooo
Guest23325: feel free to discuss it.
-
moneromooo
Is "XMR-Bisq integration that is still sitting in the Bisq "incubator" implying monero support is ready but ain't getting merged ?
-
kinghat
so stop it, remove --restricted-rpc run update, add --restricted-rpc back?
-
moneromooo
Yes.
-
moneromooo
It does check every 12 hours automatically though.
-
moneromooo
And it'll log if it finds an update.
-
kinghat
it had been running for a month or so 🤷♂️
-
kinghat
heh, cant stop_daemon because of restricted-rpc 🤦♂️
-
moneromooo
:)
-
kinghat
the --rpc-bind-ip=0.0.0.0 needs restricted-rpc?
-
kinghat
lel looks like all my commands need that
-
kinghat
flags*
-
kinghat
ran with: ./monerod --max-concurrency=1 --data-dir=/mnt/volume-1/monero --detach and still get "Error: Problem fetching info-- rpc_request:" when doing: ./monerod update downloa
-
kinghat
./monerod update download*
-
bigslim[m]
So you mean instead of btc pairs it would be fully XMR pairs with xmr/fiat ?
-
dEBRUYNE
Both I think
-
Guest23325
Yes. Could be XMR/anything
-
rbrunner
Guest23325: Regarding a hypothetical Monero Bisq fork: Count me in for any multisig-related consulting should it be necessary :)
-
kinghat
is either of these flags be conflicting with the `update` commands? ./monerod --max-concurrency=1 --data-dir=/mnt/volume-1/monero --detach
-
kinghat
be
-
DareVanReed
Hello, is this a good place to talk about rx mining?
-
rottensox
-pools is better generally. post there.
-
Bill48105
/join -pools
-
Bill48105
didn't work sox