Hangouts not sending text messages in Firefox
Hey guys, I reported this on the Hangouts help form, and was officially told to post this here, as it's a Hangouts issue only with Firefox. Full conversation can be found at: https://productforums.google.com/forum/#!topic/hangouts/UoJlFBoWTv8;context-place=forum/hangouts
Using a desktop computer with Windows 10. Firefox 57 and Chrome 62. Replying to text message conversations. My carrier is Project Fi.
Texting in Chrome works instantaneously - I send a message, it blinks "Sending...", then shows "Now" as in the message was delivered right then and there.
Texting in Firefox does not work. It hangs on "Sending..." for several seconds, then shows "Message not delivered." consistently. This happens even after disabling any special settings and all my extensions, and I expect it would be happening to others as well.
Gif of the issue on Firefox: Video of the issue can be found at: https://gfycat.com/ifr/GleefulBlaringHarpyeagle
On the Hangouts website, there are some interesting warnings and errors related to the Content Security Policy in the Firefox developer console that do not appear in the Chrome developer console. I wouldn't be surprised if they were the cause of this issue.
What is seen in the Firefox developer tools console on hangouts.google.com:
Attempt to set a forbidden header was denied: Connection 367181531-lcs_client_bin.js:100:385 Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive. Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified
Those are the warnings, here are the errors: Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src 'nonce-TIVIcs1[redacted]YCCIqxg' https://notifications.google.com 'unsafe-eval' https://apis.google.com https://ssl.gstatic.com https://www.google.com https://www.gstatic.com”). Source: (function(a,p,g,C){var c={safeWindow:{},.... Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src 'nonce--TIVIcs1[redacted]YCCIqxg' https://notifications.google.com 'unsafe-eval' https://apis.google.com https://ssl.gstatic.com https://www.google.com https://www.gstatic.com”). Source: (function (ERROR) {
const V8_STACK_....
Any ideas or help? I'd like to get this working in Firefox. Thanks a lot.
被采纳的解决方案
I tested on a fresh install of Firefox on another computer I had, and hangouts was working. I had already tested in Firefox safe mode on my main computer though, and it hadn't fixed it, so I knew it wasn't an extension.
When I recently migrated from Chrome to Firefox, I leveraged some custom about:config settings from https://ffprofile.com. Most of them are fine, but apparently some of them broke Firefox.
I reset some questionable about:config settings bit by bit, restarting Firefox, and found a specific network config that ffprofile.com gave me in their prefs.js was breaking Hangouts. A bit more testing, and I have confirmed that:
"network.http.referer.spoofSource" in about:config being set to the non-default value of true stops Google Hangouts from delivering text messages.
I'll report this at an issue at ffprofile.com's GitHub repo https://github.com/allo-/firefox-profilemaker/issues, so at the very least they can update their site with a warning Hangout users about that privacy option.
Problem solved. Thanks a lot everyone.
定位到答案原位置 👍 1所有回复 (4)
Hello, thanks for this complete report. Can you reproduce in safe mode? How to start Firefox in Safe Mode I want to confirm your issue may be related to Firefox and not to a module.
Good idea smorele. I did just that and ran into the same issue - the "Message Not Delivered." issue.
The console errors are no longer there, though. Now there are just warnings.
"Attempt to set a forbidden header was denied: Connection" and "Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive."
are the main two that stand out.
Please : https://support.mozilla.org/en-US/kb/export-firefox-bookmarks-to-backup-or-transfer and https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles then https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings TEST....... If no issues then Extensions which need to be added back in 1 at a time and tested ..... Or it is your Profile : Make a new one and test ...: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Please let us know if this solved your issue or if need further assistance.
选择的解决方案
I tested on a fresh install of Firefox on another computer I had, and hangouts was working. I had already tested in Firefox safe mode on my main computer though, and it hadn't fixed it, so I knew it wasn't an extension.
When I recently migrated from Chrome to Firefox, I leveraged some custom about:config settings from https://ffprofile.com. Most of them are fine, but apparently some of them broke Firefox.
I reset some questionable about:config settings bit by bit, restarting Firefox, and found a specific network config that ffprofile.com gave me in their prefs.js was breaking Hangouts. A bit more testing, and I have confirmed that:
"network.http.referer.spoofSource" in about:config being set to the non-default value of true stops Google Hangouts from delivering text messages.
I'll report this at an issue at ffprofile.com's GitHub repo https://github.com/allo-/firefox-profilemaker/issues, so at the very least they can update their site with a warning Hangout users about that privacy option.
Problem solved. Thanks a lot everyone.