BitShares Forum

Main => Technical Support => Topic started by: libertydan on March 24, 2018, 04:07:08 am

Title: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: libertydan on March 24, 2018, 04:07:08 am
Hi,

Tried to create an account with a username of the style acct-name but got the following error message:

Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Exception: is_valid_name( name ):

the account name was liberty-academy 7 characters followed by a dash (-) and then 7 more characters for a total of 15 characters (no spaces of course).

Is this a problem because the name I chose is too long?  I know the dash is not an issue since my other account name has one.

I'd be most grateful if anyone could advise on this issue and offer a fix to it.

Cheers,

Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: xeroc on March 24, 2018, 12:41:42 pm
The error message has been thrown by the backend, not sure why it would believe it is invalid .. I have restarted the daemon, can you try again?
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: libertydan on March 25, 2018, 07:08:11 am
Wow it worked! I was now able to create the wallet account. Not sure what you did but it worked and I am very grateful to you my friend!
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: xeroc on March 25, 2018, 09:46:06 am
Wow it worked! I was now able to create the wallet account. Not sure what you did but it worked and I am very grateful to you my friend!
I restarted the faucet. Need to investigate what is causing these issues.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: abit on April 03, 2018, 04:47:23 pm
Wow it worked! I was now able to create the wallet account. Not sure what you did but it worked and I am very grateful to you my friend!
I restarted the faucet. Need to investigate what is causing these issues.
After upgraded to 2.0.180328 witness_node should have produced more logs. Please check.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: crockett83 on April 17, 2018, 09:52:50 pm
I wasn't certain if if was appropriate to create a new thread for this, but I am having the exact same issue upon registration:

Uncaptured Faucet Exception: Assert Exception: is_valid_name( name ):

First time using bitshares and was hoping to use the bitshares.org site to start - other options seem too advanced. Any help is appreciated, thank you.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: abit on April 18, 2018, 02:45:01 pm
I wasn't certain if if was appropriate to create a new thread for this, but I am having the exact same issue upon registration:

Uncaptured Faucet Exception: Assert Exception: is_valid_name( name ):

First time using bitshares and was hoping to use the bitshares.org site to start - other options seem too advanced. Any help is appreciated, thank you.
I think it's same issue.

Unfortunately even the latest version of bitshares-core doesn't provide more info at this point. (there are security concerns that not returning the input data when the data is invalid, although I'm not quite sure).

@pc please comment?
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: pc on April 18, 2018, 06:53:50 pm
There is only only place in the backend that will throw the assertion failure: https://github.com/bitshares/bitshares-core/blob/2.0.180328/libraries/chain/protocol/account.cpp#L189

The function is_valid_name is defined in the same file slightly higher up, and checks if the account name to be registered conforms to the blockchain rules. The account "liberty-academy" mentioned in the OP is acceptable. @crockett83 didn't mention what name he tried to register.

Since the OP's problem was fixed by restarting the faucet the problem needs to be analyzed there.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: viking-ventures on April 19, 2018, 01:57:06 pm
I joined just now solely because I'm having the same issue!
Is the fix at your end or at mine? I tried downloading the client as well and had the same problem.
I'm trying to sign up as viking-ventures so that I can receive the WhaleShares I won on Steemit this morning.
Thanks for your help!
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: Agent911 on April 19, 2018, 03:03:34 pm
I joined just now solely because I'm having the same issue!
Is the fix at your end or at mine? I tried downloading the client as well and had the same problem.
I'm trying to sign up as viking-ventures so that I can receive the WhaleShares I won on Steemit this morning.
Thanks for your help!

Same issue here, cannot create account. Tried for hours.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: viking-ventures on April 19, 2018, 05:29:25 pm
Never mind... someone suggested I try openledger.io - and it worked just fine.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: abit on April 20, 2018, 06:12:34 pm
@xeroc if hard to find the reason, perhaps restart the faucet periodically with a script?
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: sschiessl on April 20, 2018, 06:59:04 pm
Faucet was restated this morning. Some more error handling was implemented in the backend code with the hopes of circeling the error.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: abit on May 19, 2018, 09:17:37 am
@xeroc @sschiessl I got this when trying to create an account:

Account name in the error message is apparently not what I'm trying to register:

(https://user-images.githubusercontent.com/9946777/40267049-9ce18e52-5b56-11e8-90ab-9a40c460e2bb.png)
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: Agent725 on May 31, 2018, 09:01:58 pm
We're trying to integrate Bitshares into the Internet of Coins platform, and we're running into the same issue.
Is there a more decentralized way to register accounts than using the faucet? We'd be ready to implement.

If not, we'll wait with implementing Bitshares until this problem is resolved.

Greetings,
Agent725

https://internetofcoins.org

Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: abit on May 31, 2018, 09:10:31 pm
We're trying to integrate Bitshares into the Internet of Coins platform, and we're running into the same issue.
Is there a more decentralized way to register accounts than using the faucet? We'd be ready to implement.

If not, we'll wait with implementing Bitshares until this problem is resolved.

Greetings,
Agent725

https://internetofcoins.org
Try https://openledger.io/
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: Agent725 on June 01, 2018, 09:39:28 am
Thanks abit. We did that, however, that faucet also often fails.

Is there a way we can host such a faucet ourselves? I think would be good to decentralize this further.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: sschiessl on June 01, 2018, 03:21:52 pm
The faucet is deployed in a more robust way now, but that error seems to be hard to find the source of.

Anyways, you could of course host your own faucet (in python there is one called tapin), or depending on your use case directly create accounts if you have a LTM account.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: btsbreak on June 08, 2018, 04:36:24 am
Hi. I am getting this same issue when trying to register a new account. What can I do to resolve it ? Thanks
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: Agent725 on June 08, 2018, 11:21:25 am
At the moment we get a faucet exception with bitshares.eu and status 422 error with openledger.io . Still looking at hosting our own faucet, but this slows our progress.
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: sschiessl on June 08, 2018, 12:26:06 pm
Please try again.

Was it the same exception message?
Title: Re: Failed to create account: acct-name - Uncaptured Faucet Exception: Assert Except
Post by: btsbreak on June 09, 2018, 02:36:50 am
Hi. Thankyou. Whatever you did has allowed me to create a new account. Yes was the same exception error.