Page 1 of 1

MessagingException: Cannot connect to smtp.gmail.com

Posted: 14 May 2014 11:57
by michael.heuberger
Hello there

I already emailed you (Martin) the log files about this one. Just putting it in the forum.

The flow aborted with an exception saying it cannot connect to smtp.gmail.com at port 587. Something with Network is Unreachable which is weird. When I open the Gmail app, it works like a charm.

Any clues?

Michael

Re: MessagingException: Cannot connect to smtp.gmail.com

Posted: 14 May 2014 18:23
by Martin
Hi,

Automagic seems not to be able to connect to the gmail server on your device. Please ensure that your device really has network access. Reboot the device to see if this helps.
Are you using security apps that could block network traffic of other apps?

Regards,
Martin

Re: MessagingException: Cannot connect to smtp.gmail.com

Posted: 15 May 2014 00:52
by michael.heuberger
Hi Martin

I'm a programmer myself ;)

Of course I checked the connection and rebooted many times. No success.

Still fails to establish a connection to the gmail mail servers. But I can open any webpage on Firefox Mobile. So, it must something inside Automagic.

Cheers
Michael

Re: MessagingException: Cannot connect to smtp.gmail.com

Posted: 03 Sep 2014 08:31
by michael.heuberger
Hello?

I am still having this issue :(

Re: MessagingException: Cannot connect to smtp.gmail.com

Posted: 03 Sep 2014 16:54
by Martin
Does action Host Reachable with www.google.com and port 80 still fail on WiFi? Does sending the mail on mobile data still work?
Did you try all the suggestions I've sent to you by mail on the 16th Mai?

Re: MessagingException: Cannot connect to smtp.gmail.com

Posted: 03 Sep 2014 16:59
by Martin
I didn't see your other post. Let's see if anyone else has a good idea what might causing this issue since I'm somewhat out of ideas.

I still suspect that there is something interfering with the wifi network on your device since Automagic was not even able to create a network connection to www.google.com.
Did you try to disable/uninstall Xposed or any other app/tool that could modify or alter the behavior of the network in any way?

Re: MessagingException: Cannot connect to smtp.gmail.com

Posted: 04 Sep 2014 00:46
by michael.heuberger
Right, I re-read all our emails and see I gave up at the end.

But now, I still want to fix it. It's bugging me. www.google.com is unreachable with the Host Unreachable action. Weird.

But when I run the gmail app inside my phone, it works fine. It's able to fetch emails from there.

Can you tell me how you have the Host Unreachable action implemented? Any chance you could share me the source code on GitHub or via a secret Gist?

Re: MessagingException: Cannot connect to smtp.gmail.com

Posted: 04 Sep 2014 00:50
by michael.heuberger
PS: I want to be able to reproduce exactly the same DNS query.