Author

Topic: Upgraded to 0.12 now RPC calls giving 401 Unauthorized (Read 1882 times)

legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k

Hmm. I just did a git clone. I thought it would be the latest stable release (I'm not that familiar with git).
The current matter branch, which is what you cloned, is now for 0.13. 0.12 is not in its own branch but it isn't stable yet. It just has feature freeze. The latest stable would be in the 0.11 branch with the v0.11.2 tag.

It would explain why I couldn't find any release notes Cheesy

For sure!  ;-)

Hopefully this doesn't indicate a bug in 0.12.

Possibly they are just enforcing the rpcallowip option if they haven't before. Though localhost might be enabled by default and it may indeed be a bug *shrug*

Edit: Hmm, looks like rpcallowip is only for unauthenticated RPC connections? Oh well, I'm sure they'll sort it out before release. Quite possibly they're doing something clever like encrypting the rpcpassword.

I did notice they're letting the useragent comment be specified by an option which could make things interesting.
legendary
Activity: 4228
Merit: 1313

Hmm. I just did a git clone. I thought it would be the latest stable release (I'm not that familiar with git).
The current matter branch, which is what you cloned, is now for 0.13. 0.12 is not in its own branch but it isn't stable yet. It just has feature freeze. The latest stable would be in the 0.11 branch with the v0.11.2 tag.

It would explain why I couldn't find any release notes Cheesy

For sure!  ;-)

Hopefully this doesn't indicate a bug in 0.12.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k

Hmm. I just did a git clone. I thought it would be the latest stable release (I'm not that familiar with git).
The current matter branch, which is what you cloned, is now for 0.13. 0.12 is not in its own branch but it isn't stable yet. It just has feature freeze. The latest stable would be in the 0.11 branch with the v0.11.2 tag.

It would explain why I couldn't find any release notes Cheesy
staff
Activity: 3458
Merit: 6793
Just writing some code

Hmm. I just did a git clone. I thought it would be the latest stable release (I'm not that familiar with git).
The current matter branch, which is what you cloned, is now for 0.13. 0.12 is not in its own branch but it isn't stable yet. It just has feature freeze. The latest stable would be in the 0.11 branch with the v0.11.2 tag.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
I'll give that a try. Thanks.
legendary
Activity: 4228
Merit: 1313
Wait, 0.12 is already out? I've just tried going into Bitcoin.org and the version availible to download is still 0.11.2 so im pretty confused... also in the "News" section above in this forum it still says Bitcoin Core: 0.11.2? Are you talking about some sort of RC version? (release candidate)

If he is running 0.12, he is running a beta - could be part of the issues.  


0.12.0 is hoped for by Feb 1, 2016.

https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-September/011182.html

Hmm. I just did a git clone. I thought it would be the latest stable release (I'm not that familiar with git).


Something like should get a particular branch to be sure which one you are on if you don't want to be running bleeding edge:
git clone -b

e.g.
git clone -b v0.11.2  https://github.com/bitcoin/bitcoin

or to update:

cd bitcoin
git pull
git checkout v.0.11.2

legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Wait, 0.12 is already out? I've just tried going into Bitcoin.org and the version availible to download is still 0.11.2 so im pretty confused... also in the "News" section above in this forum it still says Bitcoin Core: 0.11.2? Are you talking about some sort of RC version? (release candidate)

If he is running 0.12, he is running a beta - could be part of the issues.  


0.12.0 is hoped for by Feb 1, 2016.

https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-September/011182.html

Hmm. I just did a git clone. I thought it would be the latest stable release (I'm not that familiar with git).
legendary
Activity: 4228
Merit: 1313
Wait, 0.12 is already out? I've just tried going into Bitcoin.org and the version availible to download is still 0.11.2 so im pretty confused... also in the "News" section above in this forum it still says Bitcoin Core: 0.11.2? Are you talking about some sort of RC version? (release candidate)

If he is running 0.12, he is running a beta - could be part of the issues. 


0.12.0 is hoped for by Feb 1, 2016.

https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-September/011182.html
hero member
Activity: 770
Merit: 509
Wait, 0.12 is already out? I've just tried going into Bitcoin.org and the version availible to download is still 0.11.2 so im pretty confused... also in the "News" section above in this forum it still says Bitcoin Core: 0.11.2? Are you talking about some sort of RC version? (release candidate)
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
There shouldn't be anything that is causing this. I don't think there were any changes to the RPC server for 0.12.

I haven't had chance to check yet but I believe it may be the rpcallowip option. I didn't need this in the version I was running previously but I suspect I do now.
sr. member
Activity: 268
Merit: 258
There shouldn't be anything that is causing this. I don't think there were any changes to the RPC server for 0.12.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
0.12 of what software? Bitcoin Core?

Sorry, yes. 0.12.0
staff
Activity: 3458
Merit: 6793
Just writing some code
0.12 of what software? Bitcoin Core?
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Have RPC calls (or how the username/password are specified) changed? This was working fine until the upgrade.
Jump to: