Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket U2F enrolment: "Something went wrong."

Ben L October 9, 2017

I'm unable to enrol a U2F device for 2SV, as described in https://confluence.atlassian.com/bitbucket/two-step-verification-777023203.html#Two-stepverification-Addsecuritykeys

When clicking the 'add security key' button, I get an error message "Something went wrong. Try adding your security key again.".

This is with a Yubikey 4C Nano, on Chrome 61.0.3163.100 on macOS 10.12.6. The key works fine on other U2F services, including https://demo.yubico.com/u2f.

 

5 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 12, 2017

Hi everyone! Just wanted to keep you updated that we've identified the bug that is causing this issue and it will be fixed on the next release over the coming days.

Thanks for your support :)

Ana

Erik_Petersen October 12, 2017

Sae, issue. Look forward to a fix in the coming days. Thanks!

1 vote
Ben L October 31, 2017

Can confirm this is working now. Ta.

awdavis October 31, 2017

Still not working for me...

0 votes
Harm Verhagen October 11, 2017

I have the same problem. I cannot enrol a U2F key at bitbucket.org.

 

I tried it with a yubikey4, and with a yubikey FIDO U2F. Both support U2f.

 

I valilated U2F with both keys on https://demo.yubico.com/u2f?tab=login.  work fine.

 

When I click "Add security key" in bitbucket.org, it gives  the error message "Something went wrong. Try adding your security key again.".

 

Looking in Chrome developer mode show a failed POST to https://bitbucket.org/!api/internal/account/harm_verhagen/two-step-verification/security-keys

 

I get a HTTP 400 with body

{"type": "error", "error": {"message": "Bad request"}}
0 votes
bdlow October 10, 2017

POST https://bitbucket.org/!api/internal/account/myusername/two-step-verification/security-keys 400 ()

and the response:

{"type": "error", "error": {"message": "Bad request"}}

 

Network > Headers:

Request URL:https://bitbucket.org/!api/internal/account/myusername/two-step-verification/security-keys
Request Method:POST
Status Code:400
Remote Address:104.192.143.3:443
Referrer Policy:no-referrer-when-downgrade

Response Headers
access-control-allow-origin:*
access-control-expose-headers:Accept-Ranges, Content-Encoding, Content-Length, Content-Type, ETag, Last-Modified
content-language:en
content-length:54
content-type:application/json; charset=utf-8
date:Wed, 11 Oct 2017 01:57:59 GMT
etag:"23335ea4f2fef04b25834a2ca8df798e"
server:nginx
status:400
strict-transport-security:max-age=31536000; includeSubDomains; preload
vary:Authorization, Accept-Language, Cookie
x-frame-options:SAMEORIGIN
x-render-time:0.0347349643707
x-request-count:377
x-served-by:app-163
x-static-version:736471ea81ab
x-version:736471ea81ab

Request Headers
:authority:bitbucket.org
:method:POST
:path:/!api/internal/account/myusername/two-step-verification/security-keys
:scheme:https
accept:*/*
accept-encoding:gzip, deflate, br
accept-language:en-AU,en;q=0.8
content-length:1504
content-type:application/x-www-form-urlencoded; charset=UTF-8
cookie:...
origin:https://bitbucket.org
referer:https://bitbucket.org/account/user/myusername/two-step-verification/manage
user-agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
x-csrftoken:...
x-requested-with:XMLHttpRequest

Form Data
response:{"registrationData":"...","challenge":"...","version":"U2F_V2","appId":"https://bitbucket.org","clientData":"..."}
name:mykeyname
0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 10, 2017

Hi Ben, thanks for letting us know. We're not aware of nay issue like the one you're describing yet. Can you show us what error do you get in the Developer Console in Chrome?

Regards,

Ana

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events