SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
292 stars 139 forks source link

Unexpected server error message when testing a working SMTP connection in SORMAS Keycloak #11130

Open jp-sgent opened 1 year ago

jp-sgent commented 1 year ago

Bug Description

When testing connection to an SMTP host which is proven to work correctly (e-mails are being successfully sent with it), Keycloak shows an "Unexpected server error" pop-up message.

Steps to Reproduce

  1. Log into the Keycloak settings console of a SORMAS instance
  2. While in the "Realm Settings" section, click on the "Email" tab
  3. Enter a working SMTP configuration - for instance:
Host 10.210.4.13
Port 25
From noreply@sormas.org
  1. Click on "Test connection"

Screenshots

The following pop-up message appears: image

System Details

Expected Behavior

A pop-up appears telling that the connection test was successful.

Additional Information

MateStrysewske commented 1 year ago

@jp-sgent Not an expert on Keycloak, but I don't really see how this is a bug connected to Sormas when it happens in the Keycloak console?

jp-sgent commented 1 year ago

@MateStrysewske I assumed the cause may lie in this particular integration of Keycloak with SORMAS, but if this is deemed to be an issue exclusively with Keycloak, then apologies for misplacing the ticket.

MateStrysewske commented 1 year ago

@jp-sgent We'll discuss this internally and see whether there's anything we can do