• Threads
  • Categories
  • Users
  • Documentation
  • GitHub
  • Discord
  • forum
  • group
  • search
  1. Threads
  2. Problems and issues
chevron_left Problems and issues

(Solved)Unknow Error Register page

  • forum 11 replies
  • last reply by ikipkip Dec. 11, 2021
  • Last
  • Best answer
  • link
    ikipkip
    Members 12 posts
    Dec. 9, 2021, 11:38 p.m. Dec. 9, 2021, 11:38 p.m.
    link

    Hello everyone,
    Thanks for this unique forum script. So recently i created a forum and everything runs smoothly until when user want to register..then that's where the "unknown error" occur..also if i set to admin approval also it does not work.
    Attached below is some errors i found in console.

    Any help solving that will be appreciated.

    WhatsApp Image 2021-12-10 at 1.37.23 AM.jpeg

    WhatsApp Image 2021-12-10 at 1.37.22 AM.jpeg

    WhatsApp Image 2021-12-10 at 1.37.23 AM.jpeg

    JPG, 214.2 KB, uploaded by ikipkip on Dec. 9, 2021.

    WhatsApp Image 2021-12-10 at 1.37.22 AM.jpeg

    JPG, 152.9 KB, uploaded by ikipkip on Dec. 9, 2021.

  • link
    rafalp
    Project Lead 1488 posts
    Dec. 10, 2021, 6:44 p.m. Dec. 10, 2021, 6:44 p.m.
    link

    Did you really report same issue in three places? ☹️

    Can you share error logs of your Misago installation? I'm wondering if e-mail is setup incorrectly or our mailgun integration needs update?

  • link
    ikipkip
    Members 12 posts
    Dec. 10, 2021, 6:49 p.m. Dec. 10, 2021, 6:49 p.m.
    link

    I commented on a similar post but didn't get a feedback, so i decided to make a thread. Sorry my bad...I'm desperate to fix that issue..I can't approve users manually and the register doesn't send mails..

  • link
    ikipkip
    Members 12 posts
    Dec. 10, 2021, 6:59 p.m. Dec. 10, 2021, 6:59 p.m.
    link

    ```[2021-12-09 11:34:09,333] ERROR Internal Server Error: /api/users/
    Traceback (most recent call last):
    File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
    File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
    File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, callback_args, callback_kwargs)
    File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args,
    kwargs)
    File "/usr/local/lib/python3.7/site-packages/rest_framework/viewsets.py", line 116, in view
    return self.dispatch(request,
    args, kwargs)
    File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 495, in dispatch
    response = self.handle_exception(exc)
    File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 455, in handle_exception
    self.raise_uncaught_exception(exc)
    File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 492, in dispatch
    response = handler(request, *args,
    kwargs)
    File "/usr/local/lib/python3.7/site-packages/misago/users/api/users.py", line 92, in create
    return create_endpoint(request)
    File "/usr/local/lib/python3.7/site-packages/django/utils/decorators.py", line 142, in _wrapped_view
    response = view_func(request, args, kwargs)
    File "/usr/local/lib/python3.7/site-packages/misago/users/api/userendpoints/create.py", line 66, in create_endpo>
    send_welcome_email(request, new_user)
    File "/usr/local/lib/python3.7/site-packages/misago/users/registration.py", line 20, in send_welcome_email
    context={"settings": settings},
    File "/usr/local/lib/python3.7/site-packages/misago/core/mail.py", line 40, in mail_user
    message.send()
    File "/usr/local/lib/python3.7/site-packages/django/core/mail/message.py", line 291, in send
    return self.get_connection(fail_silently).send_messages([self])
    File "/usr/local/lib/python3.7/site-packages/django/core/mail/message.py", line 248, in get_connection
    self.connection = get_connection(fail_silently=fail_silently)
    File "/usr/local/lib/python3.7/site-packages/django/core/mail/init.py", line 35, in get_connection
    return klass(fail_silently=fail_silently,
    kwds)
    File "/usr/local/lib/python3.7/site-packages/django/core/mail/backends/smtp.py", line 33, in init
    "EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive, so only set "
    ValueError: EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive, so only set one of those settings to True.
    [2021-12-09 11:44:41,696] ERROR Internal Server Error: /api/users/
    Traceback (most recent call last):
    File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
    File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
    File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request,
    callback_args, callback_kwargs)
    File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args,
    kwargs)
    File "/usr/local/lib/python3.7/site-packages/rest_framework/viewsets.py", line 116, in view
    return self.dispatch(request, args,*kwargs)

    ```

  • link
    ikipkip
    Members 12 posts
    Dec. 10, 2021, 7:12 p.m. Dec. 10, 2021, 7:12 p.m.
    link

    My mailgun smtp

    vlcsnap-2021-12-10-21h06m43s367.png

    vlcsnap-2021-12-10-21h06m43s367.png

    PNG, 161.7 KB, uploaded by ikipkip on Dec. 10, 2021.

  • link
    rafalp
    Project Lead 1488 posts
    Dec. 10, 2021, 7:48 p.m. Dec. 10, 2021, 7:48 p.m.
    link
    check_box

    Marked as best answer by Dec. 10, 2021, 7:56 p.m..

    Here's your problem:

    "EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive, so only set one of those settings to True.

    ;)

  • link
    ikipkip
    Members 12 posts
    Dec. 10, 2021, 7:55 p.m. Dec. 10, 2021, 7:55 p.m.
    link
    @rafalp has written:

    Here's your problem:

    "EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive, so only set one of those settings to True.

    ;)

    Have just changed that..in set tls only on misago.env hope that is the fix

    Update..i have no idea what I'm doing lol

  • link
    ikipkip
    Members 12 posts
    Dec. 10, 2021, 8:03 p.m. Dec. 10, 2021, 8:03 p.m.
    link

    Still the same "unknown error" changed ssl to no in the misago.env.. after that i did ./appctl restart

  • link
    rafalp
    Project Lead 1488 posts
    Dec. 10, 2021, 8:14 p.m. Dec. 10, 2021, 8:14 p.m.
    link

    You will need to share error log.

  • link
    ikipkip
    Members 12 posts
    Dec. 10, 2021, 8:25 p.m. Dec. 10, 2021, 8:25 p.m.
    link
    @rafalp has written:

    You will need to share error log.

    okay let me find them

  • link
    ikipkip
    Members 12 posts
    Dec. 10, 2021, 8:34 p.m. Dec. 10, 2021, 8:34 p.m.
    link
    @rafalp has written:

    You will need to share error log.

    Quick question.. let's say i want to add the ads.txt to the root..where will i add it..Please this the last question..i promise.

  • link
    rafalp
    Project Lead 1488 posts
    Dec. 10, 2021, 8:36 p.m. Dec. 10, 2021, 8:36 p.m.
    link

    Please stick to one question/problem = one thread practice. Makes it easier to search and link to things for others :)

  • edit

    Thread title has been changed from Unknow Error Register page.

    • By ikipkip on Dec. 11, 2021, 10:21 p.m..

There are no more posts in this thread.

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