CORS Configuration Issue in Firefox – Works in Chrome

Hi, I'm developing a website that needs to authenticate with an external endpoint. Once authenticated, the website receives a session cookie that it uses for subsequent … (閱讀更多)

Hi,

I'm developing a website that needs to authenticate with an external endpoint. Once authenticated, the website receives a session cookie that it uses for subsequent API requests.

I've configured the CORS headers on both Apache and Nginx, but I can't get it to work in Firefox. Interestingly, the same setup works perfectly in Google Chrome.

Here's an example of the headers I receive using a curl call:

curl -X OPTIONS https://crlliria.moval.es/web/session/authenticate \ -H "Origin: https://gis.moval.es" \ -H "Access-Control-Request-Method: POST" -I -k

HTTP/1.1 204 No Content Server: nginx Date: Wed, 04 Dec 2024 10:23:24 GMT Connection: keep-alive Access-Control-Allow-Origin: https://gis.moval.es Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE Access-Control-Allow-Headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range Access-Control-Max-Age: 1728000 Content-Type: text/plain; charset=utf-8 Content-Length: 0

Despite these headers appearing correct, Firefox throws the following error:

"Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’."

I know the Access-Control-Allow-Origin value is not * (it's set to https://gis.moval.es), so this message might not reflect the real issue. However, I can't figure out how to debug it further.

Questions:

Is there anything specific about Firefox's handling of CORS and credentials that might cause this issue? Are there tools or techniques I can use to diagnose the actual problem? Could there be a subtle discrepancy in the request or response that Firefox is stricter about compared to Chrome? Any help or suggestions would be greatly appreciated!

Thanks in advance.

Salvador Sánchez Aroca 於 1 小時前 詢問

Draven Locke 最近回覆於 14 分鐘前

Internet only fulfills website connection after the next request

Here's an example of the scenario I'm suffering: - You want to go do something on a website, say Bacefook (as a demonstration). So you go search up "Bacefook", and enter.… (閱讀更多)

Here's an example of the scenario I'm suffering: - You want to go do something on a website, say Bacefook (as a demonstration). So you go search up "Bacefook", and enter. - You use the Google search engine, as it does the job. However, you notice it has been taking a few seconds longer than anticipated. - Your internet times out and says it's having trouble connecting to the website. - You refresh, and suddenly the website perfectly loads.

Sometimes it even takes more than one refresh to get it to load normally! And this is not limited to the google search engine. It happens on all sorts of websites. There is no clear pattern to when a website actually loads or not. This problem is limited to my 2 WiFi routers, as other WiFi routers load all websites perfectly.

I decided to check the network tab in the inspect element for more information. I get "NS_ERROR_UNKNOWN_HOST" which is clearly false because the target website clearly exists. And the timings tab in the faulty request shows that every timing took 0 milliseconds to fulfill, so it may be the case that no data has been sent. (Seen in image below)

Chrome doesn't really have an issue with this. YouTube may have taken a long time to load in a test experiment though but it loaded successfully all along.

This also seems to be appearing elsewhere for a lot of internet request my computer makes, so it may be an internet setting that exists from one application from another. But it's been bugging me a lot with Firefox specifically.

This problem started happening about 1-2 months ago, and I use Firefox 131.0.3, the latest version of Firefox.

notUniqueNotLolNotOwo 於 1 天前 詢問

TyDraniu 最近回覆於 1 小時前

Stutter on Videos on Firefox 133.0 (aarch64)

YouTube only on Firefox has terrible stutter/frame pacing issues, most prevalent when watching 4k/60 content. "Stats for nerds" shows a healthy buffer and minimal dropped… (閱讀更多)

YouTube only on Firefox has terrible stutter/frame pacing issues, most prevalent when watching 4k/60 content. "Stats for nerds" shows a healthy buffer and minimal dropped frames. This issue is not present when watching local videos or on Microsoft Edge. The issue can be alleviated by watching in 1080p60 but stutter/judder is still present. The issue is not resolved no matter what power or performance options I choose in my laptop's settings. Any help is super appreciated, as I really don't want to open Edge every time I need to use YouTube. Thanks!

Specs: Samsung Galaxybook4 Edge Snapdragon X Elite X1E-84-100 16GB RAM 60 / 120hz screen Firefox Hardware Acceleration on

Ergonomic Pizza 於 6 天前 詢問

TyDraniu 最近回覆於 1 小時前

Vertical Tabs Customizable Sidebar

I just got the update and love the sidebar customization. The only caveat is that there is no easy way to close a tab (not counting key shortcuts) without having to open … (閱讀更多)

I just got the update and love the sidebar customization. The only caveat is that there is no easy way to close a tab (not counting key shortcuts) without having to open the sidebar and click X that way. When it is a horizontal tab, the X is very upfront and easy to click. I was wondering if there would be any patch that would add a "close tab" button either to the right of the refresh button in the top left, or to the right of the "Open a new tab" button in the top right.

If there is already an easier way to close tabs, then I am all ears; the less clicks the better, and a more simple browser to operate!

MokkingJay 於 5 小時前 詢問

TyDraniu 最近回覆於 2 小時前

After password recover all my data for sync are gone WTF !!!!!

after reinstalling my system i culd not login to my account i have like 9 passwords and your stopid system blecked my attempts like after second attepmt so i did password… (閱讀更多)

after reinstalling my system i culd not login to my account i have like 9 passwords and your stopid system blecked my attempts like after second attepmt so i did password recovery and changed it but after that all my sync data are gon WTF!!!!! It makes the sync function pointless and usless for its specially for that purpose !!!!!!!

xXPredzioXx 於 1 天前 詢問

TechHorse 最近回覆於 2 小時前

Firefox needs to stop with this update notification prompt that is every few hours, cant seem to deactivate this

Hi, using Mac OS. Have tried the about:config set the auto update configs to false, still it keeps prompting every day or a few hours . There is also a timer setting. T… (閱讀更多)

Hi, using Mac OS. Have tried the about:config set the auto update configs to false, still it keeps prompting every day or a few hours . There is also a timer setting. They dont seem to work, and these update notifications are very irritating, keep popping up every 8 hours or so.

Not sure the necessity for these incessive updates every day or hours, it uses a lot of system resources and hdd space, can Firefox put back the option when we can just tick 'update only when we want them' , in these, no background timer required they use system resources and there are many of us do not want them.

kawadoc25211 於 4 小時前 詢問

kawadoc25211 最近回覆於 4 小時前

Address bar list of previously visited sites has shrunk

The list of previously visited sites in firefox windows seems to have shrunk in some recent update of firefox. Now, when I click the address bar I only get 5 options, the… (閱讀更多)

The list of previously visited sites in firefox windows seems to have shrunk in some recent update of firefox. Now, when I click the address bar I only get 5 options, the first being search with google and the remaining 4 being previously visited sites. Used to be that list was much longer. Is there a way to customize this, or revert it back to where it contains 10+ items?

ikm.lundin 於 4 小時前 詢問

Pinterest Secure Connection Failed

Dear Mozilla Support Team, I am writing to you today to report a persistent issue I am having while trying to access Pinterest (www.pinterest.com). Whenever I attempt to… (閱讀更多)

Dear Mozilla Support Team,

I am writing to you today to report a persistent issue I am having while trying to access Pinterest (www.pinterest.com). Whenever I attempt to visit the website, I encounter the following error message:

Pinterest Secure Connection Failed An error occurred during a connection to www.pinterest.com. PR_CONNECT_RESET_ERROR

I have tried troubleshooting this issue by:

Clearing my browser cache and cookies. Restarting my computer. Trying a different web browser. Disabling any ad-blockers or extensions. Unfortunately, none of these solutions have resolved the problem. I am using Windows 11 and have attached a screenshot of the error message for your reference.

I would greatly appreciate it if you could provide me with some guidance on how to resolve this issue. I am unable to access Pinterest, which is causing significant inconvenience.

Thank you for your time and assistance.

Sincerely, Hatice Bozkurt

Hatice Bozkurt 於 4 小時前 詢問

Firefox Extension Failed Connection

Greetings Customer Service @ Mozilla While attempting to Turn on Mozilla Firefox Extension to Intensify the Detection Technologies through my Kaspersky Premium Software, … (閱讀更多)

Greetings Customer Service @ Mozilla While attempting to Turn on Mozilla Firefox Extension to Intensify the Detection Technologies through my Kaspersky Premium Software, I received the following error message:

Secure Connection Failed

An error occurred during a connection to addons.mozilla.org. The OCSP response is not yet valid (contains a date in the future).

Error code: SEC_ERROR_OCSP_FUTURE_RESPONSE

   The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
   Please contact the website owners to inform them of this problem.

I would appreciate any assistance or feedback on this to determine a solution for the problem!

Thank You Respectfully John Jablonsky sadisticsurfer@gmail.com

sadisticsurfer 於 4 小時前 詢問

Web sites not working properly

Hello, Why some websites aren't working properly with Firefox but does with others? Here are two websites that I have issues with: https://bell.ca (Home internet secti… (閱讀更多)

Hello,

Why some websites aren't working properly with Firefox but does with others?

Here are two websites that I have issues with:

https://bell.ca (Home internet section, can't scroll) https://cogeco.ca (Business internet section, can't scroll)

Guillaume

Guillaume Soucy 於 7 小時前 詢問

Waseem Abbas 最近回覆於 5 小時前

Reload past Firefox profile

Several weeks ago, I was attempting to upgrade from Windows 10 to Windows 11. In the process, I deleted Firefox (using Revo Uninstaller) and then reinstalled it, download… (閱讀更多)

Several weeks ago, I was attempting to upgrade from Windows 10 to Windows 11. In the process, I deleted Firefox (using Revo Uninstaller) and then reinstalled it, downloading it from the Mozilla website. Unfortunately, it didn’t run, giving me, at different attempts, different error messages. In the time since then, I have read many suggestions from many different websites and I have tried some of these suggestions, all with no success – until today. I have just completed the suggestions made on https://support.mozilla.org/en-US/questions/1327628 and Firefox is now back, working. I am happy and grateful, but not finished. None of my personal data came with the currently functioning version of Firefox. Since the re-emergence of Firefox, I have been reading several websites dealing with copy, backup and restore of my Firefox profile. Right now, the path C:\Users\rsuth\AppData\Roaming\Mozilla\Firefox\Profiles\ shows 5 folders: Two of the folders show 11/11/24 as the date modified (probably the date of the download from Mozilla). The folder 0dppjrfa.default contains one file, times.json, dated 8/11/2020. The other folder, ru82tlj5.default-release, has 97 items, most dated 11/11/2024. The remaining three folders are all dated 12/2/24 (today, as I write this). One folder’s name ends .default, the second name ends .default-release, and the third name ends .default-release-thirteen digits. The question that I am asking here is what do I do next to, hopefully, bring back the personal date I had with Firefox before my updating to Windows 11. Should I delete the folders dated 12/2/24? What, if anything, is the significance of the folder whose name ends in 13 digits? I’m hoping someone will be able to tell me how to fix these Firefox problems. And if I can, then I hope to be able to do something similar to help me bring back Thunderbird as well. Thunderbird became unfunctioning at the same time as Firefox. Thank you.

I_Rufus 於 1 天前 詢問

jscher2000 - Support Volunteer 最近回覆於 6 小時前

Firefox crashes when logging in to gmail

For several weeks now, whenever I try to log in to a google account, Firefox crashes. The crash happens on the screen where you enter your email address, before the page … (閱讀更多)

For several weeks now, whenever I try to log in to a google account, Firefox crashes. The crash happens on the screen where you enter your email address, before the page where you enter your password. I start to enter my email, and about 3 letters in to typing my entire browser freezes. The crash also happens in troubleshooting mode, so I know that it isn't a problem with one of my plug-ins. This isn't an urgent issue, I can get by with the gmail accounts that are already logged in, but it is really annoying.

samhunt0212 於 1 週前 詢問

jonzn4SUSE 最近回覆於 6 小時前