Firebase hosting Error: Server Error. read ECONNRESET
Firebase hosting Error: Server Error. read ECONNRESET
Firebase 托管新手。我将几个包含图像的文件夹部署到 Firebase 托管。
今天我面临以下问题。我对此一无所知。非常感谢对此的任何帮助。
错误:
=== Deploying to 'admob-app-id-4307XXXXXX'...
i deploying database, hosting
+ database: rules ready to deploy.
i hosting: preparing public directory for upload...
**Error: Server Error. read ECONNRESET**
C:\Users\NAME\Documents\Projects\Website\firebase>firebase deploy
**Error: HTTP Error: 500, An unknown error occurred. Please contact support.**
调试日志中的片段:
[debug] ----------------------------------------------------------------------
[debug] Command: C:\Program Files\nodejs\node.exe C:\Users\NAME\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase deploy
[debug] CLI Version: 3.4.0
[debug] Platform: win32
[debug] Node Version: v6.10.0
[debug] Time: Mon Mar 13 2017 14:07:38 GMT+0530 (India Standard Time)
[debug] ----------------------------------------------------------------------
[debug]
[debug] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase"]
[debug] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/admob-app-id-XXXXXXXXXX
Mon Mar 13 2017 14:07:38 GMT+0530 (India Standard Time)
[debug] <<< HTTP RESPONSE 200
[debug] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/admob-app-id-XXXXXXXXXX/tokens
Mon Mar 13 2017 14:07:40 GMT+0530 (India Standard Time)
[debug] <<< HTTP RESPONSE 500
[debug] <<< HTTP RESPONSE BODY
[error]
[error] Error: HTTP Error: 500, An unknown error occurred. Please contact support.
[debug] Error Context: {
"body": {
"error": {
"code": "UNKNOWN_ERROR",
"message": "An unknown error occurred. Please contact support."
}
},
"response": {
"statusCode": 500,
"body": {
"error": {
"code": "UNKNOWN_ERROR",
"message": "An unknown error occurred. Please contact support."
}
},
"headers": {
"server": "nginx",
"date": "Mon, 13 Mar 2017 08:37:34 GMT",
"content-type": "application/json; charset=utf-8",
"content-length": "97",
"connection": "close",
"x-content-type-options": "nosniff"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "admin.firebase.com",
"port": 443,
"hostname": "admin.firebase.com",
"hash": null,
"search": null,
"query": null,
"pathname": "/v1/database/admob-app-id-XXXXXXXXXX/tokens",
"path": "/v1/database/admob-app-id-XXXXXXXXXX/tokens",
"href": "https://admin.firebase.com/v1/database/admob-app-id-XXXXXXXXXX/tokens"
},
"method": "GET"
}
}
}
非常感谢!
所有这些文件夹的总大小是多少。
错误:服务器错误。读取 ECONNRESET
看起来像是网络问题。或者,您可能在触发 Firebase 中未记录的限制后收到重置数据包。
Firebase 可能会上传 tar 或 zip 文件。为什么不先尝试添加一半的文件夹和图像,如果可行的话..
ps。我怀疑 firebase 会做差异并且只上传不存在的内容。因此,您可能无法通过增量添加文件来绕过限制。以上所有方法都向您展示了在重置之前您可以逃脱多少。
我刚刚在部署到 Firebase 时遇到了这个问题,解决方案就是导致我遇到这个问题的原因 post。确保我的互联网连接良好后,我就成功部署了。
确保您的网络没有问题,然后重新部署!
祝你好运!
尝试通过 VPN,它对我有用。
Firebase 托管新手。我将几个包含图像的文件夹部署到 Firebase 托管。
今天我面临以下问题。我对此一无所知。非常感谢对此的任何帮助。
错误:
=== Deploying to 'admob-app-id-4307XXXXXX'...
i deploying database, hosting
+ database: rules ready to deploy.
i hosting: preparing public directory for upload...
**Error: Server Error. read ECONNRESET**
C:\Users\NAME\Documents\Projects\Website\firebase>firebase deploy
**Error: HTTP Error: 500, An unknown error occurred. Please contact support.**
调试日志中的片段:
[debug] ----------------------------------------------------------------------
[debug] Command: C:\Program Files\nodejs\node.exe C:\Users\NAME\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase deploy
[debug] CLI Version: 3.4.0
[debug] Platform: win32
[debug] Node Version: v6.10.0
[debug] Time: Mon Mar 13 2017 14:07:38 GMT+0530 (India Standard Time)
[debug] ----------------------------------------------------------------------
[debug]
[debug] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase"]
[debug] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/admob-app-id-XXXXXXXXXX
Mon Mar 13 2017 14:07:38 GMT+0530 (India Standard Time)
[debug] <<< HTTP RESPONSE 200
[debug] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/admob-app-id-XXXXXXXXXX/tokens
Mon Mar 13 2017 14:07:40 GMT+0530 (India Standard Time)
[debug] <<< HTTP RESPONSE 500
[debug] <<< HTTP RESPONSE BODY
[error]
[error] Error: HTTP Error: 500, An unknown error occurred. Please contact support.
[debug] Error Context: {
"body": {
"error": {
"code": "UNKNOWN_ERROR",
"message": "An unknown error occurred. Please contact support."
}
},
"response": {
"statusCode": 500,
"body": {
"error": {
"code": "UNKNOWN_ERROR",
"message": "An unknown error occurred. Please contact support."
}
},
"headers": {
"server": "nginx",
"date": "Mon, 13 Mar 2017 08:37:34 GMT",
"content-type": "application/json; charset=utf-8",
"content-length": "97",
"connection": "close",
"x-content-type-options": "nosniff"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "admin.firebase.com",
"port": 443,
"hostname": "admin.firebase.com",
"hash": null,
"search": null,
"query": null,
"pathname": "/v1/database/admob-app-id-XXXXXXXXXX/tokens",
"path": "/v1/database/admob-app-id-XXXXXXXXXX/tokens",
"href": "https://admin.firebase.com/v1/database/admob-app-id-XXXXXXXXXX/tokens"
},
"method": "GET"
}
}
}
非常感谢!
所有这些文件夹的总大小是多少。
错误:服务器错误。读取 ECONNRESET
看起来像是网络问题。或者,您可能在触发 Firebase 中未记录的限制后收到重置数据包。
Firebase 可能会上传 tar 或 zip 文件。为什么不先尝试添加一半的文件夹和图像,如果可行的话..
ps。我怀疑 firebase 会做差异并且只上传不存在的内容。因此,您可能无法通过增量添加文件来绕过限制。以上所有方法都向您展示了在重置之前您可以逃脱多少。
我刚刚在部署到 Firebase 时遇到了这个问题,解决方案就是导致我遇到这个问题的原因 post。确保我的互联网连接良好后,我就成功部署了。
确保您的网络没有问题,然后重新部署!
祝你好运!
尝试通过 VPN,它对我有用。