Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Connecting OnlyOffice to MailServer - Unable to Retrieve Hostname #486

Open
lundaoke opened this issue Nov 23, 2023 · 1 comment
Open

Comments

@lundaoke
Copy link

Hello,

I've encountered an issue while trying to connect OnlyOffice to a MailServer. The connection process fails with an error indicating that the hostname cannot be retrieved. Below are the details of the error log:

log:
2023-11-23 07:25:03,016 ERROR [128] localhost - ASC.Api.Mail - Error: Unable to retrieve hostname System.Exception: Error: Unable to retrieve hostname
at ASC.Api.Mail.MailApi.GetHostname(String connectionString, String ip)
at ASC.Api.Mail.MailApi.ConnectMailServer(String ip, String sqlip, String database, String user, String password)

This issue occurs when attempting to establish a connection between OnlyOffice and our MailServer.
The error seems to originate from within the ASC.Api.Mail component.
It specifically fails at retrieving the hostname, as indicated in the error message.
Attempts to Resolve:

I have checked the network settings and DNS configurations, but everything seems to be in order.
The MailServer settings have been verified and are correctly configured.
Request:

Any insights or suggestions on what might be causing this issue would be greatly appreciated.
Is there a specific configuration or setup step that I might be missing?
Thank you for your assistance.

@Carazyda
Copy link
Member

Hello @lundaoke Please describe in more detail where you are getting this error, in the portal settings or in the Mail module? What type of installation are you using? Are you trying to connect Onlyoffice MailServer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants