Bug 427741

Summary: No way to access to user account for EDF.fr
Product: [Applications] Falkon Reporter: louicellier.jl
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description louicellier.jl 2020-10-15 08:11:43 UTC
SUMMARY


STEPS TO REPRODUCE
1. Go to site edf.fr (French electricity supplier)
2. Try to access user account ("mon compte")
3. 

OBSERVED RESULT
The site returns an error :
Access Denied
You don't have permission to access "http://particulier.edf.fr/fr" on this server.

EXPECTED RESULT
Access to login.
In the same time, it works correctly with Firefox.
I tried several user agents without improvement.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 louicellier.jl 2020-10-18 20:50:16 UTC
Need a change of user agent.
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12 
for global.
Incompatible with facebook.com, so a diffrent user agent has to be defined :
 Safari/602.3.12Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 2 louicellier.jl 2020-10-18 21:29:03 UTC
Changing the user agent is not a solution. Defining a user agent that works for edf.fr implies that you cannot access some other sites that were accessible with a global user agent.
It seems that there is something wrong with the management of different user agents for specific sites.
Comment 3 louicellier.jl 2020-10-18 21:32:01 UTC
It seems also that defining many diffenrent user agents leads Falkon to crash. In this case, the only solution is to reboot as restarting Falkon is impossible.
Comment 4 louicellier.jl 2020-10-20 20:51:24 UTC
Fin
Comment 5 louicellier.jl 2020-10-20 20:53:41 UTC
Finally solved.
Forget all the user agents proposed in the lists, they seem to be obsolete.
Just use the user agent defined in Firefox, which is up to date :
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
Define just one global user agent and it will be fixed.