-
It works fine at my side connecting either to gmail or office365. Please check timeout in mail setting. It should be normally set to 60 seconds or more.
-
It used to work for me too. But it stopped. Everything else is working with my email server. Both 1dev and email server run on my local network. Any suggestions on how to diagnose the problem would be helpful.
As pointed out above, 1dev can connect to the email server as I can see on the mail server that a connection is opened from 1dev. But for some reason it is stuck and no data is exchanged.
-
This sounds odd. Since you mentioned OneDev4 works, can you please run a copy of that version and test if it sill works? You may also run OneDev with Java 17 to see if it makes any difference.
-
Thank you for responding.
After some research I found out that there is some problem with communication between 1dev in docker container and email server running in docker compose on the same host. I did not want to spend all my day on investigating so I changed the network mode 1dev container was running under to make sure it can access all ports on the host server. It is working now.
In any case, it does not seem to be any fault of 1dev, rather my configuration. I was expecting this from the beginning but could not find an effective way to debug it from within 1dev. However, the 1dev container contains
curlwhich helped me track the connectivity issue. -
Previous Value Current Value Open
Closed
-
I have solved this and it was not a problem with 1dev anyway.
| Type |
Question
|
| Priority |
Major
|
| Assignee |
I have email account configured in Administration/Mail Settings. I am pretty sure it used to work a while ago, when I was setting it up a couple of months ago. It could be on version 4.x or 5.0.x. I am not sure.
I have recently upgraded it to 7.0.5. I do not know if this is related to the upgrade but now my 1dev installation cannot connect to my email server. I mean, it can connect. I can see on my email server logs that 1dev opens connection on port 587 for smtp and 993 for imap but after a while it disconnects with timeout. It seems like it does not even attempt to authenticate.
Here is how it looks like on the 1dev side:
On my email server I only get simple: