Closed dataO1 closed 3 years ago
Hi @diskroma,
a few questions first:
Best, da-h
I am using Chromium and yes, im using www.overleaf.com. I also login via LastPass, but that shouldnt change anything with the cookie.
Hey @diskroma,
today I was looking into this issue a bit. I've created an account for www.overleaf.com to test if there was an api change in the protocol.
I am able to login without any tweaks using Firefox. For Chromium, browser_cookie3 needed some config on my machiene
However, I was running into another issue:
When choosing a project after login ([enter] on the project name), the websocket handshake is only every now and then successful (first message is None
).
Unfortunately, I have no solution, yet. Until then, several restarts may be needed until it works.
Best, da-h
Thanks for looking into this, ill try it with firefox then i guess.
Best, diskroma
Firefox seems to work out of the box, however i dont get any documents, when connecting a project. This is how it looks:
(ignore the "laksd.... stuff, i accidentally inserted something)
Ah, right. That is what I meant; the websocket connection does not start correctly in some cases. (Currently working on a solution.)
If you want to try it out, just restart the process several times until it works. However, due to that and one other issue the project is far from useable.
Short Update: I asked the Overleaf-Team to document their api (https://github.com/overleaf/overleaf/issues/299), however i did not get an answer yet.
The easiest will be to debug the whole setup in a local environment, which I plan to do next in this project.
Hey, I tackled the project again today!
The work today was to set up a local overleaf instance and adapting the code to the servers most recent API. (See also #29)
While adapting the session to the latest Overleaf version today, I also adapted the recognition of project trees. If you are still interested in the project status do not hesitate to try it out & let me know if the current code solved your problem.
Best, da-h
Since, as far as I can tell, exactly this bug has been fixed recently (see #31), I'll close this issue for now.
Should the problem still occur contrary to expectations, please let me know. Feel free to reopen this issue. :)
Im getting prompted to login, even if im logged in already. Doesnt change, when im relogging. Connecting to overleaf seems to work. Also i have browser_cookie3 installed via pip, is there a way to debug that ? There are no errors popping up from withing vim.