Firebase hosting Error: Server Error. read ECONNRESET

Shriki

New to Firebase hosting. I deployed few folders containing images to Firebase hosting.

Today I am facing below issue. I have no clue about it. Any help on this is highly appreciated.

ERROR:

=== 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.**

Snippet from debug log:

[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"
    }
  }
}

Much thanks!

Chidi-Nwaneto

I just encountered this issue while deploying to Firebase, the solution is what lead me to this post. After making sure that my internet connection was good, i simply deployed successfully.

Make sure your internet is fine, then redeploy!

GoodLuck!

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Could not proxy command to remote server. Original error: Error: read ECONNRESET

dump ended with error (set phase) => Error: read ECONNRESET

ECONNRESET proxy error between dev server and API

Error: read ECONNRESET when resizing image with Firebase Cloud Functions

Nodejs Error: read ECONNRESET

Error: read ECONNRESET , while running the python child process from nodejs

Error: read ECONNRESET occurs on ionic serve for newly created apps

Firebase Cloud Functions: Error: Unexpected error while acquiring application default credentials: read ECONNRESET

Module build failed: Error: read ECONNRESET

Firebase hosting Error 503 Varnish cache server

Node.js WebSocket Error: read ECONNRESET after some reconnects

Node.js error: read ECONNRESET using ssh2

Node.js "Error: read ECONNRESET"

RequestError: Error: read ECONNRESET nodejs

Firebase Hosting Deployment Error HTTP 400 Error

How to stop the error 'read ECONNRESET' from happening

Chai Http Post : save entity to mongodb Error: read ECONNRESET

Error: read ECONNRESET when connected to a mysql server with Node.js

read ECONNRESET error when working with HTTP request in cloud function

MySQL giving "read ECONNRESET" error after idle time on node.js server

Laravel server hosting error

firebase hosting cache error

Firebase hosting custom domain error

JavaScript d3.csv() gives Error: read ECONNRESET

Error: read ECONNRESET when working with large data in Firebase Cloud functions

500 Internal Server Error Hosting

NODEJS - Websocket return Error: read ECONNRESET when refreshing browser

nodejs express webapp - ERROR: read ECONNRESET

Error: 14 UNAVAILABLE: read ECONNRESET in gRPC Client connection