an_admin  
                
                  
                    Janvier 8, 2021,  8:35 
                   
                  1 
               
             
            
              
when I initially setup my instance I made separate admin and user accounts for myself. the admin account has 2FA setup and it works correctly.
now, after some additional config, I try to go and setup my non-admin account with token-based 2FA and get the error message above
I also made a new test account with throwaway email. logged in successfully but got the same error when attempting to enable 2FA
any assistance would be appreciated, thank you <3
             
            
              1 « J'aime » 
            
            
           
          
            
              
                an_admin  
              
                  
                    Janvier 22, 2021, 12:06 
                   
                  3 
               
             
            
              updated to 2.7.0.beta2, issue persists 
             
            
              
            
           
          
            
              
                Falco  
              
                  
                    Janvier 22, 2021, 12:19 
                   
                  4 
               
             
            
              Internal server errors usually means something gets logged in the  /logs  URL. Can you check that please?
             
            
              2 « J'aime » 
            
            
           
          
            
              
                an_admin  
              
                  
                    Janvier 24, 2021,  8:20 
                   
                  6 
               
             
            
              Figured it out! With thanks to this Error "code length overflow" ""solved""? · Issue #52 · davidshimjs/qrcodejs · GitHub 
I finally realized it always happened when the encoded string contained non-US ASCII characters (p.e. á, ñ, í…)
 
This issue was that my title (the one set at site.com/admin/site_settings/category/required ) did indeed contain non-ASCII characters. I guess it was pulling that into the QR code when generating and it choked.
The clue was in site.com/logs  and after selecting the most recent log entry, under the info tab, there was a line that read:
RQRCodeCore::QRCodeRunTimeError (code length overflow. (1787 digits > any version capacity))
             
            
              1 « J'aime » 
            
            
           
          
            
              
                an_admin  
              
                  
                    Janvier 24, 2021,  8:23 
                   
                  7 
               
             
            
              I’ve deleted my posts containing system information but one also contained my thanks to you for pointing me in the right direction. Much obliged 
             
            
              1 « J'aime » 
            
            
           
          
            
              
                Falco  
              
                  
                    Janvier 25, 2021, 12:44 
                   
                  8 
               
             
            
              Just out of curiosity, how long was the site title?
1787 digits are a lot!
             
            
              
            
           
          
            
              
                an_admin  
              
                  
                    Janvier 25, 2021,  1:22 
                   
                  9 
               
             
            
              I was using a font trick:
$̵̟̞͎̪͖̞̱̇̋͘ṁ̴̤̞̍́̈́y̵̨̡̟͕̣̠̜̳̳͎̋̃̑̎͘_̴̡̺̉̿͂̍̇f̶͕͋̓͘ơ̸̞̠̰̝̲̐͌̔̒ŗ̸̢̱̘͓̦̟̋̂̄̽́̿̿͌̚ù̵̜̪̲̹̺͈͍͎̮̍́̋̀̄̿̽̚͠m̷̨̖̯̮͎̯̦̗͒͛̇̄̂_̵͇̃̓̊͗̆͑͛͋ņ̸̼͕̫̪̲͙͈̅̽̑̌̑͠ą̸̞͇̦̙̥͚̀m̸̢̛̺͓̲̲̙͉̉͐̽͂͆́̕ê̴̥̣̩̥̇͑͌͒̌͐̕͝
Definitely an edge case, and I’m impressed that the QR library was the only thing it broke.
             
            
              
            
           
          
            
              
                Falco  
              
                  
                    Janvier 25, 2021,  3:32 
                   
                  10 
               
             
            
              Okay, so that is a like a 360 bytes long title. Makes sense it could not fit.
             
            
              
            
           
          
            
              
                system  
              
                  
                    Février 24, 2021,  3:33 
                   
                  11 
               
             
            
              This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.