Author Topic: Error mobile data thru firewall  (Read 3239 times)

Sapiem

  • Newbie
  • *
  • Posts: 9
Error mobile data thru firewall
« on: April 16, 2015, 05:12:43 am »
I use 1.5.5.19 Aqua Mail.

It works perfect with firewall off, but when I use some apks as DroidWall, Android FireWall, AFWall+, Mobiwol, etc, it works ok thru wifi, but some times doesn't thru data network. I use two accounts and sometimes ones work ok, but the other not. So, if I diseable the firewall, it work ok full.

Others mail clientas like Gmail, Mailwise, etc work ok thru firewall on.

Please, I can send iptable chains if you like for analyze it.

Thanks

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Error mobile data thru firewall
« Reply #1 on: April 19, 2015, 01:55:36 am »
Beats me. Aqua does this to connect:

Calls InetAddress.getAllByName("server name here")

Picks one IPv6 and one IPv4 address

Uses standard Java sockets to connect to those addresses.

Perhaps you need to toggle connectivity off and back on to force the connections to re-connect?

Feel free to capture the issue in the app's debug log (see my signature just below).
« Last Edit: April 19, 2015, 02:04:48 am by Kostya Vasilyev, Aqua Mail »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Sapiem

  • Newbie
  • *
  • Posts: 9
Re: Error mobile data thru firewall
« Reply #2 on: April 20, 2015, 04:27:40 am »
Thanks for your response.

I notice this happen when I don't use the phone for a long time. For example, I'm doctor, and I use AquaMail to check every 10 min the google account. If I'm in consult, when I try to check, I can see that it couldn't access to the server. So, I need to restar de data network again, or kill AquaMail, or even reset the cell.

MailWise, Gmail, K9-Mail all works perfect, but I like AquaMail.

I will send you the log file soon.

Thanks again

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Error mobile data thru firewall
« Reply #3 on: April 20, 2015, 05:25:54 pm »
>> AquaMail to check every 10 min the google account

I just had an idea. If you're using the Gmail account with OAUTH, this is what might be giving you the error.

You can try two things:

- Remove the account from Aqua, add it back using Internet account type (not Gmail) and do not ever switch it to OAUTH

- Make sure your firewall rules take care of OAUTH -- either connections needed by Google Play Services (if it's an account present in system settings) or accounts.google.com (if it's not)

>> MailWise, Gmail, K9-Mail all works perfect, but I like AquaMail.

K9 Mail doesn't support OAUTH, as far as I know.

Don't know about MailWise (or if you're actually using it) and the native GMail app might be in its own little world, as usual...

In any case, those types of comments don't really help -- just like "Aqua works perfect on all my Android phones" won't help you.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Sapiem

  • Newbie
  • *
  • Posts: 9
Re: Error mobile data thru firewall
« Reply #4 on: April 22, 2015, 04:19:41 am »
Ok, I try the first recommendation and it works fine...

Thanks