**Subject:** Trouble Creating IMAP App Connection (HTTP 504 Error) – Looking for Debugging Tipps

Hi everyone,

I’m experiencing an issue when trying to create certain app connections. For example, I can successfully create a Dropbox connection, but when I try to set up an IMAP connection, pressing the “Create/Save” button results in the request aborting with an HTTP 504 status.

I’m wondering if there is any kind of validation happening during the connection setup, such as credential checks?
For context, my AP instance is running in Docker, version 0.65.0.

Could this issue be related to firewall settings? I’d really appreciate any tips on what I could check or how to debug this further to identify the root cause.

Also, if it is a firewall issue, it might be helpful to handle these errors more gracefully and provide a clearer error message.

Hi @c.krampe

I am not sure what is the issue, but 504 means the connection is timing out with the IMAP server.

That is currently an assumption…
i’m just wondering if i can see the logs etc somewhere so i can be sure i’m looking in the right place for the suspected problem.

I have already looked at the logs from the Activepieces docker container… but there were no helpful logs here

The Docker Privileged flag was not set… maybe that was the problem…
Now it works.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.