Open Closed

Forgot password throws 500 error & 403 Error is shown first before loading Login Page - Urgent Production Issue #3355


User avatar
0
abpdeveloper@dbizsolution.com created

Hi

  1. When we try to do a forgot password from the login page, after click on submit by entering emailid, it shows 500 error as below.

  1. when the angular url is browsed it shows a 403 error page below loading the below login page


5 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Share you backend logs please

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Hi

    https://drive.google.com/file/d/1GaETBdpKV776h8-G8EN1e0Wz5qjW_RKh/view?usp=sharing

    Pls find the file with name log.txt which has the log details

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    It seems related to Mail send(SmtpClient), Your logs file is too much large. Please share the error context logs.

    2022-06-30 19:44:55.114 +08:00 [ERR] An unhandled exception has occurred while executing the request.
    System.Net.Mail.SmtpException: Failure sending mail.
     ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::ffff:127.0.0.1]:25
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
       at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result)
    --- End of stack trace from previous location ---
       at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
       at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)
    
  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Please find the log with the error context.

    https://drive.google.com/file/d/11SxZTa8oMp_OBsA7ZJqdNLId0Ava7PIm/view?usp=sharing

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    [ERR] An unhandled exception has occurred while executing the request. System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::ffff:127.0.0.1]:25 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result) --- End of stack trace from previous location --- at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) --- End of inner exception stack trace --- at Volo.Abp.Emailing.Smtp.SmtpEmailSender.SendEmailAsync(MailMessage mail) at Volo.Abp.Emailing.EmailSenderBase.SendAsync(MailMessage mail, Boolean normalize)

    This error is related to your email settings.

    Please use this demo to test your email settings.

    https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15