Date: Wed, 29 Jul 2020 01:48:21 +0100 From: tech-lists <tech-lists@zyxst.net> To: freebsd-questions@freebsd.org Subject: [WORKAROUND] Re: odd issue affecting firefox (any version) on freebsd (any version) Message-ID: <20200729004821.GA80948@bastion.zyxst.net> In-Reply-To: <20200722182209.GA46914@bastion.zyxst.net> References: <20200722182209.GA46914@bastion.zyxst.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 22, 2020 at 07:21:42PM +0100, tech-lists wrote: >Hi, > >This is a really odd problem which I haven't a clue how to debug. > >I use fastmail.com for my email. Sometimes, I'll want to use a web browser >(firefox in this instance) to look at mail via their webmail. I have, amon= gst >other machines, my main desktop machine running 12-stable/kf5/plasma. > >If I use firefox at the site to compose email, I can compose it but when I= try >to send it I get "sending failed" and this is real, the mail is not sent. = If I >run firefox (same version) from an ubuntu machine, I *can* send mail. > >If I run iridium on the desktop machine and do the same thing, I *can* send >email. > >I have tried this from a pristine freebsd-current vm as well. I get the sa= me >result as I do from my freebsd-desktop. That machine, as it's a vm, does n= ot >run a DE. > >fastmail support haven't a clue about this issue, not that I'd expect them= to >in this instance as it's far outside of their support remit. > >So why can I not use *specifically freebsd firefox* to send email from >fastmail.com's webmail? How can I debug this? Is it a headers thing? It seems the problem was being caused by Firefox on freebsd giving fastmail a fractional time-zone offset causing them to generate an invalid offset in the JSON fastmail was sending to the server. = Because of this the server was rejecting the message resulting in the "Send Failed"= =2E=20 Fastmail have worked around this issue and made a change that converts the offset to a whole number, and now firefox (freebsd) works. But this, to me, looks like a freebsd firefox problem and not directly a Fastmail one really. So i'll raise a PR in ports To reproduce, open a javascript console and enter=20 new Date().getTimezoneOffset() and ctrl-enter and it should produce a whole number as output. Firefox on my freebsd desktop outputs -59.55. My timezone is set Europe/London. For comparison, iridium on the same system shows -60 and firefox on Linux M= int 18 gives 0. Firefox installed from official freebsd pkg repos running a very recent -current shows the same as my 12.1 desktop - -59.55 So it does seem to be firefox on freebsd and only freebsd and it doesn't matter if it's 12.1-stable or current. I have not tried firefox-esr, i'll do that next. The firefox on the current vm is vanilla, no addons at all are installed. >--=20 >J. --=20 J. --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl8gx2cACgkQs8o7QhFz NAV82g/+N9rgXwZ/FtsBxBEsyqete5O/BS9kPHv6bnGDTVpfOyWLjYvoDcv1rna0 +BNyA/DingFqG08dtHqPuPu6V5HMzDXEe6le8SQqw6PfTADYk1jV+kf5PJ+i86sT ZZ72fmi54KfE62c1mO2C5dcwedp/2qIiAnNKJEVX55HdNLwUDxJsmsqaZQE5ayUP d1ySDuFFb5CUBApfuRdNoWOiS06e6FnknTVuI+93X6VMGSVd/Kz3+YrwC6Yh8Io6 lUNLnhboQ/GgUln4YIS26lLSyTZdhNKLniKoKlEtaxlTOlvT9tN2TUCOKt7wlSiK yVEnCx7clJG24sAb5nh4rmrCKODUZju+l3Vtyqbe4Ovsb5/2HD+GP4YPyF4d0rvR wuq2jFMBSjUOa/5IsfUHY/4WmmRgAMfFiWCq7XqSQ/gbyr4JvhPOjv42dN1LiBpi XQg0nbedN4ZkNrUHqC0+DnAjpN5eut6uy257WDp9Ej9Iu/m2jr0wLwwATZERSKhz HC4WPriQICqJcYZHnnzjRHI8oHJGzTQE+5ihHYqZKogDpr3KKmlIE0L++F4G5EPP 5cQvKoUsPPf22gHVXCuNGcsuJxQIQ5+EZKHmGfPAoGjPVpdaVXKXDjlEOureLfRp wD7tUKY2b8LR6pFXqybuLYa7wABN1oRZl93Q4iFt9l/P4pfV1DQ= =klxc -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200729004821.GA80948>