Bitcoin Forum
May 05, 2024, 11:46:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I am getting a HTTP ERROR 403 when typing a certain sub-forum in the browser  (Read 171 times)
Pmalek (OP)
Legendary
*
Offline Offline

Activity: 2758
Merit: 7132



View Profile
December 11, 2020, 11:00:17 AM
Merited by theymos (5), suchmoon (4)
 #1

I am not sure if this new error is somehow related to the changes theymos did because of the Small bug with the highlighting of forum subjects/thread titles. But every time I type a certain sub-forum in the Chrome search bar, I am getting the same error.

Quote
You don't have authorization to view this page.
HTTP ERROR 403
I made two screenshots to show what happens when I enter Meta in the browser. You can't replicate this error by going to a particular sub from the forum directly. You have to spell it out in your browser. The error is present in Chrome, I couldn't replicate it in Firefox. The HTTP error is triggered only once, if you make the same search a 2nd time, it works just fine. It happens when searching for other sub-boards as well.

1.



2.



 

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
1714952780
Hero Member
*
Offline Offline

Posts: 1714952780

View Profile Personal Message (Offline)

Ignore
1714952780
Reply with quote  #2

1714952780
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714952780
Hero Member
*
Offline Offline

Posts: 1714952780

View Profile Personal Message (Offline)

Ignore
1714952780
Reply with quote  #2

1714952780
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
December 11, 2020, 12:13:20 PM
 #2

I can't reproduce it, are you still getting it or is it fixed now?

Mightve just been a server/Browser cache issue or something.
mole0815
Staff
Legendary
*
Offline Offline

Activity: 2352
Merit: 2637


Join the world-leading crypto sportsbook NOW!


View Profile
December 11, 2020, 12:50:44 PM
 #3

It also works correctly for me.
To 99% one of these 3 variants will help.
- disable (new) plugins/addons for test purposes
- clear cache
- restart browser

I think this should be enough to make it work again Smiley

.
.Duelbits.
█▀▀▀▀▀











█▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
.
..DICE...
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
.
.MINES.
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
.
.PLINKO.
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
NEARLY UP TO
.50%. REWARDS
▀▀▀▀▀█











▄▄▄▄▄█
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6377


Looking for campaign manager? Contact icopress!


View Profile
December 11, 2020, 02:30:27 PM
 #4


I'll also add logoff + log in to the list.
And a remark at restart browser: also check with task manager it was actually stopped and not hanging.

Sometimes Chrome or some of its extensions used to handle cookies in a strange manner for me too leading to strange issues.
But I don't use Chrome as main browser, so I don't know if that's the case here.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Pmalek (OP)
Legendary
*
Offline Offline

Activity: 2758
Merit: 7132



View Profile
December 12, 2020, 08:54:54 AM
 #5

To 99% one of these 3 variants will help.
- disable (new) plugins/addons for test purposes
I don't like plugins or addons and besides those privacy-related, I don't think I have installed more than a couple in my life.   

- clear cache
I don't want to lose my browsing history. Grin

theymos either worked his magic again or it got fixed by itself. I am no longer able to reproduce the same errors from yesterday.


.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12972


View Profile
December 12, 2020, 12:41:38 PM
Merited by NotATether (2), Pmalek (1)
 #6

I am not sure if this new error is somehow related to the changes theymos did because of the Small bug with the highlighting of forum subjects/thread titles.

It was. In addition to prefetching links on the page you're looking at, Chrome apparently prefetches URLs it suggests in the URL bar before you actually visit them. I fixed the previous issue of unwanted prefetch side-effects by returning 403 errors to all prefetch requests, but Chrome was then actually remembering that error and returning it if you actually visited the URL.

For any other developers dealing with this problem, here's what seems so far to work:
 - On pages where you don't want to allow prefetching, go through all of the request headers and see if any of them equal "prefetch". The main one seems to be Purpose: prefetch, but there seem to be at least 3 different headers, which is why I'm just scanning through all headers.
 - Return an error if it's a prefetch, along with a Cache-Control: no-store header so that the error isn't returned if the user actually visits the page.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 12, 2020, 02:11:53 PM
 #7

For any other developers dealing with this problem, here's what seems so far to work:
 - On pages where you don't want to allow prefetching, go through all of the request headers and see if any of them equal "prefetch". The main one seems to be Purpose: prefetch, but there seem to be at least 3 different headers, which is why I'm just scanning through all headers.
 - Return an error if it's a prefetch, along with a Cache-Control: no-store header so that the error isn't returned if the user actually visits the page.

That's probably No-State prefetch you were blocking. I read in the release notes that "Purpose: prefetch" was added in Chrome 69. Odd for this problem to crop up just now, or maybe it had silently existed all these months and nobody noticed.

Two bug reports were filed on Chromium a few months (years in the case of the second bug) before that complaining that prefetch requests were identical to normal requests and had no distinguishing headers back then (796738 and 86175), where you can actually see users and developers arguing about why they're not sending a header although it was easy to make it do so. I'm glad they finally got things sorted out.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pmalek (OP)
Legendary
*
Offline Offline

Activity: 2758
Merit: 7132



View Profile
December 14, 2020, 07:37:25 AM
 #8

Snip
Cheers theymos! Just like with the other thread where I reported an error, I will leave this topic open for a little bit just in case the same issues pop back up for me or for some other users. If nothing changes, I will lock it soon.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!