firebase / firebase-tools

The Firebase Command Line Tools
MIT License
4.02k stars 937 forks source link

Failed to deploy cloud functions #796

Closed hydrated closed 6 years ago

hydrated commented 6 years ago

Version info

firebase-tools@3.18.6

Platform Information

Mac-os

Steps to reproduce

firebase deploy --only functions

Expected behavior

Successful deployment of functions

Actual behavior

Stuck at the end of deploying. Never finished and all deployed functions are not functional.

The log shows it keeps getting requests and response 200 and go infinity looping. Notice it didn't happen before 2018/6/6 .

Debug.Logs

[debug] [2018-06-12T03:48:24.197Z] ---------------------------------------------------------------------- [debug] [2018-06-12T03:48:24.199Z] Command: /usr/local/bin/node /usr/local/bin/firebase deploy --only functions [debug] [2018-06-12T03:48:24.199Z] CLI Version: 3.18.6 [debug] [2018-06-12T03:48:24.199Z] Platform: darwin [debug] [2018-06-12T03:48:24.199Z] Node Version: v8.11.2 [debug] [2018-06-12T03:48:24.200Z] Time: Tue Jun 12 2018 11:48:24 GMT+0800 (CST) [debug] [2018-06-12T03:48:24.200Z] ---------------------------------------------------------------------- [debug] [debug] [2018-06-12T03:48:24.210Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"] [debug] [2018-06-12T03:48:24.210Z] > authorizing via signed-in user [debug] [2018-06-12T03:48:24.212Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/rw-people-ops

Tue Jun 12 2018 11:48:24 GMT+0800 (CST) [debug] [2018-06-12T03:48:25.129Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:25.130Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/rw-people-ops/tokens

Tue Jun 12 2018 11:48:25 GMT+0800 (CST) [debug] [2018-06-12T03:48:25.936Z] <<< HTTP RESPONSE 200 [info] [info] === Deploying to 'rw-people-ops'... [info] [info] i deploying functions [debug] [2018-06-12T03:48:28.503Z] > [functions] package.json contents: { "name": "functions", "description": "Cloud Functions for Firebase", "dependencies": { "firebase-admin": "^5.11.0", "firebase-functions": "^1.0.4", "mailgun-js": "^0.18.0", "moment": "^2.20.1", "request": "^2.81.0", "request-promise": "^4.2.1" }, "private": true } [info] i functions: ensuring necessary APIs are enabled... [debug] [2018-06-12T03:48:28.504Z] >>> HTTP REQUEST GET https://servicemanagement.googleapis.com/v1/services/cloudfunctions.googleapis.com/projectSettings/rw-people-ops?view=CONSUMER_VIEW

Tue Jun 12 2018 11:48:28 GMT+0800 (CST) [debug] [2018-06-12T03:48:28.504Z] >>> HTTP REQUEST GET https://servicemanagement.googleapis.com/v1/services/runtimeconfig.googleapis.com/projectSettings/rw-people-ops?view=CONSUMER_VIEW

Tue Jun 12 2018 11:48:28 GMT+0800 (CST) [debug] [2018-06-12T03:48:29.774Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:30.524Z] <<< HTTP RESPONSE 200 [info] ✔ functions: all necessary APIs are enabled [debug] [2018-06-12T03:48:30.525Z] >>> HTTP REQUEST GET https://cloudresourcemanager.googleapis.com/v1/projects/rw-people-ops

Tue Jun 12 2018 11:48:30 GMT+0800 (CST) [debug] [2018-06-12T03:48:31.747Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:31.748Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/309309327480:getServerAppConfig

Tue Jun 12 2018 11:48:31 GMT+0800 (CST) [debug] [2018-06-12T03:48:32.361Z] <<< HTTP RESPONSE 200 [info] i functions: preparing functions directory for uploading... [debug] [2018-06-12T03:48:32.364Z] >>> HTTP REQUEST GET https://runtimeconfig.googleapis.com/v1beta1/projects/rw-people-ops/configs

Tue Jun 12 2018 11:48:32 GMT+0800 (CST) [debug] [2018-06-12T03:48:32.614Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:32.615Z] >>> HTTP REQUEST GET https://runtimeconfig.googleapis.com/v1beta1/projects/rw-people-ops/configs/general/variables

Tue Jun 12 2018 11:48:32 GMT+0800 (CST) [debug] [2018-06-12T03:48:32.851Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:32.852Z] >>> HTTP REQUEST GET https://runtimeconfig.googleapis.com/v1beta1/projects/rw-people-ops/configs/general/variables/env

Tue Jun 12 2018 11:48:32 GMT+0800 (CST) [debug] [2018-06-12T03:48:33.085Z] <<< HTTP RESPONSE 200 [info] i functions: packaged functions (45.87 KB) for uploading [debug] [2018-06-12T03:48:33.654Z] >>> HTTP REQUEST POST https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions:generateUploadUrl

Tue Jun 12 2018 11:48:33 GMT+0800 (CST) [debug] [2018-06-12T03:48:34.204Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:34.205Z] >>> HTTP REQUEST PUT https://storage.googleapis.com/gcf-upload-us-central1-3c809d89-a2ac-4764-8c96-509c9b337c53/65348bc4-08ea-42e2-be0f-29d3149f6a71.zip?GoogleAccessId=service-309309327480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1528777113&Signature=VF%2BduAyDW8g8xZVoPxSiZLpVy3NL%2BwP2RdenKa1LeVnECeaqG9b71X5dbGX9t3U9vADV0WQ8Sb5GuJ6yFKGyiApA04VGUBibk%2FySFUc2GcMCZUMzNuvfOUTWCFNMk%2Bxe6MbPQO%2Fqx1etvd%2FUSkkK%2FMCloqB2i8Y4mHH4lBa8g8yAlhYprGrkHp2YjBzpzHXrr3UTxFWeP199fnXB8vZe2KkV%2Bfqw0L7CZefhXCFiAT5lag96onZQZIniOsYctk%2FhdBLtCU4vTYaqSDV%2Ft70K2wmf4vdbt1gWAdw%2F6RSYrMMGHnYupTzKpsEfOrygTYmmoSVPOxDsbf4F1tpfSQF%2F0Q%3D%3D
ReadStream { _readableState: ReadableState { objectMode: false, highWaterMark: 65536, buffer: BufferList { head: [Object], tail: [Object], length: 1 }, length: 46972, pipes: null, pipesCount: 0, flowing: null, ended: true, endEmitted: false, reading: false, sync: false, needReadable: false, emittedReadable: true, readableListening: false, resumeScheduled: false, destroyed: false, defaultEncoding: 'utf8', awaitDrain: 0, readingMore: false, decoder: null, encoding: null }, readable: true, domain: null, _events: { end: [Function] }, _eventsCount: 1, _maxListeners: undefined, path: '/var/folders/8b/1_dxvmkn6wzbb2tcbwznt4sh0000gn/T/firebase-functions-1658Liwf4wNxv4h6.zip', fd: 19, flags: 'r', mode: 438, start: undefined, end: Infinity, autoClose: true, pos: undefined, bytesRead: 46972 } Tue Jun 12 2018 11:48:34 GMT+0800 (CST) [debug] [2018-06-12T03:48:34.818Z] <<< HTTP RESPONSE 200 [info] ✔ functions: functions folder uploaded successfully [debug] [2018-06-12T03:48:34.822Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions

Tue Jun 12 2018 11:48:34 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.100Z] <<< HTTP RESPONSE 200 [info] i functions: updating function firstTimeLogin... [debug] [2018-06-12T03:48:35.103Z] Trigger is: {"eventTrigger":{"resource":"projects/rw-people-ops","eventType":"providers/firebase.auth/eventTypes/user.create","service":"firebaseauth.googleapis.com"}} [info] i functions: updating function timeoffCreated... [debug] [2018-06-12T03:48:35.103Z] Trigger is: {"eventTrigger":{"resource":"projects//instances/rw-people-ops/refs/timeoffs/{id}","eventType":"providers/google.firebase.database/eventTypes/ref.create","service":"firebaseio.com"}} [info] i functions: updating function timeoffUpdated... [debug] [2018-06-12T03:48:35.104Z] Trigger is: {"eventTrigger":{"resource":"projects//instances/rw-people-ops/refs/timeoffs/{id}","eventType":"providers/google.firebase.database/eventTypes/ref.update","service":"firebaseio.com"}} [info] i functions: updating function absenceCreated... [debug] [2018-06-12T03:48:35.104Z] Trigger is: {"eventTrigger":{"resource":"projects//instances/rw-people-ops/refs/absences/{id}","eventType":"providers/google.firebase.database/eventTypes/ref.create","service":"firebaseio.com"}} [info] i functions: updating function dailyPTOAccrual... [debug] [2018-06-12T03:48:35.104Z] Trigger is: {"eventTrigger":{"resource":"projects/rw-people-ops/topics/daily-tick","eventType":"google.pubsub.topic.publish","service":"pubsub.googleapis.com"}} [info] i functions: updating function dailyTimeoffProcessing... [debug] [2018-06-12T03:48:35.105Z] Trigger is: {"eventTrigger":{"resource":"projects/rw-people-ops/topics/daily-tick","eventType":"google.pubsub.topic.publish","service":"pubsub.googleapis.com"}} [info] i functions: updating function yearlySwitchover... [debug] [2018-06-12T03:48:35.105Z] Trigger is: {"eventTrigger":{"resource":"projects/rw-people-ops/topics/yearly-tick","eventType":"google.pubsub.topic.publish","service":"pubsub.googleapis.com"}} [debug] [2018-06-12T03:48:35.107Z] >>> HTTP REQUEST PATCH https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions/firstTimeLogin query params: {"updateMask":"sourceUploadUrl,name,labels,eventTrigger.resource,eventTrigger.eventType,eventTrigger.service"} { sourceUploadUrl: 'https://storage.googleapis.com/gcf-upload-us-central1-3c809d89-a2ac-4764-8c96-509c9b337c53/65348bc4-08ea-42e2-be0f-29d3149f6a71.zip?GoogleAccessId=service-309309327480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1528777113&Signature=VF%2BduAyDW8g8xZVoPxSiZLpVy3NL%2BwP2RdenKa1LeVnECeaqG9b71X5dbGX9t3U9vADV0WQ8Sb5GuJ6yFKGyiApA04VGUBibk%2FySFUc2GcMCZUMzNuvfOUTWCFNMk%2Bxe6MbPQO%2Fqx1etvd%2FUSkkK%2FMCloqB2i8Y4mHH4lBa8g8yAlhYprGrkHp2YjBzpzHXrr3UTxFWeP199fnXB8vZe2KkV%2Bfqw0L7CZefhXCFiAT5lag96onZQZIniOsYctk%2FhdBLtCU4vTYaqSDV%2Ft70K2wmf4vdbt1gWAdw%2F6RSYrMMGHnYupTzKpsEfOrygTYmmoSVPOxDsbf4F1tpfSQF%2F0Q%3D%3D', name: 'projects/rw-people-ops/locations/us-central1/functions/firstTimeLogin', labels: { 'deployment-tool': 'cli-firebase' }, eventTrigger: { resource: 'projects/rw-people-ops', eventType: 'providers/firebase.auth/eventTypes/user.create', service: 'firebaseauth.googleapis.com' } } Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.109Z] >>> HTTP REQUEST PATCH https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions/timeoffCreated query params: {"updateMask":"sourceUploadUrl,name,labels,eventTrigger.resource,eventTrigger.eventType,eventTrigger.service"} { sourceUploadUrl: 'https://storage.googleapis.com/gcf-upload-us-central1-3c809d89-a2ac-4764-8c96-509c9b337c53/65348bc4-08ea-42e2-be0f-29d3149f6a71.zip?GoogleAccessId=service-309309327480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1528777113&Signature=VF%2BduAyDW8g8xZVoPxSiZLpVy3NL%2BwP2RdenKa1LeVnECeaqG9b71X5dbGX9t3U9vADV0WQ8Sb5GuJ6yFKGyiApA04VGUBibk%2FySFUc2GcMCZUMzNuvfOUTWCFNMk%2Bxe6MbPQO%2Fqx1etvd%2FUSkkK%2FMCloqB2i8Y4mHH4lBa8g8yAlhYprGrkHp2YjBzpzHXrr3UTxFWeP199fnXB8vZe2KkV%2Bfqw0L7CZefhXCFiAT5lag96onZQZIniOsYctk%2FhdBLtCU4vTYaqSDV%2Ft70K2wmf4vdbt1gWAdw%2F6RSYrMMGHnYupTzKpsEfOrygTYmmoSVPOxDsbf4F1tpfSQF%2F0Q%3D%3D', name: 'projects/rw-people-ops/locations/us-central1/functions/timeoffCreated', labels: { 'deployment-tool': 'cli-firebase' }, eventTrigger: { resource: 'projects//instances/rw-people-ops/refs/timeoffs/{id}', eventType: 'providers/google.firebase.database/eventTypes/ref.create', service: 'firebaseio.com' } } Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.110Z] >>> HTTP REQUEST PATCH https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions/timeoffUpdated query params: {"updateMask":"sourceUploadUrl,name,labels,eventTrigger.resource,eventTrigger.eventType,eventTrigger.service"} { sourceUploadUrl: 'https://storage.googleapis.com/gcf-upload-us-central1-3c809d89-a2ac-4764-8c96-509c9b337c53/65348bc4-08ea-42e2-be0f-29d3149f6a71.zip?GoogleAccessId=service-309309327480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1528777113&Signature=VF%2BduAyDW8g8xZVoPxSiZLpVy3NL%2BwP2RdenKa1LeVnECeaqG9b71X5dbGX9t3U9vADV0WQ8Sb5GuJ6yFKGyiApA04VGUBibk%2FySFUc2GcMCZUMzNuvfOUTWCFNMk%2Bxe6MbPQO%2Fqx1etvd%2FUSkkK%2FMCloqB2i8Y4mHH4lBa8g8yAlhYprGrkHp2YjBzpzHXrr3UTxFWeP199fnXB8vZe2KkV%2Bfqw0L7CZefhXCFiAT5lag96onZQZIniOsYctk%2FhdBLtCU4vTYaqSDV%2Ft70K2wmf4vdbt1gWAdw%2F6RSYrMMGHnYupTzKpsEfOrygTYmmoSVPOxDsbf4F1tpfSQF%2F0Q%3D%3D', name: 'projects/rw-people-ops/locations/us-central1/functions/timeoffUpdated', labels: { 'deployment-tool': 'cli-firebase' }, eventTrigger: { resource: 'projects//instances/rw-people-ops/refs/timeoffs/{id}', eventType: 'providers/google.firebase.database/eventTypes/ref.update', service: 'firebaseio.com' } } Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.110Z] >>> HTTP REQUEST PATCH https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions/absenceCreated query params: {"updateMask":"sourceUploadUrl,name,labels,eventTrigger.resource,eventTrigger.eventType,eventTrigger.service"} { sourceUploadUrl: 'https://storage.googleapis.com/gcf-upload-us-central1-3c809d89-a2ac-4764-8c96-509c9b337c53/65348bc4-08ea-42e2-be0f-29d3149f6a71.zip?GoogleAccessId=service-309309327480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1528777113&Signature=VF%2BduAyDW8g8xZVoPxSiZLpVy3NL%2BwP2RdenKa1LeVnECeaqG9b71X5dbGX9t3U9vADV0WQ8Sb5GuJ6yFKGyiApA04VGUBibk%2FySFUc2GcMCZUMzNuvfOUTWCFNMk%2Bxe6MbPQO%2Fqx1etvd%2FUSkkK%2FMCloqB2i8Y4mHH4lBa8g8yAlhYprGrkHp2YjBzpzHXrr3UTxFWeP199fnXB8vZe2KkV%2Bfqw0L7CZefhXCFiAT5lag96onZQZIniOsYctk%2FhdBLtCU4vTYaqSDV%2Ft70K2wmf4vdbt1gWAdw%2F6RSYrMMGHnYupTzKpsEfOrygTYmmoSVPOxDsbf4F1tpfSQF%2F0Q%3D%3D', name: 'projects/rw-people-ops/locations/us-central1/functions/absenceCreated', labels: { 'deployment-tool': 'cli-firebase' }, eventTrigger: { resource: 'projects//instances/rw-people-ops/refs/absences/{id}', eventType: 'providers/google.firebase.database/eventTypes/ref.create', service: 'firebaseio.com' } } Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.111Z] >>> HTTP REQUEST PATCH https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions/dailyPTOAccrual query params: {"updateMask":"sourceUploadUrl,name,labels,eventTrigger.resource,eventTrigger.eventType,eventTrigger.service"} { sourceUploadUrl: 'https://storage.googleapis.com/gcf-upload-us-central1-3c809d89-a2ac-4764-8c96-509c9b337c53/65348bc4-08ea-42e2-be0f-29d3149f6a71.zip?GoogleAccessId=service-309309327480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1528777113&Signature=VF%2BduAyDW8g8xZVoPxSiZLpVy3NL%2BwP2RdenKa1LeVnECeaqG9b71X5dbGX9t3U9vADV0WQ8Sb5GuJ6yFKGyiApA04VGUBibk%2FySFUc2GcMCZUMzNuvfOUTWCFNMk%2Bxe6MbPQO%2Fqx1etvd%2FUSkkK%2FMCloqB2i8Y4mHH4lBa8g8yAlhYprGrkHp2YjBzpzHXrr3UTxFWeP199fnXB8vZe2KkV%2Bfqw0L7CZefhXCFiAT5lag96onZQZIniOsYctk%2FhdBLtCU4vTYaqSDV%2Ft70K2wmf4vdbt1gWAdw%2F6RSYrMMGHnYupTzKpsEfOrygTYmmoSVPOxDsbf4F1tpfSQF%2F0Q%3D%3D', name: 'projects/rw-people-ops/locations/us-central1/functions/dailyPTOAccrual', labels: { 'deployment-tool': 'cli-firebase' }, eventTrigger: { resource: 'projects/rw-people-ops/topics/daily-tick', eventType: 'google.pubsub.topic.publish', service: 'pubsub.googleapis.com' } } Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.111Z] >>> HTTP REQUEST PATCH https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions/dailyTimeoffProcessing query params: {"updateMask":"sourceUploadUrl,name,labels,eventTrigger.resource,eventTrigger.eventType,eventTrigger.service"} { sourceUploadUrl: 'https://storage.googleapis.com/gcf-upload-us-central1-3c809d89-a2ac-4764-8c96-509c9b337c53/65348bc4-08ea-42e2-be0f-29d3149f6a71.zip?GoogleAccessId=service-309309327480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1528777113&Signature=VF%2BduAyDW8g8xZVoPxSiZLpVy3NL%2BwP2RdenKa1LeVnECeaqG9b71X5dbGX9t3U9vADV0WQ8Sb5GuJ6yFKGyiApA04VGUBibk%2FySFUc2GcMCZUMzNuvfOUTWCFNMk%2Bxe6MbPQO%2Fqx1etvd%2FUSkkK%2FMCloqB2i8Y4mHH4lBa8g8yAlhYprGrkHp2YjBzpzHXrr3UTxFWeP199fnXB8vZe2KkV%2Bfqw0L7CZefhXCFiAT5lag96onZQZIniOsYctk%2FhdBLtCU4vTYaqSDV%2Ft70K2wmf4vdbt1gWAdw%2F6RSYrMMGHnYupTzKpsEfOrygTYmmoSVPOxDsbf4F1tpfSQF%2F0Q%3D%3D', name: 'projects/rw-people-ops/locations/us-central1/functions/dailyTimeoffProcessing', labels: { 'deployment-tool': 'cli-firebase' }, eventTrigger: { resource: 'projects/rw-people-ops/topics/daily-tick', eventType: 'google.pubsub.topic.publish', service: 'pubsub.googleapis.com' } } Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.112Z] >>> HTTP REQUEST PATCH https://cloudfunctions.googleapis.com/v1/projects/rw-people-ops/locations/us-central1/functions/yearlySwitchover query params: {"updateMask":"sourceUploadUrl,name,labels,eventTrigger.resource,eventTrigger.eventType,eventTrigger.service"} { sourceUploadUrl: 'https://storage.googleapis.com/gcf-upload-us-central1-3c809d89-a2ac-4764-8c96-509c9b337c53/65348bc4-08ea-42e2-be0f-29d3149f6a71.zip?GoogleAccessId=service-309309327480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1528777113&Signature=VF%2BduAyDW8g8xZVoPxSiZLpVy3NL%2BwP2RdenKa1LeVnECeaqG9b71X5dbGX9t3U9vADV0WQ8Sb5GuJ6yFKGyiApA04VGUBibk%2FySFUc2GcMCZUMzNuvfOUTWCFNMk%2Bxe6MbPQO%2Fqx1etvd%2FUSkkK%2FMCloqB2i8Y4mHH4lBa8g8yAlhYprGrkHp2YjBzpzHXrr3UTxFWeP199fnXB8vZe2KkV%2Bfqw0L7CZefhXCFiAT5lag96onZQZIniOsYctk%2FhdBLtCU4vTYaqSDV%2Ft70K2wmf4vdbt1gWAdw%2F6RSYrMMGHnYupTzKpsEfOrygTYmmoSVPOxDsbf4F1tpfSQF%2F0Q%3D%3D', name: 'projects/rw-people-ops/locations/us-central1/functions/yearlySwitchover', labels: { 'deployment-tool': 'cli-firebase' }, eventTrigger: { resource: 'projects/rw-people-ops/topics/yearly-tick', eventType: 'google.pubsub.topic.publish', service: 'pubsub.googleapis.com' } } Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.494Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.497Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.501Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.564Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.611Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.653Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.660Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.662Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9maXJzdFRpbWVMb2dpbi9ybFN5SVdJMXhDNA

Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.665Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmQ3JlYXRlZC9DVnhTN0JpMTNjZw

Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.665Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmVXBkYXRlZC9YTGd1MXlzcXRvOA

Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.666Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9hYnNlbmNlQ3JlYXRlZC9URVVuX2tGNU9fQQ

Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.666Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVBUT0FjY3J1YWwvcGlYYVNBcVphU0U

Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.666Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVRpbWVvZmZQcm9jZXNzaW5nL3d1YmRUc0h3UldJ

Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.667Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS95ZWFybHlTd2l0Y2hvdmVyL0V6VUpKWm1KRG9Z

Tue Jun 12 2018 11:48:35 GMT+0800 (CST) [debug] [2018-06-12T03:48:35.911Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.915Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.917Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.917Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.918Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.919Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:35.928Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:37.913Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVRpbWVvZmZQcm9jZXNzaW5nL3d1YmRUc0h3UldJ

Tue Jun 12 2018 11:48:37 GMT+0800 (CST) [debug] [2018-06-12T03:48:37.915Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmVXBkYXRlZC9YTGd1MXlzcXRvOA

Tue Jun 12 2018 11:48:37 GMT+0800 (CST) [debug] [2018-06-12T03:48:37.918Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmQ3JlYXRlZC9DVnhTN0JpMTNjZw

Tue Jun 12 2018 11:48:37 GMT+0800 (CST) [debug] [2018-06-12T03:48:37.918Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9hYnNlbmNlQ3JlYXRlZC9URVVuX2tGNU9fQQ

Tue Jun 12 2018 11:48:37 GMT+0800 (CST) [debug] [2018-06-12T03:48:37.922Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS95ZWFybHlTd2l0Y2hvdmVyL0V6VUpKWm1KRG9Z

Tue Jun 12 2018 11:48:37 GMT+0800 (CST) [debug] [2018-06-12T03:48:37.922Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVBUT0FjY3J1YWwvcGlYYVNBcVphU0U

Tue Jun 12 2018 11:48:37 GMT+0800 (CST) [debug] [2018-06-12T03:48:37.929Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9maXJzdFRpbWVMb2dpbi9ybFN5SVdJMXhDNA

Tue Jun 12 2018 11:48:37 GMT+0800 (CST) [debug] [2018-06-12T03:48:38.158Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:38.173Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:38.173Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:38.174Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:38.174Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:38.185Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:38.185Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:40.163Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS95ZWFybHlTd2l0Y2hvdmVyL0V6VUpKWm1KRG9Z

Tue Jun 12 2018 11:48:40 GMT+0800 (CST) [debug] [2018-06-12T03:48:40.174Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9maXJzdFRpbWVMb2dpbi9ybFN5SVdJMXhDNA

Tue Jun 12 2018 11:48:40 GMT+0800 (CST) [debug] [2018-06-12T03:48:40.175Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9hYnNlbmNlQ3JlYXRlZC9URVVuX2tGNU9fQQ

Tue Jun 12 2018 11:48:40 GMT+0800 (CST) [debug] [2018-06-12T03:48:40.175Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVBUT0FjY3J1YWwvcGlYYVNBcVphU0U

Tue Jun 12 2018 11:48:40 GMT+0800 (CST) [debug] [2018-06-12T03:48:40.176Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmVXBkYXRlZC9YTGd1MXlzcXRvOA

Tue Jun 12 2018 11:48:40 GMT+0800 (CST) [debug] [2018-06-12T03:48:40.185Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmQ3JlYXRlZC9DVnhTN0JpMTNjZw

Tue Jun 12 2018 11:48:40 GMT+0800 (CST) [debug] [2018-06-12T03:48:40.186Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVRpbWVvZmZQcm9jZXNzaW5nL3d1YmRUc0h3UldJ

Tue Jun 12 2018 11:48:40 GMT+0800 (CST) [debug] [2018-06-12T03:48:40.414Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:40.418Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:40.419Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:40.420Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:40.425Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:40.426Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:40.427Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:42.417Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9maXJzdFRpbWVMb2dpbi9ybFN5SVdJMXhDNA

Tue Jun 12 2018 11:48:42 GMT+0800 (CST) [debug] [2018-06-12T03:48:42.420Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmVXBkYXRlZC9YTGd1MXlzcXRvOA

Tue Jun 12 2018 11:48:42 GMT+0800 (CST) [debug] [2018-06-12T03:48:42.421Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS95ZWFybHlTd2l0Y2hvdmVyL0V6VUpKWm1KRG9Z

Tue Jun 12 2018 11:48:42 GMT+0800 (CST) [debug] [2018-06-12T03:48:42.421Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVBUT0FjY3J1YWwvcGlYYVNBcVphU0U

Tue Jun 12 2018 11:48:42 GMT+0800 (CST) [debug] [2018-06-12T03:48:42.426Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9hYnNlbmNlQ3JlYXRlZC9URVVuX2tGNU9fQQ

Tue Jun 12 2018 11:48:42 GMT+0800 (CST) [debug] [2018-06-12T03:48:42.429Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVRpbWVvZmZQcm9jZXNzaW5nL3d1YmRUc0h3UldJ

Tue Jun 12 2018 11:48:42 GMT+0800 (CST) [debug] [2018-06-12T03:48:42.429Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmQ3JlYXRlZC9DVnhTN0JpMTNjZw

Tue Jun 12 2018 11:48:42 GMT+0800 (CST) [debug] [2018-06-12T03:48:42.644Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:42.647Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:42.651Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:42.654Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:42.656Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:42.665Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:42.672Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:44.647Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS95ZWFybHlTd2l0Y2hvdmVyL0V6VUpKWm1KRG9Z

Tue Jun 12 2018 11:48:44 GMT+0800 (CST) [debug] [2018-06-12T03:48:44.647Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmVXBkYXRlZC9YTGd1MXlzcXRvOA

Tue Jun 12 2018 11:48:44 GMT+0800 (CST) [debug] [2018-06-12T03:48:44.654Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9maXJzdFRpbWVMb2dpbi9ybFN5SVdJMXhDNA

Tue Jun 12 2018 11:48:44 GMT+0800 (CST) [debug] [2018-06-12T03:48:44.655Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVBUT0FjY3J1YWwvcGlYYVNBcVphU0U

Tue Jun 12 2018 11:48:44 GMT+0800 (CST) [debug] [2018-06-12T03:48:44.657Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9hYnNlbmNlQ3JlYXRlZC9URVVuX2tGNU9fQQ

Tue Jun 12 2018 11:48:44 GMT+0800 (CST) [debug] [2018-06-12T03:48:44.667Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS9kYWlseVRpbWVvZmZQcm9jZXNzaW5nL3d1YmRUc0h3UldJ

Tue Jun 12 2018 11:48:44 GMT+0800 (CST) [debug] [2018-06-12T03:48:44.673Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/operations/cnctcGVvcGxlLW9wcy91cy1jZW50cmFsMS90aW1lb2ZmQ3JlYXRlZC9DVnhTN0JpMTNjZw

Tue Jun 12 2018 11:48:44 GMT+0800 (CST) [debug] [2018-06-12T03:48:44.862Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:44.871Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:44.877Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:44.885Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:44.887Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:44.889Z] <<< HTTP RESPONSE 200 [debug] [2018-06-12T03:48:44.894Z] <<< HTTP RESPONSE 200

laurenzlong commented 6 years ago

This may have been a transient issue, are you still able to repro this?

hydrated commented 6 years ago

@laurenzlong Yes. Same result. I tried everything (downgrade tool version, re-install nodejs etc) except create another instance.

hydrated commented 6 years ago

After running firebase init => choose Functions: Configure and deploy Cloud Functions. Don't change any settings during the process. After that run the firebase deploy, it will successfully deployed. And running firebase deploy --only functions also will be successful.