Bitcoin Forum
May 05, 2024, 11:58:49 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Upgraded to 0.12 now RPC calls giving 401 Unauthorized  (Read 1867 times)
Richy_T (OP)
Legendary
*
Offline Offline

Activity: 2436
Merit: 2119


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 19, 2015, 05:10:50 PM
 #1

Have RPC calls (or how the username/password are specified) changed? This was working fine until the upgrade.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
1714910329
Hero Member
*
Offline Offline

Posts: 1714910329

View Profile Personal Message (Offline)

Ignore
1714910329
Reply with quote  #2

1714910329
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714910329
Hero Member
*
Offline Offline

Posts: 1714910329

View Profile Personal Message (Offline)

Ignore
1714910329
Reply with quote  #2

1714910329
Report to moderator
1714910329
Hero Member
*
Offline Offline

Posts: 1714910329

View Profile Personal Message (Offline)

Ignore
1714910329
Reply with quote  #2

1714910329
Report to moderator
1714910329
Hero Member
*
Offline Offline

Posts: 1714910329

View Profile Personal Message (Offline)

Ignore
1714910329
Reply with quote  #2

1714910329
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
December 19, 2015, 05:22:11 PM
 #2

0.12 of what software? Bitcoin Core?

Richy_T (OP)
Legendary
*
Offline Offline

Activity: 2436
Merit: 2119


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 19, 2015, 09:23:45 PM
 #3

0.12 of what software? Bitcoin Core?

Sorry, yes. 0.12.0

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
achow101_alt
Sr. Member
****
Offline Offline

Activity: 268
Merit: 250


View Profile
December 21, 2015, 01:27:39 AM
 #4

There shouldn't be anything that is causing this. I don't think there were any changes to the RPC server for 0.12.

Tip Me!: 1AQx99s7q1wVinbgXbA48BaZQVWpHe5gYM | My PGP Key: Fingerprint 0x17565732E08E5E41
Richy_T (OP)
Legendary
*
Offline Offline

Activity: 2436
Merit: 2119


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 22, 2015, 05:22:28 PM
 #5

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.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
AtheistAKASaneBrain
Hero Member
*****
Offline Offline

Activity: 770
Merit: 509


View Profile
December 22, 2015, 06:17:30 PM
 #6

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)
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1299


View Profile
December 22, 2015, 06:32:08 PM
 #7

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
Richy_T (OP)
Legendary
*
Offline Offline

Activity: 2436
Merit: 2119


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 22, 2015, 06:49:22 PM
 #8

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).

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1299


View Profile
December 22, 2015, 06:56:53 PM
 #9

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 <branch> <remote_repo>

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

Richy_T (OP)
Legendary
*
Offline Offline

Activity: 2436
Merit: 2119


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 22, 2015, 06:59:23 PM
 #10

I'll give that a try. Thanks.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
December 22, 2015, 07:33:27 PM
 #11


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.

Richy_T (OP)
Legendary
*
Offline Offline

Activity: 2436
Merit: 2119


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 22, 2015, 08:21:31 PM
 #12


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

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1299


View Profile
December 22, 2015, 08:41:27 PM
 #13


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.
Richy_T (OP)
Legendary
*
Offline Offline

Activity: 2436
Merit: 2119


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 22, 2015, 09:24:43 PM
 #14


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.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!