-
Notifications
You must be signed in to change notification settings - Fork 17
behind-the-scene broken at gmail #62
Comments
Because of this, gmail remains broken for me as in I can't use funcionality such as Add to Drive and download attachments/images don't load etc.. until I disable this extension from Extensions page. Seems to be happening with Firefox. Let me know if you're unable to reproduce. |
Of course, "behind-the-scene" means there is no specific tab associated with the request, hence there no tab for uMatrix to refresh. This is not new behavior, this has always been the case.
I only have a "dont-care" Gmail account for testing purpose, and I logged in into it without issue and I could not spot anything broken. I don't have emails with attachment in it or even a Google Drive account, so it would help to tell me what exactly is broken with screenshots, etc. The simpler the better, otherwise this will be a cant-reproduce issue. |
So why does v1.3.0/4/6 spew errors like this -
BTS requests are being blocked unconditionally on my end, because of this, gmail remains broken for me as in I can't use funcionality such as Add to Drive and download attachments/images don't load etc..
I feared this would happen, I posted all the information I could gather here, don't know what else I could give you. |
I could e-mail you a dummy pdf on your gmail account if you want. |
I don't get that with latest uMatrix. I can't say it didn't happen with 1.3.0, but that is an old version, you shouldn't be reporting issue with older versions unless they also occur in current stable. |
The reason I'm reporting from that version is because the latest dev build doesn't throw such StackTrace errors even though when refresh button is clicked from BTS panel and it doesn't anything, but only v 1.3.0/4/6 do. |
Because the issue is no longer present? That was my point: why report issues from past versions which no longer exist in the latest stable release. This was probably fixed in 1.3.8. |
OK, but what about those BTS requests being blocked unconditionally ? FYI, you may have to enable Collect Errors from |
This is the ruleset I have when trying to reproduce:
What about yours? |
Don't you need to set |
Yes I did add it as temp rule and it works on default installation, so now I go back to my regular config and the images and thumbnails do load but add to Drive is still stuck, very weird case, spend 4 hours on this already and still can't figure whats going on. Thing is my regular config rules worked perfectly until today, today it stopped. |
Done. Sent my regular ruleset alongwith. |
I could open your attachments, and also download locally, but the later required me to add |
With With Very weird, I have never needed these two rules for images and thumbnails to load until today. |
Another thing |
I could "Save to Drive" fine. However the "Save to Drive" popup was blank, I fixed by adding the following rules:
The first one might not be needed, it's the one I tried first. Edit: I didn't need to reload by the way, and I confirm only the 2nd seem necessary. |
I don't get any popups, I click on the button and it goes into an infinite loop of Saving to Drive...it's fine I will figure that one out. Since I don't wanna whitelist the entire gstatic.com on mail.google.com, so I narrowed it down to
These two rules bring back the broken images and thumbnails, but weird thing is there's no XHR being made from those rules or atleast a number doesn't appear on those cells |
As per your per-site switch count, you are blocking workers -- I didn't see this in your ruleset screenshot above. Gmail does use workers. |
Okay so XHRs re coming from those
Right ? |
@gorhill If I don't add
BTS XHRs get blocked, why is that, why does BTS is getting affected by those rules ? |
Well you opened this issue a few months ago: #22. |
I can't remember where but we talked about how "behind-the-scene" changed in uMatrix: not all entries marked as "behind-the-scene" are real actual behind-the-scene, because now uMatrix makes use of initiator if present to filter request, and when the initiator is present, the logger still report the request as behind the scene -- there is still no specific tab involved, but there is a specific origin, as opposed to real behind-the-scene where there is no tab and no origin. I just miss the time to overhaul the logger to now account for this. This is also true for uBO. |
I disabled all th 4 switches and still no change, so it's not the same, BTS XHRs are getting blocked regardless of workers switch enabled or not. |
I think you nailed it there. That only makes logical sense. |
You could use uBO's logger just to find out the context in which these XHRs are made (uMatrix does not have this information in the logger yet). For the target XHRs, click the cell to create filters in uBO's logger, the context (aka initiator) will be shown. |
With uBO it's merely cosmetic -- one can create proper rules/filters -- just need to have a different icon to convey that a request is not associated with any specific tab but yet its origin is known (with real behind-the-scene the origin aka context is unknown). |
I meant do you intend to fix uBO's logger regarding this issue ? |
A column has been added to the logger: the scope in which network requests are made. Thus, the behind-the-scene scope is now shown just like any other scope: |
Fixed in 1.3.15.8 |
Can you provide a screenshot of what you are seeing? If a request is shown as |
This
Fixed in 1.3.15.8 |
The fix was in the logger -- you should be able to see in the logger these requests -- they will no longer be reported as "behind-the-scene" unless they really are. uMatrix is not reporting them in the popup panel of that tab probably because there is no tab information provided for these specific requests. In such case, the logger is where ultimately those problems are resolved, hence the new UI in the logger. This is what can happen:
|
No, as said, the request is made outside of any tab context, uMatrix has no idea from which tab the request is originating. As shown in your pic, this is solved via the logger, you can set rules for that one request. That new UI in the logger also solves gorhill/uMatrix#951. |
Thanks to this new UI, asset updates on Firefox are now initiated by |
I will need to provide access to the per-scope switches from the new per-entry rule editor UI. |
images are not loading again, are being seen by BTS in the logger ? Can you confirm if it's really from BTS ? |
In Chromium service worker loads all gstatic XHRs using tab-less mail.google.com context. In Firefox they are not tab-less. Maybe some indicator should be added to the popup (for example to scope selector) when tab-less request occur in current context? |
Tabless requests number count should also be shown in the main popup UI to combat this. The cell count number not appearing is really troubling. |
Prerequisites
Description
On gmail, behind-the-scene requests are blocked unconditionally and th refresh button on the for behind-the-scene panel doesn't work. BTS Refresh button broke with v1.3.0 and BTS network requests are being blocked unconditionally since 1.3.8.
A specific URL where the issue occurs
https://mail.google.com/mail/u/0/?tab=wm#inbox
Steps to Reproduce
Disable ALL extensions and install uMatrix from https://github.com/gorhill/uMatrix/releases/tag/1.3.15b2
Once installed, visit gmail and login with your credentials
Open the logger and refresh the page to populate, once loaded, page will appear broken, because behind-the-scene network requests are being blocked unconditionally. even though it's default installation where matrix is set to off for behind-the-scene.
Supporting evidence
Errors collected via Chromium on v1.3.0 regarding the refresh button issue -
Broken refresh button at BTS panel and BTS network requests being blocked unconditionally -
https://i.gyazo.com/014e222d6d50f97d57c3d66869f0b0c8.mp4
Your environment
The text was updated successfully, but these errors were encountered: