12
Views
4
Comments
Solved
[S22.Imap] When making the connection it gives a timeout
Forge component by Pedro Freire
5
Published on 14 Apr 2018
Application Type
Traditional Web, Reactive

Im doing the connection first

And it gives a timeout and after a litle bit it gives this error:

Any idea of what this might be? This is in a environment of a client but in my personal environment it works perfectly

Champion
Rank: #105
Solution

That makes it clear, Flávio. The OutSystems or to be precise, component is unable to make a connection to the IMAP server. Since the server is behind a firewall which blocks all the incoming request, you get the connection timeout error.


Champion
Rank: #105

Is your O365 has restricted access and accessible only behind a VPN connection?

Rank: #14272

Yes, i have to use a VPN to access the clients environment.

Champion
Rank: #105
Solution

That makes it clear, Flávio. The OutSystems or to be precise, component is unable to make a connection to the IMAP server. Since the server is behind a firewall which blocks all the incoming request, you get the connection timeout error.


Rank: #14272

Looks like i was using the wrong port. I needed to use the port 143 and set false the useSSL