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.

Unable to retrive cookies

See original GitHub issue

I’m attempting to download content for the first time, but being unable to input my credentials. Web browser shows login page for 3 seconds then exits. Terminal returns the followig error:

$ ./PatreonDownloader.App --url --download-directory /home/vapor/Downloads/patreon/test1
2021-10-30 20:46:40.7018 INFO Retrieving cookies...
2021-10-30 20:46:56.0068 FATAL Fatal error, application will be closed: System.Exception: Unable to retrieve cookies
   at PatreonDownloader.App.Program.InitializeSettings(CommandLineOptions commandLineOptions) in /home/vapor/Downloads/PatreonDownloader/PatreonDownloader.App/Program.cs:line 166
   at PatreonDownloader.App.Program.RunPatreonDownloader(CommandLineOptions commandLineOptions) in /home/vapor/Downloads/PatreonDownloader/PatreonDownloader.App/Program.cs:line 142
   at PatreonDownloader.App.Program.Main(String[] args) in /home/vapor/Downloads/PatreonDownloader/PatreonDownloader.App/Program.cs:line 69

I’m I doing something wrong?

I believe this was previousley mentioned on issue #41 but was closed due to lack of response from the submitting part.

os: ubuntu 20.04.3 PatreonDownloader version:

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

w-canvascommented, Jan 22, 2022

Was able to extract the cookies form chomium using:

chromium --remote-debugging-port=9222 > /dev/null 2>&1 & (sleep 10; pkill chrome) &
/path/to/PatreonDownloader.App \
    --url \
    --download-directory /path/to/content/ \
    --remote-browser-address ws://
yuukiwcommented, Jan 9, 2022

on my end it opens an instant of chromium that google says isnt safe and thus wont let me login.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't access cookies from document.cookie in JS, but ...
I ran across this issue when setting a cookie on a successful SAML SSO login and couldn't retrieve the cookie from the Document...
Read more >
7 Keys to the Mystery of a Missing Cookie
7 Keys to the Mystery of a Missing Cookie · 1. SameSite attribute Defaults to Lax · 2. withCredentials is not Set to...
Read more >
Turn cookies on or off - Computer
On your computer, open Chrome. · At the top right, click More More and then Settings. · Under "Privacy and security," click Site...
Read more >
Unable to get cookies in the response header on hitting ...
When I check the response headers for Set-Cookie I get "JazzFormAuth=Form; Path=/jts; Secure". I don't get the cookies in the response.
Read more >
unable to retrieve cookies & logout properly - JSP
Now iam unable to retrieve the "regcookie" as mentioned in comments in first code , is there a problem in setting cookies for...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found