question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix issue with cookies failing on new projects

See original GitHub issue

Describe the bug

I have done a clean install of masonite (and had to additionally pip install masonite-orm as a module error was thrown)

Ran python craft serve then visited local host to see a TypeError - token must be in bytes.

Expected behaviour

Some sort of initial landing page loads without errors after clean install

Steps to reproduce the bug

No response

Screenshots

image

OS

macOS

OS version

Monterey 12.2.1

Browser

Chrome Version 100.0.4896.60 (Official Build) (arm64)

Masonite Version

4.6.1

Anything else ?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
josephmancusocommented, Apr 5, 2022

This is due to the cookies issue. Delete your cookies for localhost and it will work.

It’s trying to use the cookies set on a previous Masonite app or a laravel app.

0reactions
josephmancusocommented, Jun 9, 2022

I don’t think this is an issue anymore. Cannot replicate this on new installs anymore

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix 'We've Detected a Problem with your Cookie ...
Open up Opera. · Go to Settings. · Go to Advanced > Privacy and Security. · Now, under Privacy and Security, locate Clear...
Read more >
Fixing malfunctioning Web sites with cookie resets - CNET
Sometimes Web sites will malfunction because a setting that is stored in a cookie is not working properly. In this case, though you...
Read more >
How to Fix the Error "Cookies are Blocked or Not ... - YouTube
00:00 Intro ; 0:22 Refresh the Browser ; 0:32 Deactivate the Security & Cache Plugin Temporarily ; 01:24 Delete the Existing Browser Cookies...
Read more >
How to Clear Browser Cookies to Resolve “Error 500
Please follow the instructions below to clear the cookies for your desired browser.
Read more >
Fix "Aw, Snap!" page crashes and other page loading errors
Clear your cache and cookies · Tap More More and then Settings. · Tap Privacy and security and then Clear browsing data. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found