Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Load the list of files in Google Drive from org-web.org #73

Open
aczzdx opened this issue Sep 18, 2019 · 21 comments
Open

Cannot Load the list of files in Google Drive from org-web.org #73

aczzdx opened this issue Sep 18, 2019 · 21 comments

Comments

@aczzdx
Copy link

aczzdx commented Sep 18, 2019

Hi.

I was able to use org-web from https://org-web.org/ with Google Drive on Firefox several weeks ago. However, when I tried to sign in today, I found that after I signed in to my Google account, the application cannot load the file list and it went back to the first page (https://org-web.org/).

I checked the HTTP requests. The status codes for the two HTTP request to Google Drive API are 403 with the following payload:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceededUnreg",
    "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
    "extendedHelp": "https://code.google.com/apis/console"
   }
  ],
  "code": 403,
  "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
 }
}

I am using Firefox 69.0 on Mac OS X 10.14, and I tried to sign in again after clearing the cache, but the problem still happened. Is there something I could do on my local machine to fix this problem?

Thanks in advance.

@danfan1
Copy link

danfan1 commented Sep 23, 2019

I am seeing the same error on Chrome (Chrome 77 on Mac OS X 10.14). The error payload is the same as above.

@DanielDe
Copy link
Owner

Hey sorry for the slow response @aczzdx and @danfan1.

This certainly looks like some kind of quota overuse, but Google's developer doesn't seem to indicate that there have been any problems. But I'll see if I can raise the limit!

@aczzdx
Copy link
Author

aczzdx commented Sep 24, 2019

Hi @DanielDe,

Thanks for your reply and your attention on this issue.

I am looking forward to the raising limit of Google API, but I am also thinking about run org-web on my local machine.

Thanks again for your wonderful project.

@DanielDe
Copy link
Owner

I think that's a great solution @aczzdx. Its pretty straightforward to set up your own Google Drive app and substitute the key in org-web. Let me know if I can help you with that!

@sai-prasanna
Copy link

I get the same issue now. Is self-hosting the optimal way to run org-web?

@DanielDe
Copy link
Owner

hey @sai-prasanna - yeah, when I reached out about that limit I don't think I actually got a response. I'll follow up on that and see what I can do!

Since Dropbox works fine still (org-web is already a "production" app on Dropbox), another simple solution is to install Dropbox and use it exclusively to sync your org files (via a symlink).

Repository owner deleted a comment from munen Jan 24, 2020
@DanielDe
Copy link
Owner

Hmm, interestingly I'm not showing anything close to hitting the quota on the API console, and I'm able to log in just fine.

@sai-prasanna are you still experiencing the issue? Also, did you post that comment as soon as you hit it the first time? Knowing exactly when this happened may help me track down the issue.

@sai-prasanna
Copy link

Yeah, I posted the comment as soon as I and my colleague hit it. It happens in both firefox and chrome.

@DanielDe
Copy link
Owner

@sai-prasanna any chance you'd be willing to hop on a Google Hangout (or similar) to help me debug this? Since I can't seem to reproduce this myself it could be really helpful to see whats happening on your screen. If so, I'll send you some contact info so we can set up a call!

@JonathanReeve
Copy link

I can confirm that this is happening on my end, as well, for what it's worth. It appears to happen across browsers.

@DanielDe
Copy link
Owner

Ah good to know. Would you be willing to hop on a screen share with me @JonathanReeve to help diagnose the issue? I’d super appreciate it!

@JonathanReeve
Copy link

Sure.

@johnhamelink
Copy link

Hey there, I'm also experiencing this issue - is there anything I can do to help debug? I'm running Firefox 77.0.1 on Arch Linux

@DanielDe
Copy link
Owner

Hey there, I'm also experiencing this issue - is there anything I can do to help debug? I'm running Firefox 77.0.1 on Arch Linux

A quick screenshot of the console in your developer tools would be helpful!

@johnhamelink
Copy link

Hope this helps!

Screenshot_2020-06-19_02-05-50

@tbc3
Copy link

tbc3 commented Oct 1, 2020

Hi all,

any news on this issue? I have it as well.

@DanielDe
Copy link
Owner

DanielDe commented Oct 1, 2020

Hey @tbc3, unfortunately, no, I haven't been able to figure this one out yet (I also have pretty limited time to spend on this these days). Dropbox still seems to work great, so if possible I'd recommend syncing your org file with Dropbox.

@tbc3
Copy link

tbc3 commented Oct 12, 2020

the problem I have, which isn't yours, in dropbox limits me to 3 connections on the free side. I choose google for my online storage so I can connect to several machines. I'll keep watching in case you get time to work on it. Thanks!

@ngharrison
Copy link

I just found this web app and am interested in its Google Drive support (I have the same issue on my attempts to use it). Since I'm new to this discussion, this may already have been investigated, but I have found something related in my searching. The two answers on to this post appear relevant:

https://stackoverflow.com/questions/12503437/google-drive-service-account-returns-403-usagelimits

Possibly missing authentication information on the server side.

@DanielDe
Copy link
Owner

DanielDe commented Jan 4, 2021

Thanks for the link, @ngharrison! Dropbox is issuing some update for their API soon, so I'll be taking a look at both syncing solutions again in the near future.

@ngharrison
Copy link

Sounds great! I can contribute or debug if you can think of a way. It just seemed to me like it mostly has to do with the connected Google API account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants