Skip to content

Instantly share code, notes, and snippets.

@chenlevy
Created December 22, 2020 15:18
Show Gist options
  • Save chenlevy/af308e5fd288ba383abd43110a3e5d25 to your computer and use it in GitHub Desktop.
Save chenlevy/af308e5fd288ba383abd43110a3e5d25 to your computer and use it in GitHub Desktop.
Could not reach Firestore error backend - debug
[ 0.002s] [diagnostic]
********************************************************
[TEST 1/5: webchannel.googleapis.com with default options] STARTING at 2020-12-22T15:14:07.093Z]
********************************************************
[ 0.015s] [diagnostic] >>> [TEST 1/5: webchannel.googleapis.com with default options] createWebChannel("https://webchannel.googleapis.com/staging/channel/generator", {"backgroundChannelTest":true,"httpSessionIdParam":"gsessionid","initMessageHeaders":{},"sendRawJson":true,"supportsCrossDomainXhr":true,"internalChannelParams":{"forwardChannelRequestTimeoutMs":600000},"httpHeadersOverwriteParam":"$httpHeaders","disableRedact":true})
[ 0.018s] [diagnostic] >>> [TEST 1/5: webchannel.googleapis.com with default options] open()
[ 0.018s] [goog.labs.net.webChannel.WebChannelDebug] connect()
[ 0.019s] [goog.labs.net.webChannel.WebChannelDebug] connect() bypassed channel-test.
[ 0.019s] [goog.labs.net.webChannel.WebChannelDebug] connectTest_()
[ 0.021s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://webchannel.googleapis.com/staging/channel/generator/test?VER=8
[ 0.021s] [goog.labs.net.webChannel.WebChannelDebug] TestConnection: starting stage 2
[ 0.022s] [goog.labs.net.webChannel.WebChannelDebug] Buffered
[ 0.022s] [goog.labs.net.webChannel.WebChannelDebug] Test Connection Finished
[ 0.022s] [goog.labs.net.webChannel.WebChannelDebug] connectChannel_()
[ 0.023s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://webchannel.googleapis.com/staging/channel/generator?VER=8
[ 0.023s] [diagnostic] >>> [TEST 1/5: webchannel.googleapis.com with default options] channel.send({"message":"Hello","message_size":0,"delay_ms":0,"num_messages":5,"message_interval":500,"server_send_raw":0,"server_close":0,"server_half_close":0,"shutdown_server":0})
[ 0.024s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_
[ 0.024s] [goog.labs.net.webChannel.WebChannelDebug] open_()
[ 0.027s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP REQ (94053) [attempt 1]: POST
https://webchannel.googleapis.com/staging/channel/generator?VER=8&RID=94053&CVER=22&X-HTTP-Session-Id=gsessionid&zx=krsvepsf53ck&t=1
count=1&ofs=0&req0___data__=%7B%22message%22%3A%22Hello%22%2C%22message_size%22%3A0%2C%22delay_ms%22%3A0%2C%22num_messages%22%3A5%2C%22message_interval%22%3A500%2C%22server_send_raw%22%3A0%2C%22server_close%22%3A0%2C%22server_half_close%22%3A0%2C%22shutdown_server%22%3A0%7D
[ 22.294s] [goog.labs.net.webChannel.WebChannelDebug] No response text for uri https://webchannel.googleapis.com/staging/channel/generator?VER=8&RID=94053&CVER=22&X-HTTP-Session-Id=gsessionid&zx=krsvepsf53ck&t=1 status 0
[ 22.295s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (94053) [ attempt 1]: POST
https://webchannel.googleapis.com/staging/channel/generator?VER=8&RID=94053&CVER=22&X-HTTP-Session-Id=gsessionid&zx=krsvepsf53ck&t=1
4 0
[ 22.296s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP Bad status 0 (94053)
[ 22.297s] [goog.labs.net.webChannel.WebChannelDebug] Request complete
[ 22.297s] [goog.labs.net.webChannel.WebChannelDebug] Maybe retrying, last error: Non-200 return code (0)
[ 22.298s] [goog.labs.net.webChannel.WebChannelDebug] Exceeded max number of retries
[ 22.298s] [goog.labs.net.webChannel.WebChannelDebug] Error: HTTP request failed
[ 22.298s] [goog.labs.net.webChannel.WebChannelDebug] Error code 2
[ 22.298s] [goog.labs.net.webChannel.WebChannelDebug] TestLoadImage: loading https://www.google.com/images/cleardot.gif?zx=qgq51qabbz9n
[ 22.299s] [goog.labs.net.webChannel.WebChannelDebug] HttpChannel: error - 2
[ 22.299s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel aborted on https://webchannel.googleapis.com/staging/channel/generator due to channel error: 2
[ 22.299s] [diagnostic] >>> [TEST 1/5: webchannel.googleapis.com with default options] channel error: 1
[ 22.299s] [goog.labs.net.webChannel.WebChannelDebug] Number of undelivered maps, pending: 1, outgoing: 0
[ 22.300s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel closed on https://webchannel.googleapis.com/staging/channel/generator
[ 22.300s] [diagnostic] >>> [TEST 1/5: webchannel.googleapis.com with default options] channel closed
[ 22.300s] [diagnostic]
********************************************************
Channel closed before test finished.
********************************************************
[ 22.447s] [goog.labs.net.webChannel.WebChannelDebug] TestLoadImage: loaded
[ 22.449s] [goog.labs.net.webChannel.WebChannelDebug] Successfully pinged google.com
[ 23.801s] [diagnostic]
********************************************************
[TEST 2/5: webchannel.sandbox.google.com with default options] STARTING at 2020-12-22T15:14:30.892Z]
********************************************************
[ 23.804s] [diagnostic] >>> [TEST 2/5: webchannel.sandbox.google.com with default options] createWebChannel("https://webchannel.sandbox.google.com/staging/channel/generator", {"backgroundChannelTest":true,"httpSessionIdParam":"gsessionid","initMessageHeaders":{},"sendRawJson":true,"supportsCrossDomainXhr":true,"internalChannelParams":{"forwardChannelRequestTimeoutMs":600000},"httpHeadersOverwriteParam":"$httpHeaders","disableRedact":true})
[ 23.805s] [diagnostic] >>> [TEST 2/5: webchannel.sandbox.google.com with default options] open()
[ 23.805s] [goog.labs.net.webChannel.WebChannelDebug] connect()
[ 23.805s] [goog.labs.net.webChannel.WebChannelDebug] connect() bypassed channel-test.
[ 23.806s] [goog.labs.net.webChannel.WebChannelDebug] connectTest_()
[ 23.806s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://webchannel.sandbox.google.com/staging/channel/generator/test?VER=8
[ 23.806s] [goog.labs.net.webChannel.WebChannelDebug] TestConnection: starting stage 2
[ 23.807s] [goog.labs.net.webChannel.WebChannelDebug] Buffered
[ 23.807s] [goog.labs.net.webChannel.WebChannelDebug] Test Connection Finished
[ 23.807s] [goog.labs.net.webChannel.WebChannelDebug] connectChannel_()
[ 23.808s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://webchannel.sandbox.google.com/staging/channel/generator?VER=8
[ 23.808s] [diagnostic] >>> [TEST 2/5: webchannel.sandbox.google.com with default options] channel.send({"message":"Hello","message_size":0,"delay_ms":0,"num_messages":5,"message_interval":500,"server_send_raw":0,"server_close":0,"server_half_close":0,"shutdown_server":0})
[ 23.809s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_
[ 23.809s] [goog.labs.net.webChannel.WebChannelDebug] open_()
[ 23.810s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP REQ (76439) [attempt 1]: POST
https://webchannel.sandbox.google.com/staging/channel/generator?VER=8&RID=76439&CVER=22&X-HTTP-Session-Id=gsessionid&zx=3990fru00jfz&t=1
count=1&ofs=0&req0___data__=%7B%22message%22%3A%22Hello%22%2C%22message_size%22%3A0%2C%22delay_ms%22%3A0%2C%22num_messages%22%3A5%2C%22message_interval%22%3A500%2C%22server_send_raw%22%3A0%2C%22server_close%22%3A0%2C%22server_half_close%22%3A0%2C%22shutdown_server%22%3A0%7D
[ 46.096s] [goog.labs.net.webChannel.WebChannelDebug] No response text for uri https://webchannel.sandbox.google.com/staging/channel/generator?VER=8&RID=76439&CVER=22&X-HTTP-Session-Id=gsessionid&zx=3990fru00jfz&t=1 status 0
[ 46.097s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (76439) [ attempt 1]: POST
https://webchannel.sandbox.google.com/staging/channel/generator?VER=8&RID=76439&CVER=22&X-HTTP-Session-Id=gsessionid&zx=3990fru00jfz&t=1
4 0
[ 46.097s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP Bad status 0 (76439)
[ 46.097s] [goog.labs.net.webChannel.WebChannelDebug] Request complete
[ 46.098s] [goog.labs.net.webChannel.WebChannelDebug] Maybe retrying, last error: Non-200 return code (0)
[ 46.098s] [goog.labs.net.webChannel.WebChannelDebug] Exceeded max number of retries
[ 46.098s] [goog.labs.net.webChannel.WebChannelDebug] Error: HTTP request failed
[ 46.098s] [goog.labs.net.webChannel.WebChannelDebug] Error code 2
[ 46.099s] [goog.labs.net.webChannel.WebChannelDebug] TestLoadImage: loading https://www.google.com/images/cleardot.gif?zx=7lhceojn4vff
[ 46.099s] [goog.labs.net.webChannel.WebChannelDebug] HttpChannel: error - 2
[ 46.099s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel aborted on https://webchannel.sandbox.google.com/staging/channel/generator due to channel error: 2
[ 46.099s] [diagnostic] >>> [TEST 2/5: webchannel.sandbox.google.com with default options] channel error: 1
[ 46.100s] [goog.labs.net.webChannel.WebChannelDebug] Number of undelivered maps, pending: 1, outgoing: 0
[ 46.100s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel closed on https://webchannel.sandbox.google.com/staging/channel/generator
[ 46.100s] [diagnostic] >>> [TEST 2/5: webchannel.sandbox.google.com with default options] channel closed
[ 46.100s] [diagnostic]
********************************************************
Channel closed before test finished.
********************************************************
[ 46.175s] [goog.labs.net.webChannel.WebChannelDebug] TestLoadImage: loaded
[ 46.176s] [goog.labs.net.webChannel.WebChannelDebug] Successfully pinged google.com
[ 47.602s] [diagnostic]
********************************************************
[TEST 3/5: webchannel.googleapis.com with forceLongPolling] STARTING at 2020-12-22T15:14:54.693Z]
********************************************************
[ 47.604s] [diagnostic] >>> [TEST 3/5: webchannel.googleapis.com with forceLongPolling] createWebChannel("https://webchannel.googleapis.com/staging/channel/generator", {"backgroundChannelTest":true,"httpSessionIdParam":"gsessionid","initMessageHeaders":{},"sendRawJson":true,"supportsCrossDomainXhr":true,"internalChannelParams":{"forwardChannelRequestTimeoutMs":600000},"httpHeadersOverwriteParam":"$httpHeaders","disableRedact":true,"forceLongPolling":true})
[ 47.606s] [diagnostic] >>> [TEST 3/5: webchannel.googleapis.com with forceLongPolling] open()
[ 47.607s] [goog.labs.net.webChannel.WebChannelDebug] connect()
[ 47.607s] [goog.labs.net.webChannel.WebChannelDebug] connect() bypassed channel-test.
[ 47.608s] [goog.labs.net.webChannel.WebChannelDebug] connectTest_()
[ 47.608s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://webchannel.googleapis.com/staging/channel/generator/test?VER=8
[ 47.608s] [goog.labs.net.webChannel.WebChannelDebug] TestConnection: starting stage 2
[ 47.609s] [goog.labs.net.webChannel.WebChannelDebug] Buffered
[ 47.609s] [goog.labs.net.webChannel.WebChannelDebug] Test Connection Finished
[ 47.609s] [goog.labs.net.webChannel.WebChannelDebug] connectChannel_()
[ 47.609s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://webchannel.googleapis.com/staging/channel/generator?VER=8
[ 47.610s] [diagnostic] >>> [TEST 3/5: webchannel.googleapis.com with forceLongPolling] channel.send({"message":"Hello","message_size":0,"delay_ms":0,"num_messages":5,"message_interval":500,"server_send_raw":0,"server_close":0,"server_half_close":0,"shutdown_server":0})
[ 47.610s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_
[ 47.610s] [goog.labs.net.webChannel.WebChannelDebug] open_()
[ 47.611s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP REQ (90504) [attempt 1]: POST
https://webchannel.googleapis.com/staging/channel/generator?VER=8&RID=90504&CVER=22&X-HTTP-Session-Id=gsessionid&zx=zepif0fmx9g1&t=1
count=1&ofs=0&req0___data__=%7B%22message%22%3A%22Hello%22%2C%22message_size%22%3A0%2C%22delay_ms%22%3A0%2C%22num_messages%22%3A5%2C%22message_interval%22%3A500%2C%22server_send_raw%22%3A0%2C%22server_close%22%3A0%2C%22server_half_close%22%3A0%2C%22shutdown_server%22%3A0%7D
[ 67.558s] [goog.labs.net.webChannel.WebChannelDebug] No response text for uri https://webchannel.googleapis.com/staging/channel/generator?VER=8&RID=90504&CVER=22&X-HTTP-Session-Id=gsessionid&zx=zepif0fmx9g1&t=1 status 0
[ 67.560s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (90504) [ attempt 1]: POST
https://webchannel.googleapis.com/staging/channel/generator?VER=8&RID=90504&CVER=22&X-HTTP-Session-Id=gsessionid&zx=zepif0fmx9g1&t=1
4 0
[ 67.562s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP Bad status 0 (90504)
[ 67.562s] [goog.labs.net.webChannel.WebChannelDebug] Request complete
[ 67.563s] [goog.labs.net.webChannel.WebChannelDebug] Maybe retrying, last error: Non-200 return code (0)
[ 67.563s] [goog.labs.net.webChannel.WebChannelDebug] Exceeded max number of retries
[ 67.563s] [goog.labs.net.webChannel.WebChannelDebug] Error: HTTP request failed
[ 67.563s] [goog.labs.net.webChannel.WebChannelDebug] Error code 2
[ 67.564s] [goog.labs.net.webChannel.WebChannelDebug] TestLoadImage: loading https://www.google.com/images/cleardot.gif?zx=w8aoi6lutrja
[ 67.564s] [goog.labs.net.webChannel.WebChannelDebug] HttpChannel: error - 2
[ 67.565s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel aborted on https://webchannel.googleapis.com/staging/channel/generator due to channel error: 2
[ 67.565s] [diagnostic] >>> [TEST 3/5: webchannel.googleapis.com with forceLongPolling] channel error: 1
[ 67.565s] [goog.labs.net.webChannel.WebChannelDebug] Number of undelivered maps, pending: 1, outgoing: 0
[ 67.566s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel closed on https://webchannel.googleapis.com/staging/channel/generator
[ 67.566s] [diagnostic] >>> [TEST 3/5: webchannel.googleapis.com with forceLongPolling] channel closed
[ 67.566s] [diagnostic]
********************************************************
Channel closed before test finished.
********************************************************
[ 67.639s] [goog.labs.net.webChannel.WebChannelDebug] TestLoadImage: loaded
[ 67.640s] [goog.labs.net.webChannel.WebChannelDebug] Successfully pinged google.com
[ 69.067s] [diagnostic]
********************************************************
[TEST 4/5: Firestore listen test with default options] STARTING at 2020-12-22T15:15:16.158Z]
********************************************************
[ 69.068s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] createWebChannel("https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel", {"backgroundChannelTest":true,"httpSessionIdParam":"gsessionid","initMessageHeaders":{},"sendRawJson":true,"supportsCrossDomainXhr":true,"internalChannelParams":{"forwardChannelRequestTimeoutMs":600000},"httpHeadersOverwriteParam":"$httpHeaders","disableRedact":true,"forceLongPolling":true,"messageUrlParams":{"database":"projects/debug-my/databases/(default)"}})
[ 69.069s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] open()
[ 69.069s] [goog.labs.net.webChannel.WebChannelDebug] connect()
[ 69.070s] [goog.labs.net.webChannel.WebChannelDebug] connect() bypassed channel-test.
[ 69.070s] [goog.labs.net.webChannel.WebChannelDebug] connectTest_()
[ 69.071s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel/test?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8
[ 69.072s] [goog.labs.net.webChannel.WebChannelDebug] TestConnection: starting stage 2
[ 69.072s] [goog.labs.net.webChannel.WebChannelDebug] Buffered
[ 69.073s] [goog.labs.net.webChannel.WebChannelDebug] Test Connection Finished
[ 69.073s] [goog.labs.net.webChannel.WebChannelDebug] connectChannel_()
[ 69.073s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8
[ 69.074s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] channel.send({"database":"projects/debug-my/databases/(default)","addTarget":{"query":{"structuredQuery":{"from":[{"collectionId":"debug"}],"orderBy":[{"field":{"fieldPath":"__name__"},"direction":"ASCENDING"}]},"parent":"projects/debug-my/databases/(default)/documents"},"targetId":2}})
[ 69.075s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_
[ 69.075s] [goog.labs.net.webChannel.WebChannelDebug] open_()
[ 69.076s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP REQ (35458) [attempt 1]: POST
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8&RID=35458&CVER=22&X-HTTP-Session-Id=gsessionid&zx=2w53y2tfd0i4&t=1
count=1&ofs=0&req0___data__=%7B%22database%22%3A%22projects%2Fdebug-my%2Fdatabases%2F(default)%22%2C%22addTarget%22%3A%7B%22query%22%3A%7B%22structuredQuery%22%3A%7B%22from%22%3A%5B%7B%22collectionId%22%3A%22debug%22%7D%5D%2C%22orderBy%22%3A%5B%7B%22field%22%3A%7B%22fieldPath%22%3A%22__name__%22%7D%2C%22direction%22%3A%22ASCENDING%22%7D%5D%7D%2C%22parent%22%3A%22projects%2Fdebug-my%2Fdatabases%2F(default)%2Fdocuments%22%7D%2C%22targetId%22%3A2%7D%7D
[ 69.286s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (35458) [ attempt 1]: POST
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8&RID=35458&CVER=22&X-HTTP-Session-Id=gsessionid&zx=2w53y2tfd0i4&t=1
3 200
[ 69.291s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP TEXT (35458): [[0,["c","vGirGSmTcBFreipM8Nt4GA","",8,12,30000]]]
[ 69.292s] [goog.labs.net.webChannel.WebChannelDebug] VER=8
[ 69.292s] [goog.labs.net.webChannel.WebChannelDebug] SVER=12
[ 69.292s] [goog.labs.net.webChannel.WebChannelDebug] backChannelRequestTimeoutMs_=45000
[ 69.293s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel opened on https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel
[ 69.293s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] channel opened: 225ms (1608650116384)
concurrent request limit : 10
isSpdyEnabled : true
[ 69.294s] [goog.labs.net.webChannel.WebChannelDebug] GetBackChannelUri: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=5Cgg3SfvYgcjYNoklJZeJS1mbbOCy9EV8rgjyOoY3wc&VER=8
[ 69.294s] [goog.labs.net.webChannel.WebChannelDebug] Creating new HttpRequest
[ 69.295s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP REQ (rpc) [attempt 1]: GET
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=5Cgg3SfvYgcjYNoklJZeJS1mbbOCy9EV8rgjyOoY3wc&VER=8&RID=rpc&SID=vGirGSmTcBFreipM8Nt4GA&CI=1&AID=0&TYPE=xmlhttp&zx=c75k729ozlek&t=1
null
[ 69.296s] [goog.labs.net.webChannel.WebChannelDebug] New Request created
[ 69.297s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (35458) [ attempt 1]: POST
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8&RID=35458&CVER=22&X-HTTP-Session-Id=gsessionid&zx=2w53y2tfd0i4&t=1
4 200
[ 69.297s] [goog.labs.net.webChannel.WebChannelDebug] Request complete
[ 69.298s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_
[ 69.298s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_ returned: nothing to send
[ 69.470s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (rpc) [ attempt 1]: GET
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=5Cgg3SfvYgcjYNoklJZeJS1mbbOCy9EV8rgjyOoY3wc&VER=8&RID=rpc&SID=vGirGSmTcBFreipM8Nt4GA&CI=1&AID=0&TYPE=xmlhttp&zx=c75k729ozlek&t=1
3 200
[ 69.473s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP TEXT (rpc): [[1,[{
"targetChange": {
"targetChangeType": "ADD",
"targetIds": [
2
]
}
}
]],[2,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/000",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 0"
}
},
"createTime": "2019-12-28T19:50:18.256728Z",
"updateTime": "2019-12-28T19:50:18.256728Z"
},
"targetIds": [
2
]
}
}
]],[3,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/001",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 1"
}
},
"createTime": "2019-12-28T19:50:31.803733Z",
"updateTime": "2019-12-28T19:50:31.803733Z"
},
"targetIds": [
2
]
}
}
]],[4,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/002",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 2"
}
},
"createTime": "2019-12-28T19:50:37.682905Z",
"updateTime": "2019-12-28T19:50:43.797778Z"
},
"targetIds": [
2
]
}
}
]],[5,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/003",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 3"
}
},
"createTime": "2019-12-28T19:50:52.602052Z",
"updateTime": "2019-12-28T19:50:52.602052Z"
},
"targetIds": [
2
]
}
}
]],[6,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/004",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 4"
}
},
"createTime": "2019-12-28T19:50:59.545646Z",
"updateTime": "2019-12-28T19:50:59.545646Z"
},
"targetIds": [
2
]
}
}
]],[7,[{
"targetChange": {
"targetChangeType": "CURRENT",
"targetIds": [
2
],
"resumeToken": "CgkIzMnJ1fDh7QI=",
"readTime": "2020-12-22T15:15:15.409100Z"
}
}
]],[8,[{
"targetChange": {
"resumeToken": "CgkIzMnJ1fDh7QI=",
"readTime": "2020-12-22T15:15:15.409100Z"
}
}
]]]
[ 69.485s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] Received message: [{"targetChange":{"targetChangeType":"ADD","targetIds":[2]}}]
[ 69.487s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] Received message: [{"documentChange":{"document":{"name":"projects/debug-my/databases/(default)/documents/debug/000","fields":{"desc":{"stringValue":"Diagnostic Document 0"}},"createTime":"2019-12-28T19:50:18.256728Z","updateTime":"2019-12-28T19:50:18.256728Z"},"targetIds":[2]}}]
[ 69.489s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] Received message: [{"documentChange":{"document":{"name":"projects/debug-my/databases/(default)/documents/debug/001","fields":{"desc":{"stringValue":"Diagnostic Document 1"}},"createTime":"2019-12-28T19:50:31.803733Z","updateTime":"2019-12-28T19:50:31.803733Z"},"targetIds":[2]}}]
[ 69.491s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] Received message: [{"documentChange":{"document":{"name":"projects/debug-my/databases/(default)/documents/debug/002","fields":{"desc":{"stringValue":"Diagnostic Document 2"}},"createTime":"2019-12-28T19:50:37.682905Z","updateTime":"2019-12-28T19:50:43.797778Z"},"targetIds":[2]}}]
[ 69.493s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] Received message: [{"documentChange":{"document":{"name":"projects/debug-my/databases/(default)/documents/debug/003","fields":{"desc":{"stringValue":"Diagnostic Document 3"}},"createTime":"2019-12-28T19:50:52.602052Z","updateTime":"2019-12-28T19:50:52.602052Z"},"targetIds":[2]}}]
[ 69.494s] [diagnostic]
********************************************************
[TEST 4/5: Firestore listen test with default options] completed successfully.
********************************************************
[ 69.496s] [goog.labs.net.webChannel.WebChannelDebug] disconnect()
[ 69.497s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel closed on https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel
[ 69.497s] [diagnostic] >>> [TEST 4/5: Firestore listen test with default options] channel closed
[ 70.998s] [diagnostic]
********************************************************
[TEST 5/5: Firestore listen test with forceLongPolling] STARTING at 2020-12-22T15:15:18.089Z]
********************************************************
[ 71.002s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] createWebChannel("https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel", {"backgroundChannelTest":true,"httpSessionIdParam":"gsessionid","initMessageHeaders":{},"sendRawJson":true,"supportsCrossDomainXhr":true,"internalChannelParams":{"forwardChannelRequestTimeoutMs":600000},"httpHeadersOverwriteParam":"$httpHeaders","disableRedact":true,"forceLongPolling":true,"messageUrlParams":{"database":"projects/debug-my/databases/(default)"}})
[ 71.004s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] open()
[ 71.005s] [goog.labs.net.webChannel.WebChannelDebug] connect()
[ 71.005s] [goog.labs.net.webChannel.WebChannelDebug] connect() bypassed channel-test.
[ 71.006s] [goog.labs.net.webChannel.WebChannelDebug] connectTest_()
[ 71.006s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel/test?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8
[ 71.007s] [goog.labs.net.webChannel.WebChannelDebug] TestConnection: starting stage 2
[ 71.007s] [goog.labs.net.webChannel.WebChannelDebug] Buffered
[ 71.008s] [goog.labs.net.webChannel.WebChannelDebug] Test Connection Finished
[ 71.008s] [goog.labs.net.webChannel.WebChannelDebug] connectChannel_()
[ 71.009s] [goog.labs.net.webChannel.WebChannelDebug] GetForwardChannelUri: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8
[ 71.009s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] channel.send({"database":"projects/debug-my/databases/(default)","addTarget":{"query":{"structuredQuery":{"from":[{"collectionId":"debug"}],"orderBy":[{"field":{"fieldPath":"__name__"},"direction":"ASCENDING"}]},"parent":"projects/debug-my/databases/(default)/documents"},"targetId":2}})
[ 71.010s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_
[ 71.011s] [goog.labs.net.webChannel.WebChannelDebug] open_()
[ 71.012s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP REQ (89971) [attempt 1]: POST
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8&RID=89971&CVER=22&X-HTTP-Session-Id=gsessionid&zx=7q2booqijicv&t=1
count=1&ofs=0&req0___data__=%7B%22database%22%3A%22projects%2Fdebug-my%2Fdatabases%2F(default)%22%2C%22addTarget%22%3A%7B%22query%22%3A%7B%22structuredQuery%22%3A%7B%22from%22%3A%5B%7B%22collectionId%22%3A%22debug%22%7D%5D%2C%22orderBy%22%3A%5B%7B%22field%22%3A%7B%22fieldPath%22%3A%22__name__%22%7D%2C%22direction%22%3A%22ASCENDING%22%7D%5D%7D%2C%22parent%22%3A%22projects%2Fdebug-my%2Fdatabases%2F(default)%2Fdocuments%22%7D%2C%22targetId%22%3A2%7D%7D
[ 71.193s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (89971) [ attempt 1]: POST
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8&RID=89971&CVER=22&X-HTTP-Session-Id=gsessionid&zx=7q2booqijicv&t=1
3 200
[ 71.196s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP TEXT (89971): [[0,["c","3yWzp_2waA9dcQZ6NRwhcg","",8,12,30000]]]
[ 71.198s] [goog.labs.net.webChannel.WebChannelDebug] VER=8
[ 71.200s] [goog.labs.net.webChannel.WebChannelDebug] SVER=12
[ 71.201s] [goog.labs.net.webChannel.WebChannelDebug] backChannelRequestTimeoutMs_=45000
[ 71.203s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel opened on https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel
[ 71.205s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] channel opened: 203ms (1608650118296)
concurrent request limit : 10
isSpdyEnabled : true
[ 71.207s] [goog.labs.net.webChannel.WebChannelDebug] GetBackChannelUri: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=TjC7fwFmAL4Cg6m1lKf4PAkP9uFl3x-usgba-sLptX4&VER=8
[ 71.209s] [goog.labs.net.webChannel.WebChannelDebug] Creating new HttpRequest
[ 71.212s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP REQ (rpc) [attempt 1]: GET
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=TjC7fwFmAL4Cg6m1lKf4PAkP9uFl3x-usgba-sLptX4&VER=8&RID=rpc&SID=3yWzp_2waA9dcQZ6NRwhcg&CI=1&AID=0&TYPE=xmlhttp&zx=mbgvy9vclqxs&t=1
null
[ 71.213s] [goog.labs.net.webChannel.WebChannelDebug] New Request created
[ 71.215s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (89971) [ attempt 1]: POST
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&VER=8&RID=89971&CVER=22&X-HTTP-Session-Id=gsessionid&zx=7q2booqijicv&t=1
4 200
[ 71.217s] [goog.labs.net.webChannel.WebChannelDebug] Request complete
[ 71.218s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_
[ 71.219s] [goog.labs.net.webChannel.WebChannelDebug] startForwardChannel_ returned: nothing to send
[ 71.392s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (rpc) [ attempt 1]: GET
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=TjC7fwFmAL4Cg6m1lKf4PAkP9uFl3x-usgba-sLptX4&VER=8&RID=rpc&SID=3yWzp_2waA9dcQZ6NRwhcg&CI=1&AID=0&TYPE=xmlhttp&zx=mbgvy9vclqxs&t=1
3 200
[ 71.395s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP TEXT (rpc): [[1,[{
"targetChange": {
"targetChangeType": "ADD",
"targetIds": [
2
]
}
}
]]]
[ 71.396s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] Received message: [{"targetChange":{"targetChangeType":"ADD","targetIds":[2]}}]
[ 71.397s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (rpc) [ attempt 1]: GET
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=TjC7fwFmAL4Cg6m1lKf4PAkP9uFl3x-usgba-sLptX4&VER=8&RID=rpc&SID=3yWzp_2waA9dcQZ6NRwhcg&CI=1&AID=0&TYPE=xmlhttp&zx=mbgvy9vclqxs&t=1
4 200
[ 71.398s] [goog.labs.net.webChannel.WebChannelDebug] Request complete
[ 71.398s] [goog.labs.net.webChannel.WebChannelDebug] Creating new HttpRequest
[ 71.399s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP REQ (rpc) [attempt 1]: GET
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=TjC7fwFmAL4Cg6m1lKf4PAkP9uFl3x-usgba-sLptX4&VER=8&RID=rpc&SID=3yWzp_2waA9dcQZ6NRwhcg&CI=1&AID=1&TYPE=xmlhttp&zx=hbjy6s3c5zxd&t=1
null
[ 71.400s] [goog.labs.net.webChannel.WebChannelDebug] New Request created
[ 71.574s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP RESP (rpc) [ attempt 1]: GET
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?database=projects%2Fdebug-my%2Fdatabases%2F(default)&gsessionid=TjC7fwFmAL4Cg6m1lKf4PAkP9uFl3x-usgba-sLptX4&VER=8&RID=rpc&SID=3yWzp_2waA9dcQZ6NRwhcg&CI=1&AID=1&TYPE=xmlhttp&zx=hbjy6s3c5zxd&t=1
3 200
[ 71.578s] [goog.labs.net.webChannel.WebChannelDebug] XMLHTTP TEXT (rpc): [[2,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/000",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 0"
}
},
"createTime": "2019-12-28T19:50:18.256728Z",
"updateTime": "2019-12-28T19:50:18.256728Z"
},
"targetIds": [
2
]
}
}
]],[3,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/001",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 1"
}
},
"createTime": "2019-12-28T19:50:31.803733Z",
"updateTime": "2019-12-28T19:50:31.803733Z"
},
"targetIds": [
2
]
}
}
]],[4,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/002",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 2"
}
},
"createTime": "2019-12-28T19:50:37.682905Z",
"updateTime": "2019-12-28T19:50:43.797778Z"
},
"targetIds": [
2
]
}
}
]],[5,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/003",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 3"
}
},
"createTime": "2019-12-28T19:50:52.602052Z",
"updateTime": "2019-12-28T19:50:52.602052Z"
},
"targetIds": [
2
]
}
}
]],[6,[{
"documentChange": {
"document": {
"name": "projects/debug-my/databases/(default)/documents/debug/004",
"fields": {
"desc": {
"stringValue": "Diagnostic Document 4"
}
},
"createTime": "2019-12-28T19:50:59.545646Z",
"updateTime": "2019-12-28T19:50:59.545646Z"
},
"targetIds": [
2
]
}
}
]],[7,[{
"targetChange": {
"targetChangeType": "CURRENT",
"targetIds": [
2
],
"resumeToken": "CgkIi+a91vDh7QI=",
"readTime": "2020-12-22T15:15:17.313291Z"
}
}
]],[8,[{
"targetChange": {
"resumeToken": "CgkIi+a91vDh7QI=",
"readTime": "2020-12-22T15:15:17.313291Z"
}
}
]]]
[ 71.580s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] Received message: [{"documentChange":{"document":{"name":"projects/debug-my/databases/(default)/documents/debug/000","fields":{"desc":{"stringValue":"Diagnostic Document 0"}},"createTime":"2019-12-28T19:50:18.256728Z","updateTime":"2019-12-28T19:50:18.256728Z"},"targetIds":[2]}}]
[ 71.581s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] Received message: [{"documentChange":{"document":{"name":"projects/debug-my/databases/(default)/documents/debug/001","fields":{"desc":{"stringValue":"Diagnostic Document 1"}},"createTime":"2019-12-28T19:50:31.803733Z","updateTime":"2019-12-28T19:50:31.803733Z"},"targetIds":[2]}}]
[ 71.581s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] Received message: [{"documentChange":{"document":{"name":"projects/debug-my/databases/(default)/documents/debug/002","fields":{"desc":{"stringValue":"Diagnostic Document 2"}},"createTime":"2019-12-28T19:50:37.682905Z","updateTime":"2019-12-28T19:50:43.797778Z"},"targetIds":[2]}}]
[ 71.582s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] Received message: [{"documentChange":{"document":{"name":"projects/debug-my/databases/(default)/documents/debug/003","fields":{"desc":{"stringValue":"Diagnostic Document 3"}},"createTime":"2019-12-28T19:50:52.602052Z","updateTime":"2019-12-28T19:50:52.602052Z"},"targetIds":[2]}}]
[ 71.582s] [diagnostic]
********************************************************
[TEST 5/5: Firestore listen test with forceLongPolling] completed successfully.
********************************************************
[ 71.583s] [goog.labs.net.webChannel.WebChannelDebug] disconnect()
[ 71.584s] [goog.labs.net.webChannel.WebChannelBaseTransport] WebChannel closed on https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel
[ 71.584s] [diagnostic] >>> [TEST 5/5: Firestore listen test with forceLongPolling] channel closed
[ 73.086s] [diagnostic]
********************************************************
All tests done.
1: webchannel.googleapis.com with default options: FAILED (22298ms)
2: webchannel.sandbox.google.com with default options: FAILED (22299ms)
3: webchannel.googleapis.com with forceLongPolling: FAILED (19964ms)
4: Firestore listen test with default options: SUCCEEDED (427ms)
5: Firestore listen test with forceLongPolling: SUCCEEDED (584ms)
********************************************************
[114.501s] [goog.labs.net.webChannel.WebChannelDebug] TIMEOUT: null
[116.584s] [goog.labs.net.webChannel.WebChannelDebug] TIMEOUT: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment