Closed Bug 1768000 Opened 4 years ago Closed 2 years ago

cookies seem to not be set in time

Categories

(Core :: Networking: Cookies, defect, P2)

Firefox 100
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kyle, Assigned: edgul, NeedInfo)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36

Steps to reproduce:

Logging in at https://propane.com/account

Actual results:

After logging in, I was redirected back to the log in form instead of to my account page. However, if I refresh the page then I am taken to the correct page. It appears that the needed cookies to detect login are not being set before the page loads. This issue is only encountered with Firefox.

Expected results:

After logging in, I should be redirected to my account page, as it works in other browsers.

The Bugbug bot thinks this bug should belong to the 'Core::Networking: Cookies' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking: Cookies
Product: Firefox → Core

I will need logs to figure out what is happening, but the problem is that logs expose cookies.

Would you be willing to share logs via email, but first log out of your session so that the cookies in the log are invalidated?

If so, please create a log following these steps:

https://firefox-source-docs.mozilla.org/networking/http/logging.html

Thank you.

Flags: needinfo?(kyle)
Attached file Fire fox logs

Requested log file was too big to upload

Flags: needinfo?(kyle)

Here is a link to the log file FirFox generated. It was too big to upload. Please let me know when you have the information you need so I can take it down. Thanks!
https://percstaging.wpengine.com/wp-content/uploads/stuff/log.txt-main.15528.moz_log

Ed will take a look at the log.

Flags: needinfo?(eguloien)
Assignee: nobody → eguloien
Flags: needinfo?(eguloien)

I have the file, you can pull down. Thanks

(In reply to Ed Guloien [:edguloien] from comment #6)

I have the file, you can pull down. Thanks

Ok thanks!

Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

Any progress? I have encountered this issue in the past few weeks while using Firefox Developer Edition (116.0b1), and I have also experienced this problem with Firefox iOS in the past few months. The issue is not consistently reproducible, but it occurs more frequently on iOS.

Sorry, not yet. I will try to take look.

Flags: needinfo?(edgul)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(edgul)

I was only able to get this to happen once on the first login. Even after clearing cookies and restarting the browser login seems "fine". There is a significant delay to login though. At this point it almost seems that the website design relies on a timer at login.

Sorry for the delay on this.

Can you test the scenario with Enhanced Tracking Protection Disabled for cookies?
Go to about:preferences#privacy > select custom > unselect cookies.
Then clear cookies, restart the browser and try to replicate.
Does the issue still occur?

Thanks

Flags: needinfo?(kyle)

Recently, I followed your advice and made some adjustments, which alleviated the problem to some extent, but it still exists. There are hardly any issues on the PC, but the problem mainly occurs on the iOS side.

When I frequently use Firefox, there are hardly any problems. However, whenever I wake up the next morning and open Firefox on iOS, this situation occurs. (I will record it the next time I encounter the problem to help you troubleshoot it.)

BTW. In the past few months, there have been no similar issues with Firefox on macOS anymore.

Since we are unable to reproduce on deskop anymore I'm going to close this since it seems likely that a fix has already been made.
If we see it again on v123 or greater builds we can reopen this.

As for the ios bug, ios uses different webkit-based code so you may want to consider reporting it here: https://github.com/mozilla-mobile/firefox-ios

Thanks!

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: