Closed emhl closed 1 year ago
Thank you for sharing the error @emhl; Having a look at it right away..
Hey @emhl;
If I try to visit https://www.overleaf.com/project/633c60f3c9a84d4d3996324f/download/zip
(for example) in incognito (and not authenticated). I see the same error as you've shown.
But it works absolutely fine if I log in to my overleaf account, and then visit the URL.
I also ran the workflow, and everything seems to work fine.
So I would suggest the following two things:
OVERLEAF_PROJECT_ID
secret is updated.OVERLEAF_COOKIE
is in format cookie: overleaf_session2=<<value>>
.Let me know if you still face any errors.
i just took a look at it again, and the main problem was, that i forgot the Cookie:
in front of the overleaf_session2=
it would probably be easyer if we would only need to set the Cookie and not the rest of the string when the cookie expires
thanks for the fast response, i'll create a PR with the things i'd like to see changed :D
tonight the gh action i use to backup my projects broke. i first thought the cookie had timed out, but updating the cookie secret did nothing
i decided to manually execute the curl command from the entrypoint.sh and when i used the encoded cookie (or no cookie at all ) i got an html page with the text:![image](https://user-images.githubusercontent.com/36165088/193814595-0b32083a-6042-46a7-b79b-a89d8518d191.png)
Restricted, sorry you don’t have permission to load this page.
when usind the decoded cookie i got the following traceback from curl (in verbose mode)
did overleaf change something, so different headers are required to download the project content?