org-web icon indicating copy to clipboard operation
org-web copied to clipboard

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

Open aczzdx opened this issue 4 years ago • 21 comments

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.

aczzdx avatar Sep 18 '19 23:09 aczzdx

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

danfan1 avatar Sep 23 '19 04:09 danfan1

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!

DanielDe avatar Sep 23 '19 16:09 DanielDe

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.

aczzdx avatar Sep 24 '19 02:09 aczzdx

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!

DanielDe avatar Sep 24 '19 03:09 DanielDe

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

sai-prasanna avatar Jan 24 '20 07:01 sai-prasanna

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).

DanielDe avatar Jan 24 '20 17:01 DanielDe

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.

DanielDe avatar Jan 24 '20 17:01 DanielDe

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

sai-prasanna avatar Jan 26 '20 12:01 sai-prasanna

@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!

DanielDe avatar Jan 27 '20 01:01 DanielDe

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

JonathanReeve avatar Feb 10 '20 17:02 JonathanReeve

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!

DanielDe avatar Feb 11 '20 04:02 DanielDe

Sure.

JonathanReeve avatar Feb 13 '20 19:02 JonathanReeve

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

johnhamelink avatar Jun 18 '20 15:06 johnhamelink

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!

DanielDe avatar Jun 19 '20 01:06 DanielDe

Hope this helps!

Screenshot_2020-06-19_02-05-50

johnhamelink avatar Jun 19 '20 01:06 johnhamelink

Hi all,

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

tbc3 avatar Oct 01 '20 19:10 tbc3

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.

DanielDe avatar Oct 01 '20 20:10 DanielDe

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!

tbc3 avatar Oct 12 '20 15:10 tbc3

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.

ngharrison avatar Jan 04 '21 20:01 ngharrison

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.

DanielDe avatar Jan 04 '21 21:01 DanielDe

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.

ngharrison avatar Jan 05 '21 06:01 ngharrison