Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

captcha warning (but works anyway) on develop #22607

Open
ara4n opened this issue Jun 17, 2022 · 6 comments
Open

captcha warning (but works anyway) on develop #22607

ara4n opened this issue Jun 17, 2022 · 6 comments
Labels
A-Registration O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Cannot-Reproduce

Comments

@ara4n
Copy link
Member

ara4n commented Jun 17, 2022

Steps to reproduce

  1. register a new account on develop on Chrome

Screenshot 2022-06-17 at 22 22 20

Outcome

What did you expect?

no captcha warnings

What happened instead?

scary captcha warnings

Operating system

macOS 12

Browser information

Chrome 102

URL for webapp

develop.element.io

Application version

develop

Homeserver

m.org

Will you send logs?

No

@ara4n ara4n added the T-Defect label Jun 17, 2022
@turt2live
Copy link
Member

Cannot reproduce :(

@turt2live turt2live added X-Cannot-Reproduce S-Minor Impairs non-critical functionality or suitable workarounds exist O-Uncommon Most users are unlikely to come across this or unexpected workflow A-Registration labels Jun 26, 2022
@t3chguy
Copy link
Member

t3chguy commented Jun 27, 2022

This is #16379 which got closed due to inactivity

@weeman1337 weeman1337 added O-Occasional Affects or can be seen by some users regularly or most users rarely and removed O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Jul 15, 2022
@weeman1337
Copy link
Contributor

Upgrade to O-Occasional as a result of today's community testing. A couple of people using different Browsers had this issue.

@weeman1337
Copy link
Contributor

Text for better discoverability: „Error: reCAPTCHA has already been rendered in this element“

@weeman1337
Copy link
Contributor

Higher chance to reproduce this:

  • Use a private window
  • Click on registration and instantly switch do another window
  • Wait some seconds and go back to the Element tab

@anoadragon453
Copy link
Member

Still seeing this. Here's a screenshot:

Screen Shot 2022-09-13 at 16 38 09

And the HTML of the div that is the grandparent of the #mx_recaptcha node:

<html>
 <head></head>
 <body>
  <div>
   <div>
    <p>This homeserver would like to make sure you are not a robot.</p>
    <div id="mx_recaptcha">
     <div style="width: 304px; height: 78px;">
      <div>
       <iframe title="reCAPTCHA" src="https://www.recaptcha.net/recaptcha/api2/anchor?ar=1&amp;k=redacted&amp;co=redacted&amp;hl=en&amp;v=redacted&amp;size=normal&amp;cb=redacted" role="presentation" name="a-bnj6n2hdh4t1" scrolling="no" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation" width="304" height="78" frameborder="0"></iframe>
      </div>
      <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea>
     </div>
     <iframe style="display: none;"></iframe>
    </div>
    <script src="https://www.recaptcha.net/recaptcha/api.js?onload=mxOnRecaptchaLoaded&amp;render=explicit"></script>
    <div class="error">
     Error: reCAPTCHA has already been rendered in this element
    </div>
   </div>
  </div>
 </body>
</html>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Registration O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Cannot-Reproduce
Projects
None yet
Development

No branches or pull requests

5 participants