"Add new calendar" does not fill 'select callendar' window after google account logon

168 views
Skip to first unread message

Rafael GM

unread,
Nov 4, 2019, 1:42:01 PM11/4/19
to Provider for Google Calendar
Hi.

"Add new calendar" does not list my calendar list after login on google account and click 'allow' button.

It was expected to have a list of calendars, but the window remains blank.

Checking the logs, I found a 400 Bad request after clicking 'allow' button.

Here's what I picked on the console window:

----------------------------------------------------------------------------------
[HTTP/2.0 400 Bad Request 213ms]

Request method:POST
Remote address:172.217.172.205:443
Status code:
400
Version:HTTP/2.0
Response headers (482 B)
Raw headers
alt-svc
quic=":443"; ma=2592000; v="46…00,h3-Q043=":443"; ma=2592000
cache-control
private
content-encoding
gzip
content-length
88
content-type
application/json; charset=utf-8
date
Mon, 04 Nov 2019 18:32:44 GMT
server
ESF
vary
Origin
vary
X-Origin
vary
Referer
x-content-type-options
nosniff
X-Firefox-Spdy
h2
x-frame-options
SAMEORIGIN
x-xss-protection
0
Request headers (429 B)
Raw headers
Accept
*/*
Accept-Encoding
gzip, deflate, br
Accept-Language
pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Cache-Control
no-cache
Connection
keep-alive
Content-Length
286
Content-Type
application/x-www-form-urlencoded; charset=utf-8
Host
Pragma
no-cache
User-Agent
Mozilla/5.0 (Windows NT 6.1; W…rbird/68.2.1 Lightning/68.2.1
Lightning: [calGoogleSession] Authentication failure: undefined gdataSession.jsm:282
[Exception... "null"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gdata-provider/modules/gdataSession.jsm :: login/authFailed< :: line 284"  data: no] gdataSession.jsm:284:33
----------------------------------------------------------------------------------

Hope it helps.

Hanse

unread,
Nov 4, 2019, 3:39:16 PM11/4/19
to Provider for Google Calendar
I've seen similar problems.
If you have not tried, try changing the config setting "general.useragent.compatMode.firefox" to true
and see if it helps. It helped me.

Rafael GM

unread,
Nov 5, 2019, 8:43:01 AM11/5/19
to Provider for Google Calendar
Hi.
It (general.useragent.compatMode.firefox = true) worked for me!
Thankyou so much.

It seems like google api changed something...

jb

unread,
Nov 21, 2019, 7:43:32 AM11/21/19
to Provider for Google Calendar
Hi,
I had the same issue. Setting compatMode.firefox to true also worked for me. Here are the errors I got through the new calendar creation process.

Lightning:[calGoogleSessionManager] Creating session mye...@myprovider.com.au  gdataSession.jsm:73
Lightning:[calGoogleSession] Token expired 1574339162 seconds ago, resetting  gdataSession.jsm:341
Lightning:[calGoogleCalendar] Logging in session mye...@myprovider.com.au  gdataSession.jsm:237
Lightning:[calGoogleCalendar] No access token for mye...@myprovider.com.au, refreshing token  gdataSession.jsm:302
Lightning:"[calGoogleSession] Adding item https://www.googleapis.com/tasks/v1/users/@me/lists to queue"  gdataSession.jsm:358
Lightning:"[calGoogleSession] Adding item https://www.googleapis.com/calendar/v3/users/me/calendarList to queue"  gdataSession.jsm:358
DEPRECATION WARNING: onPromptStart has been replaced by onPromptStartAsync
You may find more details about this deprecation at: https://bugzilla.mozilla.org/show_bug.cgi?id=1176399
jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Thunderbird/omni.ja!/components/msgAsyncPrompter.js 27 _promiseAuthPrompt/<
jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Thunderbird/omni.ja!/components/msgAsyncPrompter.js 21 _promiseAuthPrompt
jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Thunderbird/omni.ja!/components/msgAsyncPrompter.js 44 runnablePrompter.prototype.run<
resource://gre/modules/Task.jsm 326 TaskImpl_run
resource://calendar/modules/utils/calWindowUtils.jsm 26 openCalendarWizard
chrome://calendar/content/calendar-common-sets.js 358 doCommand
chrome://global/content/globalOverlay.js 84 goDoCommand
chrome://messenger/content/messenger.xul 1 oncommand
  Deprecated.jsm:77
Lightning:[calGoogleCalendar] Failed to acquire a new OAuth token for mye...@myprovider.com.au data: {
  "error": "invalid_grant",
  "error_description": "Malformed auth code."
}  gdataSession.jsm:247
Lightning:[calGoogleSession] Authentication failure: {
  "error": "invalid_grant",
  "error_description": "Malformed auth code."
}  gdataSession.jsm:272
[Exception... "invalid_grant"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gdata-provider/modules/gdataSession.jsm :: login/authFailed< :: line 274"  data: no]  (unknown)

Regards,
John.      
Reply all
Reply to author
Forward
0 new messages