• GitHub
  • Documentation
  • Discord
  • Tip
search
  • chevron_right Threads
  • label Support

"Unknown error has occurred" on sign-up

yaroslawbagriy
May 15, 2020
chat_bubble_outline 15
  • link
    yaroslawbagriy
    Members 36 posts
    May 15, 2020, 3:57 p.m. May 15, 2020, 3:57 p.m.
    link

    Greetings Misago community,

    I've noticed an error when people try to sign up via mobile? One member told me it was a CORS error. Has anyone else been experiencing this issue?

  • link
    yaroslawbagriy
    Members 36 posts
    May 15, 2020, 4:10 p.m. May 15, 2020, 4:10 p.m.
    link

    There is also a consistent bug that happens when a user signs-up with a mobile that says "Unknown error has occurred". The weird thing is, is that the registration does go through.

  • link
    rafalp
    Project Lead 2027 posts
    May 16, 2020, 2:21 a.m. May 16, 2020, 2:21 a.m.
    link

    Are users receiving welcome emails? Frequent issue people get with Misago is how they setup site, but don't setup e-mail sending, and first place they notice it is at registration form, where Misago tries to send welcome e-mail after creating user's account.

    yaroslawbagriy likes this.

    favorite 1

  • link
    yaroslawbagriy
    Members 36 posts
    May 16, 2020, 3:53 a.m. May 16, 2020, 3:53 a.m.
    link

    I don't think they are. I actually haven't set up email, I will try that first :) Thank you!

  • link
    yaroslawbagriy
    Members 36 posts
    May 16, 2020, 3:55 a.m. May 16, 2020, 3:55 a.m.
    link

    How do you set up email? I'm looking at the Misago docs, but don't see anything about setting up email.

  • link
    yaroslawbagriy
    Members 36 posts
    May 19, 2020, 3:05 p.m. May 19, 2020, 3:05 p.m.
    link

    @rafalp any thoughts? I would love to get email setup, but I have nowhere to start.

  • link
    rafalp
    Project Lead 2027 posts
    May 19, 2020, 8:08 p.m. May 19, 2020, 8:08 p.m.
    link

    There is a wizard for setting up an e-mail in the appctl.

    yaroslawbagriy likes this.

    favorite 1

  • link
    zimex
    Members 5 posts
    May 21, 2020, 10:16 a.m. May 21, 2020, 10:16 a.m.
    link
    @rafalp

    Are users receiving welcome emails? The frequent issue people get with Misago is how they set up a site, but don't set up e-mail sending, and the first place they notice it is a registration form, where Misago tries to send welcome e-mail after creating user's account.

    I have recently set up misago and I like it very much. Thank you! I am also having the same problem when someone tries to register. The registration goes through but it gives them a message "Unknown error has occurred" instead of success message. I set up email SMTP with SendGrid, included, username, port number and password but no emails are going through at this time. I will create a new API key and password in SendGrid and redo email again in the appctl. I have also set up recapture but when trying to register, it's asking for the question instead of showing the recapture robot box. Hope you can help!

  • link
    zimex
    Members 5 posts
    May 21, 2020, 10:23 a.m. May 21, 2020, 10:23 a.m.
    link
    @yaroslawbagriy

    @rafalp any thoughts? I would love to get email setup, but I have nowhere to start.

    If you create an account with SendGrid, I can help you set it up. It is very easy.

    yaroslawbagriy likes this.

    favorite 1

  • link
    yaroslawbagriy
    Members 36 posts
    May 21, 2020, 4:51 p.m. May 21, 2020, 4:51 p.m.
    link
    @rafalp

    There is a wizard for setting up an e-mail in the appctl.

    Would I just log into my Digital Ocean droplet, then execute appctl?

  • link
    yaroslawbagriy
    Members 36 posts
    May 21, 2020, 4:55 p.m. May 21, 2020, 4:55 p.m.
    link
    @zimex
    @yaroslawbagriy

    @rafalp any thoughts? I would love to get email setup, but I have nowhere to start.

    If you create an account with SendGrid, I can help you set it up. It is very easy.

    Yes I have a SendGrid account. What steps did you take to actually hook it all up?

  • link
    rafalp
    Project Lead 2027 posts
    May 22, 2020, 12:37 a.m. May 22, 2020, 12:37 a.m.
    link
    @yaroslawbagriy

    ]
    Would I just log into my Digital Ocean droplet, then execute appctl?

    Correct, it will display you available options, I don't remember exact name but email configuraiton may be ./appctl email.

    @zimex try registering new account and then check "logs" directory for errors log.

  • link
    zimex
    Members 5 posts
    May 23, 2020, 7:32 a.m. May 23, 2020, 7:32 a.m.
    link
    @yaroslawbagriy
    @zimex
    @yaroslawbagriy

    @rafalp any thoughts? I would love to get email setup, but I have nowhere to start.

    If you create an account with SendGrid, I can help you set it up. It is very easy.

    Yes I have a SendGrid account. What steps did you take to actually hook it all up?

    Create your API key on SendGrid. Go to set up guide in the menu and select SMTP relay then create the API key. Before you proceed, you will need to update your droplet email settings with the apikey information which is smtp.sendgrid.net - Port 587 - long password. If you type ls in your droplet you will see a list of options. To get to email you need to type in ./appctl email. Here you can update your email. You must choose TLS and not SSL. I think this is where I was making a mistake. When you are finished setting up your email, remember to run ./appctl rebuild to rebuild and restart container. Then you must go back to SendGrid and tick that you have completed settings. Sendgrid will ask you to use the application you updated, so create a new user. If everything goes well, go back to send grid and click verify. It worked for me so good luck.

  • link
    zimex
    Members 5 posts
    May 23, 2020, 7:36 a.m. May 23, 2020, 7:36 a.m.
    link
    @rafalp
    @yaroslawbagriy

    ]
    Would I just log into my Digital Ocean droplet, then execute appctl?

    Correct, it will display you available options, I don't remember exact name but email configuraiton may be ./appctl email.

    @zimex try registering new account and then check "logs" directory for errors log.

    I managed to fix the problem. I had chosen both SSL and TLS when configuring email. I then used just TLS and it is working beautifully.
    Thanks

  • link
    yaroslawbagriy
    Members 36 posts
    June 1, 2020, 3:02 a.m. June 1, 2020, 3:02 a.m.
    link
    @zimex
    @yaroslawbagriy
    @zimex
    @yaroslawbagriy

    @rafalp any thoughts? I would love to get email setup, but I have nowhere to start.

    If you create an account with SendGrid, I can help you set it up. It is very easy.

    Yes I have a SendGrid account. What steps did you take to actually hook it all up?

    Create your API key on SendGrid. Go to set up guide in the menu and select SMTP relay then create the API key. Before you proceed, you will need to update your droplet email settings with the apikey information which is smtp.sendgrid.net - Port 587 - long password. If you type ls in your droplet you will see a list of options. To get to email you need to type in ./appctl email. Here you can update your email. You must choose TLS and not SSL. I think this is where I was making a mistake. When you are finished setting up your email, remember to run ./appctl rebuild to rebuild and restart container. Then you must go back to SendGrid and tick that you have completed settings. Sendgrid will ask you to use the application you updated, so create a new user. If everything goes well, go back to send grid and click verify. It worked for me so good luck.

    Thanks for the guide! Would you be able to clarify a little more on configuring my droplet email with SendGrid? I have the information from SendGrid, I'm just not sure what to do with it.

  • link
    yaroslawbagriy
    Members 36 posts
    June 1, 2020, 3:51 a.m. June 1, 2020, 3:51 a.m.
    link

    I got it working! Thanks for all of the help :)

arrow_upward Go to top
  • This site uses cookies to gather statistical data for use in traffic analysis.
  • GitHub
  • Documentation
  • Discord
  • Tip
  • Terms of service
  • Privacy policy
powered by misago