Skip to content

Debug response mail feature seems broken #1949

@MKodde

Description

@MKodde

Context

While testdriving EB with Symfony 7.4, I noticed a 500 error on button clicking the Mail to OpenConext button on the debug page.

Where

  • With your EngineBlock in dev mode
  • Visit the EB homepage at: https://engine.dev.openconext.local/
  • Perform a debug authentication by visiting the https://engine.dev.openconext.local/sp/debug/ page
  • Choose an IdP on the WAYF
  • Authenticate in Mujina
  • You should now see the debug response page. Listing your attributes and other authentication data

Bug

  • Click the Mail to OpenConext button
  • You are sent to the user friendly exception page
  • The logs show
{"channel":"request","level":"CRITICAL","message":"Uncaught PHP Exception Symfony\\Component\\Mailer\\Exception\\TransportException: \"Connection could not be established with host \"localhost:25\": stream_socket_client(): Unable to connect to localhost:25 (Cannot assign requested address)\" at SocketStream.php line 154","context":{"exception":{}},"extra":{"request_id":"69bba6bb08286","session_id":"3ba008e7ad0fecce40a4b833ced3952f"}}

Expected behavior

A debug mail containing the authn information should be sent to the site admin

⚠️ This might well be a dev only issue, but it also hints a possible greater mail problem. Please check other mail related features and fix accordingly.

Context

Screenshot showing the button that causes the mail issue

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions