-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
site incompatibility: belastingdienst.nl #7331
Comments
Same issue, site simply won't show. Running Windows 10, Version 1.2.43 Chromium: 79.0.3945.130 (Official Build) (64-bit). |
Reproduced this too on Windows 10, Version 1.2.43 Chromium: 79.0.3945.130 (Official Build) (64-bit). Unlike #3437 this is not a profile-specific issue. I can reproduce it on two different profiles and in a private window, and haven't found a workaround within Brave. In a normal browser window, for me the Works fine on Chrome. |
Makes me wonder what the belastingdienst is doing. I've narrowed it down to the cookieBLD33. It is possible to copy the request the network tab of the web developer extension. Pasting the curl command into bash will result in an error, but removing that cookie from the request will make it succeed. The cookie [seems to be harmless], but I still rather not share the cookie here.(https://www.belastingdienst.nl/wps/wcm/connect/bldcontenten/niet_in_enig_menu/individuals/cookies):
One difference with the cookie Firefox uses is that the Firefox one starts with a "!" (exclamation mark) and the Brave one starts with "\u0021" (the unicode representation of an exclamation mark):
Chrome gets/sends a cookie that also has a \u0021, but otherwise resembles the firefox cookie more than the Brave cookie. As in, the Chrome and FF cookies are the same length (Brave is slightly larger) and part of the (base64 encoded?) string is identical between Chrome and FF. So it seems that there is a problem with the site decoding the |
Same on Firefox 73.0.1, removing the |
I've tested this site (from a NZ IP), I'm not seeing this. Site seemed to load okay without error, also browsed a few pages off the homepage. Have they changed the site? Tested in: |
It might depend on operating system too, because I recall it working fine on my work machine (Centos 7), but not on my personal machines (Ubuntu 16.04 LTS and Windows 10). Or perhaps there is some other variable. |
Hi :)
Perhaps me and @hugobuddel are reporting a different issue then, because all my browsers (Firefox, Chrome, curl on Ubuntu 16.04) choke on the connection when the (a?) cookieBLD33 is set, but not without one. |
I think it is the same issue. But different browsers/users get different cookies. That is, for me Firefox works fine, unless I use the cookieBLD33 from Brave, then it fails (using curl to forge the request). Vice versa, using the Firefox cookie in Brave also works. There is no problem on my Scientific Linux 7.7 work machine, both Brave and Firefox work fine. The BLD33 cookie that Brave gets here is very similar to the ones chrome and Firefox get. I'm going to post the cookies here, because according to the belastingdienst it only "Establishes whether the browser's technique allows for accepting cookies." and has a validity "Until the end of your visit". So there should be no privacy risk in sharing them.
I failed to parse these, but there is some structure, with similarities and differences:
Edit: at work I use singularity to run Brave in a Fedora 30 container. Edit: also include windows 10 brave cookie, also bad |
There doesn't really seem to be a way to report bugs for belastingdienst.nl. Maybe we should try to get some of their developers involved here, but they turn out to be quite hard to find on github. @107728 do you perhaps know where to go with problems like this? You're a belastingdienst webdeveloper according to linked-in 😃. |
@ryanbr I can't reproduce either. I'm able to load the site site fine. |
I'm not really messing with cookies, just purely loading site (with default shield settings), using minimal /no extensions. But its probably more of a site-issue, Maybe reach out to them via twitter? https://twitter.com/Belastingdienst Linking to this ? |
Seems indeed a problem on their end. They (sometimes) send Brave a special cookie that they do not accept back. And even if it would be Brave that is mangling the cookie, then the site should still work properly and not crash. Could we perhaps keep this open a bit longer to see whether us Dutchies can get someone to notice this problem? It is tax season here, so it is a bit annoying to have to switch browsers. |
Why? @AronVanAmmers reported a connection error without cookies in #7331 (comment). Our problem is strictly limited to a specific cookie. I did report the cookie problem last year Oct and then again this March, but got only tumbleweeds from our beloved tax service... https://twitter.com/gwillem/status/1234827920188768256?s=20 |
Hope we have more success now @gwillem ! My reason for thinking the issue is the same is that there are two versions of the BLD33 cookie, a good one and a bad one (of course with specific values each time, but see the @gwillem and @AronVanAmmers could you share what BLD33 cookie you get when the site does or doesn't work in Firefox or Chrome? If you don't want to share the actual cookie, could you then perhaps check whether the cookie ends with I've already tested all the browsers that are easily available to me, so I can't investigate further. |
For me the site works fine in private mode (both w/ and w/o Tor) with Brave on Windows 10. So this is a good enough work-around for me when using Brave! (I get the non But I find it hard to recommend Brave as a browser to other people if belastingdienst.nl does not work. So it would be nice if they fix it. |
@hugobuddel @gwillem progress. Turns out the two profiles I tried on Brave did both have a Interestingly after clearing cookies, the site now also works for me in private windows, even though those don't use cookies of the profile, they start with empty cookies. And I have confirmed this just now when testing before clearing cookies, there were no cookies set in the private window and it still failed. Behaviour before clearing cookies for me was as described in #7331 (comment). What am I missing? 🤔 |
Clearing cookies indeed solves the issue for me too. Should probably have tried that before... So these are just old cookies from the site and there was nothing special about Brave. How does one clear cookies for specific sites in Brave? I now cleared all cookies for 1000+ sites, because I couldn't find any other way. (Making it a bit relevant to have this here on the Brave issue tracker.) (I made a backup of my profile before clearing all cookies, either to debug this issue further, or to put all the cookies back and delete only the belastingdienst ones). As to what you were missing @AronVanAmmers; maybe de belastingdienst is still sending out bad cookies occasionally, hitting you in the private session. |
From the icon in the address bar, see below. You can inspect and delete individual cookies this way: |
Further insights. HTTP/HTTPS makes a difference. I did this:
Similarly for a private window:
So what seems to happen is opening the HTTP version in a clean browser environment gives the error. Explicitly opening HTTPS does "something", presumably setting the This explains what I missed in #7331 (comment). After having opened https://www.belastingdienst.nl successfully in the normal browser window once, the private window autocompleted from my browser history (which is used in private windows, activity in the private window is just not logged to it) when I started typing "www.bela..." to use HTTPS rather than HTTP. I can now still reproduce it from any private window by explicitly typing http://www.belastingdienst.nl. One further thing I tried is to go from a working situation to a broken situation, i.e. after having opened HTTPS successfully, return to the situation that HTTP gives
After debugging all of this I think we deserve some tax cuts! (and maybe some BAT tokens 😉) |
Thank you for this awesome debugging @AronVanAmmers ! I've confirmed your findings, and the problem can also be reproduced on Chrome. I'm closing this issue as
I've still many questions on what exactly is broken, but those are for de belastingdienst. |
Could not find a similar issue.
Description
The website of the Dutch tax agency does not work in Brave: https://www.belastingdienst.nl/
At least not on Linux, have not tried Windows / MacOS.
Steps to Reproduce
Actual result:
This site can’t be reachedThe connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_RESET
Expected result:
The site as shown in Firefox, Chromium or Chrome
Reproduces how often:
100%
Brave version (brave://version info)
Version/Channel Information:
Don't know
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: