Help please [400 Bad Request] Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2389
Joined: 2018-05-05, 13:29

Re: Help please [400 Bad Request]

Unread post by vannilla » 2024-10-21, 15:42

Alright, since it works on a new profile I investigated some more and it turns out to be a user agent string issue.
Since I use the "Native" option it gives me a 400 response; the only working option is "Firefox compatibility" unless a site-specific user agent string is used specifically for DDG.

User avatar
dtoxic
Fanatic
Fanatic
Posts: 107
Joined: 2017-10-04, 00:14
Location: Tau Ceti

Re: Help please [400 Bad Request]

Unread post by dtoxic » 2024-10-21, 15:50

Oh ok,using native also on my main profile,so it's DDG after all
Windows 7 SP1 X64
Windows 10 LTSC X64

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37538
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Help please [400 Bad Request]

Unread post by Moonchild » 2024-10-21, 17:57

Thanks, I've confirmed the issue being dependent on UA string presented and passed this along to DDG. I'm guessing (since it's an nginx error page, i.e. their internet-facing front-end) that this was an attempt by them to combat bot scraping of search results or similar, causing false positives on Pale Moon (and other UXP-based browsers) if they are not set to Firefox Compatibility mode. Both Gecko compat and Native UA modes trigger the error page.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
dtoxic
Fanatic
Fanatic
Posts: 107
Joined: 2017-10-04, 00:14
Location: Tau Ceti

Re: Help please [400 Bad Request]

Unread post by dtoxic » 2024-10-21, 19:42

thx for the info will mark this as solved then since it's not on PM's end
Windows 7 SP1 X64
Windows 10 LTSC X64

User avatar
Tharthan
Board Warrior
Board Warrior
Posts: 1427
Joined: 2019-05-20, 20:07
Location: New England

Re: Help please [400 Bad Request]

Unread post by Tharthan » 2024-10-22, 03:59

Moonchild wrote:
2024-10-21, 17:57
Thanks, I've confirmed the issue being dependent on UA string presented and passed this along to DDG.
I hope that they fix this issue, but supposing that they do not, would the inclusion of a site-specific user agent override going forward be a possibility?
"This is a war against individuality and intelligence. Only thing we can do is stand strong."adesh, 9 January 2020

"I used to think I was a grumpy old man, but I don't hold a candle compared to Tharthan."Cassette, 9 September 2020

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37538
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Help please [400 Bad Request]

Unread post by Moonchild » 2024-10-22, 07:08

I'd expect that a partner would actually fix these issues on their end. If for some reason they do not, then a UA override can of course be used, but it really shouldn't be necessary for us to work around their bug on our end.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Lexx Diamond
Moon lover
Moon lover
Posts: 83
Joined: 2017-02-16, 18:26
Location: Third Stone from The Sun

Re: Help please [400 Bad Request]

Unread post by Lexx Diamond » 2024-10-25, 23:39

I've been having the same problem for a while. Thanks for all the feed back and resolution. :thumbup:
Image

User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2991
Joined: 2012-06-28, 01:20

Re: Help please [400 Bad Request]

Unread post by ron_1 » 2024-10-27, 12:10

Nine days have passed and not fixed yet. I think that's disappointing, but maybe I'm overreacting? I know there's a work-around, but every time you clear your cookies you have to reset it.

User avatar
frostknight
Astronaut
Astronaut
Posts: 563
Joined: 2022-08-10, 02:25

Re: Help please [400 Bad Request]

Unread post by frostknight » 2024-10-27, 13:39

Funny, I just noticed that today... weird...
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37538
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Help please [400 Bad Request]

Unread post by Moonchild » 2024-10-27, 13:42

I've sent DDG a reminder and recap of the issue and that it has not been fixed yet.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Old_Radio
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2020-10-20, 20:48
Location: Shelf in Basement

Re: Help please [400 Bad Request]

Unread post by Old_Radio » 2024-10-28, 15:59

ron_1 wrote:
2024-10-27, 12:10
Nine days have passed and not fixed yet. I think that's disappointing, but maybe I'm overreacting? I know there's a work-around, but every time you clear your cookies you have to reset it.
Sure there is a workaround.

1) First, a recommended privacy item. Do not ever search with any search engine thru a browser's
search/address bar. Yes, some folks revenue stream may be impacted.

2) Make a bookmark for DDG. Do this after you go to DDG's main page, look at all the Settings
sections accessed thru the hamburger menu @ top right.

3) Turn on/off the settings as you like. Redirect is located under the Privacy tab. Turn it off.

4) Go to 'Show Bookmarklet....'. Save the string as a bookmark in PM.

5) Flushing your cache now makes no difference has no effect. Enjoy!
Win 8.1 x64 or x32, Win 7 SP1 x64. P M @ current level, 32 bit version. Nothing hanging on Pale Moon except uBO @ 1.16.6.0 and P M Commander.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37538
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Help please [400 Bad Request]

Unread post by Moonchild » 2024-10-28, 22:10

Old_Radio wrote:
2024-10-28, 15:59
1) First, a recommended privacy item. Do not ever search with any search engine thru a browser's
search/address bar. Yes, some folks revenue stream may be impacted.
What nonsense. Not only is DDG a privacy-respecting search engine, it also makes no difference whether you search from the search bar or from a DDG page or bookmarklet, with the only difference that if you go to duckduckgo.com without using the browser's functionalities, that yes, indeed, you will be depriving the project from one of the zero-effort ways of financial support. No, DDG does not profile you - go read their privacy statement. The only difference is that using the search bar or address bar (or home page search) adds a marker so DDG knows it came from a Pale Moon user so they can assign that search to our partnership.
Old_Radio wrote:
2024-10-28, 15:59
3) Turn on/off the settings as you like. Redirect is located under the Privacy tab. Turn it off.
This is the only instruction that matters.
Alternatively, use Pale Moon's default in preferences to use "Firefox compatibility" in the user agent setting.
Either will work around the issue.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

BenFenner
Keeps coming back
Keeps coming back
Posts: 818
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Help please [400 Bad Request]

Unread post by BenFenner » 2024-10-29, 22:17

Old_Radio wrote:
2024-10-28, 15:59
1) First, a recommended privacy item. Do not ever search with any search engine thru a browser's
search/address bar. Yes, some folks revenue stream may be impacted.
I think you meant this advice for browsers with telemetry? That makes sense.

Pale Moon does not have telemetry, so no issues there. :thumbup:

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37538
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Help please [400 Bad Request]

Unread post by Moonchild » 2024-11-01, 13:51

An update here after they initially had issues reproducing it on their end, and working with my DDG contact to home in on the issue:
DuckDuckGo wrote:That (sic: providing techincal details and test searches to them) was really useful and the team now has a good lead on the issue. They're consistently reproducing and investigating a change in the redirect link generation. Has attention from Security, Engineering and Privacy teams - not sure it'll get resolved by today but seems to be good progress. I'll report back when I know more.
So, it's in the pipeline to get fixed now.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Goodydino
Keeps coming back
Keeps coming back
Posts: 895
Joined: 2017-10-10, 21:20

Re: Help please [400 Bad Request]

Unread post by Goodydino » 2024-11-01, 20:24

Are you saying that every time you clear private data, that clears user-agent override settings? I have not seen that, but I have the overrides saved in a user.js file, so they would be restored anyway. That might be the solution to the problem.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37538
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Help please [400 Bad Request]

Unread post by Moonchild » 2024-11-02, 07:16

Goodydino wrote:
2024-11-01, 20:24
Are you saying that every time you clear private data, that clears user-agent override settings?
It shouldn't, as it's stored in preferences, not in any of the storage locations for private data.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37538
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Help please [400 Bad Request]

Unread post by Moonchild » 2024-11-04, 15:11

Update from DDG - they let me know a fix for this has been rolled out; I tested it and it seems to be solved.
Please do let us know if it isn't solved for anyone.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
dtoxic
Fanatic
Fanatic
Posts: 107
Joined: 2017-10-04, 00:14
Location: Tau Ceti

Re: Help please [400 Bad Request]

Unread post by dtoxic » 2024-11-04, 16:42

Seems to be fixed,will give it a few days to be sure.
Windows 7 SP1 X64
Windows 10 LTSC X64

User avatar
Tharthan
Board Warrior
Board Warrior
Posts: 1427
Joined: 2019-05-20, 20:07
Location: New England

Re: Help please [400 Bad Request]

Unread post by Tharthan » 2024-11-08, 01:54

Moonchild wrote:
2024-11-04, 15:11
Update from DDG - they let me know a fix for this has been rolled out; I tested it and it seems to be solved.
Please do let us know if it isn't solved for anyone.
It does appear to have been fixed. I have not encountered any issues for the past few days.
"This is a war against individuality and intelligence. Only thing we can do is stand strong."adesh, 9 January 2020

"I used to think I was a grumpy old man, but I don't hold a candle compared to Tharthan."Cassette, 9 September 2020