On Sunday, 4 January 2015 16:45:11 UTC+2, Gangadhar Nittala wrote: > > - Critical problem for me: email and contacts refuse to sync with my > > self-signed SSL/TLS-secured IMAP and ownCloud server. I wrote a small app > > (https://github.com/tobykurien/vCardImporter) to import my ownCloud > > contacts to make the phone usable. The vcf could not be imported by > > Contacts or any other app on the market (they just hung with no error > > messages). IMAP fails with "bad security" even though I added the > > certificate to the browser, and the calendar works fine with it. > Can you please elaborate on this a bit more. Is it that IMAP connections over > TLS with self-signed certificates are not succeeding? And this is even after > you added your certificate (and any intermediates) in the trust-store of the > device. Is that the case? There is one open issue > https://bugzilla.mozilla.org/show_bug.cgi?id=995005 for FXOS web-apps, want > to check if that is the same issue you are seeing too. Another one specific > to Android ICS - https://bugzilla.mozilla.org/show_bug.cgi?id=756763
I don't think the issue is related to the fxos bug you posted, because Gaia's EMail client seems to use it's own networking library instead of the one used by other webapps (see https://github.com/mozilla-b2g/gaia-email-libs-and-more). To further prove this point, I tried to sync the calendar using calDAV which failed to connect because of the self-signed certificate, then I connected using the Firefox browser, added the certificate as an exception, and then successfully sync'd my calDAV calendar. However, EMail still refused to connect (bad-security). I even followed this procedure without success: https://mkonrad.net/2014/05/19/installing-self-signed-certificates-on-firefox-os.html It seems the EMail client's networking library does not support self-signed certificates, period. I forked the EMail client code and dug into it, but wasn't able to get far, so now I've resorted to installing webmail on my server and accessing that via the browser. This still doesn't get me notifications, and I have to manually log in every time I want to check e-mail, but it's one step closer. > > - A related issue: when on a bad internet connection (e.g. ISP using > > Sandvine to shape traffic by sending random RST packets, leading to > > "connection reset"), apps just display blank or become unresponsive. No > > error messages are shown, and even worse, FxOS does not retry loading the > > failed resources. It should keep trying to load all the page resources, or > > display a persistent error message if the internet connection just went > > down, for example. > Is this https://bugzilla.mozilla.org/show_bug.cgi?id=1045709 the same symptom > you are noticing? Understandably, connection resets should have feedback on > the application, so trying to figure out if this needs to be logged as a > separate FXOS platform bug - so that the JS API has a callback for the apps > to register to for connection reset handling. The bug you referenced is for Firefox the browser. I am referring to any webapp or shortcut in FxOS. No dialog pops up in this case, and depending on what resource failed to load, you will either get a blank page, a half-loaded page, and/or and completely unresponsive page (due to broken javascript). _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
