what is Corrupted serialized SCRAM error?











up vote
0
down vote

favorite












I am using mongooseim and suddenly I started getting the below error:
[warning] Corrupted serialized SCRAM: <<>> and no longer able to connect with the users. I am unable to find if somehow I enabled authentication other than PLAIN TEXT authentication.



Also, If I register a new user from the terminal command like :mongooseimctl register user10 localhost pass, it always works. But from the database all the other users look same like user10 but all those don't work.










share|improve this question




























    up vote
    0
    down vote

    favorite












    I am using mongooseim and suddenly I started getting the below error:
    [warning] Corrupted serialized SCRAM: <<>> and no longer able to connect with the users. I am unable to find if somehow I enabled authentication other than PLAIN TEXT authentication.



    Also, If I register a new user from the terminal command like :mongooseimctl register user10 localhost pass, it always works. But from the database all the other users look same like user10 but all those don't work.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am using mongooseim and suddenly I started getting the below error:
      [warning] Corrupted serialized SCRAM: <<>> and no longer able to connect with the users. I am unable to find if somehow I enabled authentication other than PLAIN TEXT authentication.



      Also, If I register a new user from the terminal command like :mongooseimctl register user10 localhost pass, it always works. But from the database all the other users look same like user10 but all those don't work.










      share|improve this question















      I am using mongooseim and suddenly I started getting the below error:
      [warning] Corrupted serialized SCRAM: <<>> and no longer able to connect with the users. I am unable to find if somehow I enabled authentication other than PLAIN TEXT authentication.



      Also, If I register a new user from the terminal command like :mongooseimctl register user10 localhost pass, it always works. But from the database all the other users look same like user10 but all those don't work.







      erlang xmpp ejabberd mongoose-im






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 21 at 13:32

























      asked Nov 20 at 3:37









      Shubham1164

      556




      556
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Ohh I find it myself, uppercase characters are not allowed in the username due to which it was throwing error the above error and make sure that pass_details vale should be null.






          share|improve this answer





















          • Ideally, you would use the mongooseimctl command interface - mongooseim.readthedocs.io/en/latest/user-guide/Getting-started/…. If you need to ultimately register users from the NodeJS server, you can first register a few with the command line to see how they get serialized to the DB.
            – erszcz
            Nov 20 at 10:44










          • Yes, erszcz. But the issue is username should only be created with lowercase and I was creating it with mixed uppercase and lowercase
            – Shubham1164
            Nov 20 at 10:46










          • Indeed, it is an issue. That's why mongooseimctl can help: $ ./bin/mongooseimctl register jAnE localhost pass123 leads to an {passwd,{<<"jane">>,<<"localhost">>},<<"pass123">>} entry in the database.
            – erszcz
            Nov 20 at 12:40












          • Thats Awesome. BTW, I only see you helping me here for mongoose and ejabberd issue most of the time. Are you work at ejabberd/mongooseIM or in some other company or freelancer, just curious?
            – Shubham1164
            Nov 20 at 12:59










          • Indeed, I work at Erlang Solutions - the company behind MongooseIM :) Not that I'm hiding this fact - it's in my profile.
            – erszcz
            Nov 21 at 13:15











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53385854%2fwhat-is-corrupted-serialized-scram-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          Ohh I find it myself, uppercase characters are not allowed in the username due to which it was throwing error the above error and make sure that pass_details vale should be null.






          share|improve this answer





















          • Ideally, you would use the mongooseimctl command interface - mongooseim.readthedocs.io/en/latest/user-guide/Getting-started/…. If you need to ultimately register users from the NodeJS server, you can first register a few with the command line to see how they get serialized to the DB.
            – erszcz
            Nov 20 at 10:44










          • Yes, erszcz. But the issue is username should only be created with lowercase and I was creating it with mixed uppercase and lowercase
            – Shubham1164
            Nov 20 at 10:46










          • Indeed, it is an issue. That's why mongooseimctl can help: $ ./bin/mongooseimctl register jAnE localhost pass123 leads to an {passwd,{<<"jane">>,<<"localhost">>},<<"pass123">>} entry in the database.
            – erszcz
            Nov 20 at 12:40












          • Thats Awesome. BTW, I only see you helping me here for mongoose and ejabberd issue most of the time. Are you work at ejabberd/mongooseIM or in some other company or freelancer, just curious?
            – Shubham1164
            Nov 20 at 12:59










          • Indeed, I work at Erlang Solutions - the company behind MongooseIM :) Not that I'm hiding this fact - it's in my profile.
            – erszcz
            Nov 21 at 13:15















          up vote
          0
          down vote



          accepted










          Ohh I find it myself, uppercase characters are not allowed in the username due to which it was throwing error the above error and make sure that pass_details vale should be null.






          share|improve this answer





















          • Ideally, you would use the mongooseimctl command interface - mongooseim.readthedocs.io/en/latest/user-guide/Getting-started/…. If you need to ultimately register users from the NodeJS server, you can first register a few with the command line to see how they get serialized to the DB.
            – erszcz
            Nov 20 at 10:44










          • Yes, erszcz. But the issue is username should only be created with lowercase and I was creating it with mixed uppercase and lowercase
            – Shubham1164
            Nov 20 at 10:46










          • Indeed, it is an issue. That's why mongooseimctl can help: $ ./bin/mongooseimctl register jAnE localhost pass123 leads to an {passwd,{<<"jane">>,<<"localhost">>},<<"pass123">>} entry in the database.
            – erszcz
            Nov 20 at 12:40












          • Thats Awesome. BTW, I only see you helping me here for mongoose and ejabberd issue most of the time. Are you work at ejabberd/mongooseIM or in some other company or freelancer, just curious?
            – Shubham1164
            Nov 20 at 12:59










          • Indeed, I work at Erlang Solutions - the company behind MongooseIM :) Not that I'm hiding this fact - it's in my profile.
            – erszcz
            Nov 21 at 13:15













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Ohh I find it myself, uppercase characters are not allowed in the username due to which it was throwing error the above error and make sure that pass_details vale should be null.






          share|improve this answer












          Ohh I find it myself, uppercase characters are not allowed in the username due to which it was throwing error the above error and make sure that pass_details vale should be null.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 at 4:12









          Shubham1164

          556




          556












          • Ideally, you would use the mongooseimctl command interface - mongooseim.readthedocs.io/en/latest/user-guide/Getting-started/…. If you need to ultimately register users from the NodeJS server, you can first register a few with the command line to see how they get serialized to the DB.
            – erszcz
            Nov 20 at 10:44










          • Yes, erszcz. But the issue is username should only be created with lowercase and I was creating it with mixed uppercase and lowercase
            – Shubham1164
            Nov 20 at 10:46










          • Indeed, it is an issue. That's why mongooseimctl can help: $ ./bin/mongooseimctl register jAnE localhost pass123 leads to an {passwd,{<<"jane">>,<<"localhost">>},<<"pass123">>} entry in the database.
            – erszcz
            Nov 20 at 12:40












          • Thats Awesome. BTW, I only see you helping me here for mongoose and ejabberd issue most of the time. Are you work at ejabberd/mongooseIM or in some other company or freelancer, just curious?
            – Shubham1164
            Nov 20 at 12:59










          • Indeed, I work at Erlang Solutions - the company behind MongooseIM :) Not that I'm hiding this fact - it's in my profile.
            – erszcz
            Nov 21 at 13:15


















          • Ideally, you would use the mongooseimctl command interface - mongooseim.readthedocs.io/en/latest/user-guide/Getting-started/…. If you need to ultimately register users from the NodeJS server, you can first register a few with the command line to see how they get serialized to the DB.
            – erszcz
            Nov 20 at 10:44










          • Yes, erszcz. But the issue is username should only be created with lowercase and I was creating it with mixed uppercase and lowercase
            – Shubham1164
            Nov 20 at 10:46










          • Indeed, it is an issue. That's why mongooseimctl can help: $ ./bin/mongooseimctl register jAnE localhost pass123 leads to an {passwd,{<<"jane">>,<<"localhost">>},<<"pass123">>} entry in the database.
            – erszcz
            Nov 20 at 12:40












          • Thats Awesome. BTW, I only see you helping me here for mongoose and ejabberd issue most of the time. Are you work at ejabberd/mongooseIM or in some other company or freelancer, just curious?
            – Shubham1164
            Nov 20 at 12:59










          • Indeed, I work at Erlang Solutions - the company behind MongooseIM :) Not that I'm hiding this fact - it's in my profile.
            – erszcz
            Nov 21 at 13:15
















          Ideally, you would use the mongooseimctl command interface - mongooseim.readthedocs.io/en/latest/user-guide/Getting-started/…. If you need to ultimately register users from the NodeJS server, you can first register a few with the command line to see how they get serialized to the DB.
          – erszcz
          Nov 20 at 10:44




          Ideally, you would use the mongooseimctl command interface - mongooseim.readthedocs.io/en/latest/user-guide/Getting-started/…. If you need to ultimately register users from the NodeJS server, you can first register a few with the command line to see how they get serialized to the DB.
          – erszcz
          Nov 20 at 10:44












          Yes, erszcz. But the issue is username should only be created with lowercase and I was creating it with mixed uppercase and lowercase
          – Shubham1164
          Nov 20 at 10:46




          Yes, erszcz. But the issue is username should only be created with lowercase and I was creating it with mixed uppercase and lowercase
          – Shubham1164
          Nov 20 at 10:46












          Indeed, it is an issue. That's why mongooseimctl can help: $ ./bin/mongooseimctl register jAnE localhost pass123 leads to an {passwd,{<<"jane">>,<<"localhost">>},<<"pass123">>} entry in the database.
          – erszcz
          Nov 20 at 12:40






          Indeed, it is an issue. That's why mongooseimctl can help: $ ./bin/mongooseimctl register jAnE localhost pass123 leads to an {passwd,{<<"jane">>,<<"localhost">>},<<"pass123">>} entry in the database.
          – erszcz
          Nov 20 at 12:40














          Thats Awesome. BTW, I only see you helping me here for mongoose and ejabberd issue most of the time. Are you work at ejabberd/mongooseIM or in some other company or freelancer, just curious?
          – Shubham1164
          Nov 20 at 12:59




          Thats Awesome. BTW, I only see you helping me here for mongoose and ejabberd issue most of the time. Are you work at ejabberd/mongooseIM or in some other company or freelancer, just curious?
          – Shubham1164
          Nov 20 at 12:59












          Indeed, I work at Erlang Solutions - the company behind MongooseIM :) Not that I'm hiding this fact - it's in my profile.
          – erszcz
          Nov 21 at 13:15




          Indeed, I work at Erlang Solutions - the company behind MongooseIM :) Not that I'm hiding this fact - it's in my profile.
          – erszcz
          Nov 21 at 13:15


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53385854%2fwhat-is-corrupted-serialized-scram-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          404 Error Contact Form 7 ajax form submitting

          How to know if a Active Directory user can login interactively

          TypeError: fit_transform() missing 1 required positional argument: 'X'