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.

image.png

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

image.png


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
  • 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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13