Menu

#24 Gmail always times out on ipv6

1.2.1
invalid
nobody
None
unknown
5
2016-06-08
2016-05-30
No

Getting a timeout every run for ipv6 on gmail.

james at jamesmac in ~ ○ mbsync -D -a
Reading configuration file /Users/james/.mbsyncrc
Channel gmail-inbox
Opening master store gmail-remote...
Resolving imap.gmail.com... ok
Connecting to imap.gmail.com ([2607:f8b0:400e:c00::6d]:993)...
Opening slave store gmail-local...
pattern 'Arch*' (effective 'Arch*'): Path, no INBOX
pattern 'INBOX' (effective 'INBOX'): Path, INBOX
got mailbox list from slave:
  INBOX
  trash
  starred
  sent
  all
Cannot connect to imap.gmail.com ([2607:f8b0:400e:c00::6d]:993): Operation timed out
Connecting to imap.gmail.com (173.194.202.108:993)...
Connection is now encrypted

* OK Gimap ready for requests from 73.189.102.185 mw7mb904225826ieb
>>> 1 CAPABILITY
>>> ETCETCETC~~

Discussion

  • Oswald Buddenhagen

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,6 @@
     Getting a timeout every run for ipv6 on gmail.
    
    +~~~
     james at jamesmac in ~ ○ mbsync -D -a
     Reading configuration file /Users/james/.mbsyncrc
     Channel gmail-inbox
    @@ -21,3 +22,4 @@
    
     * OK Gimap ready for requests from 73.189.102.185 mw7mb904225826ieb
     >>> 1 CAPABILITY
     >>> ETCETCETC~~
    +~~~
    
     
  • Oswald Buddenhagen

    do you actually have working ipv6 routing? do you get through if you use openssl s_client?

     
  • James Nguyen

    James Nguyen - 2016-06-08

    I checked and in one of my locations and ipv6 does not work there for some reason.

    https://www.dropbox.com/s/tfr6rse02dmz8uu/ipv6.png?dl=0

     
  • Oswald Buddenhagen

    • status: reported --> invalid
     
  • Oswald Buddenhagen

    ok, so mbsync is apparently working as expected.

    if you can't get it to reliably, a possible workaround is to hack the dns resolution config to avoid returning AAAA records (single-request in resolv.conf may work. other than that, dnsmasq may be configured to suppress AAAA records).

     
  • James Nguyen

    James Nguyen - 2016-06-08

    Thanks, I'll just go down that route.

    For OSX,

    $ networksetup -setv6off Wi-Fi

     

Log in to post a comment.

MongoDB Logo MongoDB