PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Sieving : "missing or bad parameter: referer"

Author Message
Profile AzmodesProject donor
Volunteer tester
Avatar
Send message
Joined: 30 Dec 16
Posts: 184
ID: 479275
Credit: 1,428,481,041
RAC: 635,196
Discovered 1 mega primeDiscovered 1 AP26Found 2 primes in the 2018 Tour de PrimesFound 2 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de Primes321 LLR Gold: Earned 500,000 credits (526,067)Cullen LLR Gold: Earned 500,000 credits (655,307)ESP LLR Gold: Earned 500,000 credits (636,968)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (593,701)PPS LLR Turquoise: Earned 5,000,000 credits (5,383,262)PSP LLR Turquoise: Earned 5,000,000 credits (5,239,934)SoB LLR Jade: Earned 10,000,000 credits (10,263,832)SR5 LLR Turquoise: Earned 5,000,000 credits (6,706,352)SGS LLR Ruby: Earned 2,000,000 credits (2,677,920)TRP LLR Turquoise: Earned 5,000,000 credits (8,457,355)Woodall LLR Amethyst: Earned 1,000,000 credits (1,060,120)321 Sieve Jade: Earned 10,000,000 credits (10,147,267)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (28,919,526)PPS Sieve Double Silver: Earned 200,000,000 credits (246,359,422)TRP Sieve (suspended) Bronze: Earned 10,000 credits (39,046)AP 26/27 Emerald: Earned 50,000,000 credits (86,196,760)GFN Double Bronze: Earned 100,000,000 credits (168,396,499)PSA Double Gold: Earned 500,000,000 credits (846,221,702)
Message 105657 - Posted: 6 Mar 2017 | 10:06:26 UTC
Last modified: 6 Mar 2017 | 10:21:27 UTC

I did two 1P ranges for GFN17 running on AMD cards under Windows 7 (64 bit), but when I try to upload the files, I get the error in the thread title. What's the problem? Do I need the checkpoint files as well?

The cards are Radeon HD 5770 and HD 6450, the latter with a mild core overclock. When I started the executables, I also got this message in the command prompt: "warning: #warning directive: No built-in carry flag support known, using plain C code", though both ran to conclusion.

EDIT: k, posted too soon, it would seem. Looks like the problem was me moving the files to another computer and trying to upload them from there. It worked when I did it from the original host.

dthononProject donor
Volunteer tester
Send message
Joined: 6 Dec 17
Posts: 388
ID: 957147
Credit: 1,332,325,950
RAC: 1,250,193
Discovered 3 mega primes2018 Tour de Primes highest prime count2018 Tour de Primes highest prime scoreFound 50 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain StageFound 1 mega prime in the 2018 Tour de Primes Mountain StageFound 5 primes in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain StageFound 1 prime in the 2020 Tour de Primes321 LLR Sapphire: Earned 20,000,000 credits (40,820,847)Cullen LLR Sapphire: Earned 20,000,000 credits (21,061,433)ESP LLR Sapphire: Earned 20,000,000 credits (23,519,182)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (25,377,013)PPS LLR Double Bronze: Earned 100,000,000 credits (163,729,112)PSP LLR Sapphire: Earned 20,000,000 credits (31,092,711)SoB LLR Double Silver: Earned 200,000,000 credits (203,308,549)SR5 LLR Sapphire: Earned 20,000,000 credits (25,089,461)SGS LLR Sapphire: Earned 20,000,000 credits (21,302,975)TRP LLR Sapphire: Earned 20,000,000 credits (33,034,816)Woodall LLR Sapphire: Earned 20,000,000 credits (20,348,047)321 Sieve Sapphire: Earned 20,000,000 credits (23,591,572)Generalized Cullen/Woodall Sieve (suspended) Double Bronze: Earned 100,000,000 credits (126,821,599)PPS Sieve Double Silver: Earned 200,000,000 credits (205,573,693)AP 26/27 Emerald: Earned 50,000,000 credits (88,024,196)GFN Double Silver: Earned 200,000,000 credits (215,551,814)PSA Emerald: Earned 50,000,000 credits (64,141,506)
Message 116845 - Posted: 5 Apr 2018 | 12:10:02 UTC - in response to Message 105657.

I had the same problem trying to upload through a VPN, that changed the referer.
Solution : direct connection without VPN.

JimBProject donor
Honorary cruncher
Send message
Joined: 4 Aug 11
Posts: 916
ID: 107307
Credit: 974,118,817
RAC: 1
Discovered 1 mega prime321 LLR Ruby: Earned 2,000,000 credits (2,691,081)Cullen LLR Turquoise: Earned 5,000,000 credits (5,031,868)ESP LLR Turquoise: Earned 5,000,000 credits (5,064,082)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,038,750)PPS LLR Turquoise: Earned 5,000,000 credits (5,000,220)PSP LLR Turquoise: Earned 5,000,000 credits (7,639,762)SoB LLR Sapphire: Earned 20,000,000 credits (42,604,648)SR5 LLR Jade: Earned 10,000,000 credits (11,829,173)SGS LLR Ruby: Earned 2,000,000 credits (2,070,105)TRP LLR Ruby: Earned 2,000,000 credits (2,291,092)Woodall LLR Turquoise: Earned 5,000,000 credits (5,046,412)321 Sieve Jade: Earned 10,000,000 credits (10,057,614)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,002,919)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,005,451)PPS Sieve Emerald: Earned 50,000,000 credits (52,042,965)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,341,676)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,804)AP 26/27 Jade: Earned 10,000,000 credits (10,742,251)GFN Emerald: Earned 50,000,000 credits (50,000,251)PSA Double Gold: Earned 500,000,000 credits (728,547,693)
Message 116858 - Posted: 5 Apr 2018 | 14:42:00 UTC
Last modified: 5 Apr 2018 | 14:42:48 UTC

What's this referer value that's wrong? It's only used to try to get you back to the same page you were on before you started interacting with the sieving system (making a reservation or uploading a file). Remember, if all else fails you can always email the file to me (email address is on the Contacts page - link is at the very bottom of your screen).

Any referer failure after an upload should be harmless in that the upload already happened. But if I'm wrong about that, please let me know.

dthononProject donor
Volunteer tester
Send message
Joined: 6 Dec 17
Posts: 388
ID: 957147
Credit: 1,332,325,950
RAC: 1,250,193
Discovered 3 mega primes2018 Tour de Primes highest prime count2018 Tour de Primes highest prime scoreFound 50 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain StageFound 1 mega prime in the 2018 Tour de Primes Mountain StageFound 5 primes in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain StageFound 1 prime in the 2020 Tour de Primes321 LLR Sapphire: Earned 20,000,000 credits (40,820,847)Cullen LLR Sapphire: Earned 20,000,000 credits (21,061,433)ESP LLR Sapphire: Earned 20,000,000 credits (23,519,182)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (25,377,013)PPS LLR Double Bronze: Earned 100,000,000 credits (163,729,112)PSP LLR Sapphire: Earned 20,000,000 credits (31,092,711)SoB LLR Double Silver: Earned 200,000,000 credits (203,308,549)SR5 LLR Sapphire: Earned 20,000,000 credits (25,089,461)SGS LLR Sapphire: Earned 20,000,000 credits (21,302,975)TRP LLR Sapphire: Earned 20,000,000 credits (33,034,816)Woodall LLR Sapphire: Earned 20,000,000 credits (20,348,047)321 Sieve Sapphire: Earned 20,000,000 credits (23,591,572)Generalized Cullen/Woodall Sieve (suspended) Double Bronze: Earned 100,000,000 credits (126,821,599)PPS Sieve Double Silver: Earned 200,000,000 credits (205,573,693)AP 26/27 Emerald: Earned 50,000,000 credits (88,024,196)GFN Double Silver: Earned 200,000,000 credits (215,551,814)PSA Emerald: Earned 50,000,000 credits (64,141,506)
Message 116859 - Posted: 5 Apr 2018 | 15:14:06 UTC - in response to Message 116858.

I will do some more tests this evening (Europe time), so expect several small reservations. I will post the results afterwards.

dthononProject donor
Volunteer tester
Send message
Joined: 6 Dec 17
Posts: 388
ID: 957147
Credit: 1,332,325,950
RAC: 1,250,193
Discovered 3 mega primes2018 Tour de Primes highest prime count2018 Tour de Primes highest prime scoreFound 50 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain StageFound 1 mega prime in the 2018 Tour de Primes Mountain StageFound 5 primes in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain StageFound 1 prime in the 2020 Tour de Primes321 LLR Sapphire: Earned 20,000,000 credits (40,820,847)Cullen LLR Sapphire: Earned 20,000,000 credits (21,061,433)ESP LLR Sapphire: Earned 20,000,000 credits (23,519,182)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (25,377,013)PPS LLR Double Bronze: Earned 100,000,000 credits (163,729,112)PSP LLR Sapphire: Earned 20,000,000 credits (31,092,711)SoB LLR Double Silver: Earned 200,000,000 credits (203,308,549)SR5 LLR Sapphire: Earned 20,000,000 credits (25,089,461)SGS LLR Sapphire: Earned 20,000,000 credits (21,302,975)TRP LLR Sapphire: Earned 20,000,000 credits (33,034,816)Woodall LLR Sapphire: Earned 20,000,000 credits (20,348,047)321 Sieve Sapphire: Earned 20,000,000 credits (23,591,572)Generalized Cullen/Woodall Sieve (suspended) Double Bronze: Earned 100,000,000 credits (126,821,599)PPS Sieve Double Silver: Earned 200,000,000 credits (205,573,693)AP 26/27 Emerald: Earned 50,000,000 credits (88,024,196)GFN Double Silver: Earned 200,000,000 credits (215,551,814)PSA Emerald: Earned 50,000,000 credits (64,141,506)
Message 116861 - Posted: 5 Apr 2018 | 21:01:21 UTC - in response to Message 116859.
Last modified: 5 Apr 2018 | 21:20:59 UTC

I tested the following, on f21_210385P_210386P :


    - Upload using Chrome with PureVPN extension active (masqueraded IP etc) => fails with message "missing or bad parameter: referer"
    - Upload using Chrome with PureVPN extension disconnected (NATed IP from my home connection) => uploads file correctly.
    - EDIT : also tried yesterday with Firefox without VPN => works fine


That's probably due to the php upload script getting confused by the VPN. No big deal, I just have to remember to turn it off before uploading.
This post is mostly for the record, in case someone else falls in the same trap.

stream
Volunteer moderator
Project administrator
Volunteer developer
Volunteer tester
Send message
Joined: 1 Mar 14
Posts: 739
ID: 301928
Credit: 478,368,136
RAC: 108,970
Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (10,011,570)Cullen LLR Jade: Earned 10,000,000 credits (10,009,374)ESP LLR Jade: Earned 10,000,000 credits (10,009,221)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,012,217)PPS LLR Jade: Earned 10,000,000 credits (11,055,307)PSP LLR Jade: Earned 10,000,000 credits (10,044,081)SoB LLR Turquoise: Earned 5,000,000 credits (7,287,263)SR5 LLR Turquoise: Earned 5,000,000 credits (9,904,596)SGS LLR Turquoise: Earned 5,000,000 credits (6,367,405)TRP LLR Turquoise: Earned 5,000,000 credits (9,911,706)Woodall LLR Turquoise: Earned 5,000,000 credits (9,943,488)321 Sieve Sapphire: Earned 20,000,000 credits (20,004,228)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,047,667)PPS Sieve Sapphire: Earned 20,000,000 credits (20,866,490)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,043,271)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,015,177)AP 26/27 Sapphire: Earned 20,000,000 credits (20,045,194)GFN Emerald: Earned 50,000,000 credits (52,488,439)PSA Double Silver: Earned 200,000,000 credits (200,301,443)
Message 116868 - Posted: 6 Apr 2018 | 5:19:56 UTC - in response to Message 116861.

- Upload using Chrome with PureVPN extension active (masqueraded IP etc) => fails with message "missing or bad parameter: referer"

I think that problem is not in VPN itself but in this specific browser extension which also strips "Referrer" header for extra anonymity. May it could be turned of in extension' setting.

recoil44Project donor
Avatar
Send message
Joined: 20 Dec 15
Posts: 167
ID: 433037
Credit: 411,347,492
RAC: 0
Discovered 1 mega primeFound 1 prime in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,019,377)Cullen LLR Turquoise: Earned 5,000,000 credits (5,064,170)ESP LLR Turquoise: Earned 5,000,000 credits (5,001,303)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,139)PPS LLR Turquoise: Earned 5,000,000 credits (6,021,807)PSP LLR Turquoise: Earned 5,000,000 credits (5,085,124)SoB LLR Turquoise: Earned 5,000,000 credits (5,042,051)SR5 LLR Turquoise: Earned 5,000,000 credits (5,077,248)SGS LLR Turquoise: Earned 5,000,000 credits (5,000,448)TRP LLR Turquoise: Earned 5,000,000 credits (5,003,404)Woodall LLR Turquoise: Earned 5,000,000 credits (5,035,352)321 Sieve Turquoise: Earned 5,000,000 credits (5,061,436)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,012,148)PPS Sieve Double Bronze: Earned 100,000,000 credits (108,556,313)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,089,865)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,782)AP 26/27 Emerald: Earned 50,000,000 credits (50,153,415)GFN Double Bronze: Earned 100,000,000 credits (106,065,222)PSA Emerald: Earned 50,000,000 credits (67,666,890)
Message 116869 - Posted: 6 Apr 2018 | 10:56:23 UTC - in response to Message 116868.

I think that problem is not in VPN itself but in this specific browser extension which also strips "Referrer" header for extra anonymity. May it could be turned of in extension' setting.

Most likely. I use PIA VPN and have had no issues uploading results.

dthononProject donor
Volunteer tester
Send message
Joined: 6 Dec 17
Posts: 388
ID: 957147
Credit: 1,332,325,950
RAC: 1,250,193
Discovered 3 mega primes2018 Tour de Primes highest prime count2018 Tour de Primes highest prime scoreFound 50 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain StageFound 1 mega prime in the 2018 Tour de Primes Mountain StageFound 5 primes in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain StageFound 1 prime in the 2020 Tour de Primes321 LLR Sapphire: Earned 20,000,000 credits (40,820,847)Cullen LLR Sapphire: Earned 20,000,000 credits (21,061,433)ESP LLR Sapphire: Earned 20,000,000 credits (23,519,182)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (25,377,013)PPS LLR Double Bronze: Earned 100,000,000 credits (163,729,112)PSP LLR Sapphire: Earned 20,000,000 credits (31,092,711)SoB LLR Double Silver: Earned 200,000,000 credits (203,308,549)SR5 LLR Sapphire: Earned 20,000,000 credits (25,089,461)SGS LLR Sapphire: Earned 20,000,000 credits (21,302,975)TRP LLR Sapphire: Earned 20,000,000 credits (33,034,816)Woodall LLR Sapphire: Earned 20,000,000 credits (20,348,047)321 Sieve Sapphire: Earned 20,000,000 credits (23,591,572)Generalized Cullen/Woodall Sieve (suspended) Double Bronze: Earned 100,000,000 credits (126,821,599)PPS Sieve Double Silver: Earned 200,000,000 credits (205,573,693)AP 26/27 Emerald: Earned 50,000,000 credits (88,024,196)GFN Double Silver: Earned 200,000,000 credits (215,551,814)PSA Emerald: Earned 50,000,000 credits (64,141,506)
Message 116875 - Posted: 6 Apr 2018 | 12:29:22 UTC - in response to Message 116868.

I think that problem is not in VPN itself but in this specific browser extension which also strips "Referrer" header for extra anonymity. May it could be turned of in extension' setting.

You are probably right, as I use only the browser extension and not the full VPN. I didn't find any documentation about it and there are no options.
But anyway, just disconnecting the VPN works, so no need to look further into it.
Thanks

dukebg
Volunteer tester
Avatar
Send message
Joined: 21 Nov 17
Posts: 238
ID: 950482
Credit: 23,170,125
RAC: 0
Found 1 prime in the 2018 Tour de Primes321 LLR Gold: Earned 500,000 credits (506,942)Cullen LLR Gold: Earned 500,000 credits (500,523)ESP LLR Gold: Earned 500,000 credits (655,642)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (539,100)PPS LLR Gold: Earned 500,000 credits (688,232)PSP LLR Gold: Earned 500,000 credits (561,629)SoB LLR Ruby: Earned 2,000,000 credits (3,659,676)SR5 LLR Gold: Earned 500,000 credits (505,810)SGS LLR Gold: Earned 500,000 credits (506,024)TRP LLR Gold: Earned 500,000 credits (963,625)Woodall LLR Gold: Earned 500,000 credits (506,044)321 Sieve Gold: Earned 500,000 credits (511,694)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (549,916)PPS Sieve Gold: Earned 500,000 credits (701,168)AP 26/27 Gold: Earned 500,000 credits (525,590)GFN Jade: Earned 10,000,000 credits (10,762,872)PSA Gold: Earned 500,000 credits (525,639)
Message 116880 - Posted: 6 Apr 2018 | 13:47:07 UTC

Well, referer is only used for convinience, a conviniece thing shouldn't throw an error.

I assume the code in php is using $_SERVER['HTTP_REFERER']. You should just check

if(isset($_SERVER['HTTP_REFERER']))
before using it, and the missing header will be dealt with.

There's an option in various browsers to disable sending a referer, so it's not just the anonymity extensions.

JimBProject donor
Honorary cruncher
Send message
Joined: 4 Aug 11
Posts: 916
ID: 107307
Credit: 974,118,817
RAC: 1
Discovered 1 mega prime321 LLR Ruby: Earned 2,000,000 credits (2,691,081)Cullen LLR Turquoise: Earned 5,000,000 credits (5,031,868)ESP LLR Turquoise: Earned 5,000,000 credits (5,064,082)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,038,750)PPS LLR Turquoise: Earned 5,000,000 credits (5,000,220)PSP LLR Turquoise: Earned 5,000,000 credits (7,639,762)SoB LLR Sapphire: Earned 20,000,000 credits (42,604,648)SR5 LLR Jade: Earned 10,000,000 credits (11,829,173)SGS LLR Ruby: Earned 2,000,000 credits (2,070,105)TRP LLR Ruby: Earned 2,000,000 credits (2,291,092)Woodall LLR Turquoise: Earned 5,000,000 credits (5,046,412)321 Sieve Jade: Earned 10,000,000 credits (10,057,614)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,002,919)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,005,451)PPS Sieve Emerald: Earned 50,000,000 credits (52,042,965)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,341,676)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,804)AP 26/27 Jade: Earned 10,000,000 credits (10,742,251)GFN Emerald: Earned 50,000,000 credits (50,000,251)PSA Double Gold: Earned 500,000,000 credits (728,547,693)
Message 116930 - Posted: 8 Apr 2018 | 5:56:22 UTC

I tracked this down - it was an error in my code. In one place referer was treated as mandatory. I've changed the parameter on a function call to show that it's optional and this bug should now be killed.

Message boards : Sieving : "missing or bad parameter: referer"

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.57, 2.30, 2.42
Generated 4 Aug 2020 | 13:27:45 UTC