title: Firebase Cloud Function deployment error
body: <p>I'm working with <strong>Firebase cloud functions</strong> and facing errors while deploying the functions. There are different errors every time. Right now, it's <code>"Server Error: Unexpected Response. Please try again"</code>. Whereas, Sometimes it's <code>"Server Error. socket hang up"</code></p>
  
  <p>I checked <code>firebase-debug.log</code> file, which states that service is not available, whereas, as per <a href="https://status.firebase.google.com/" rel="nofollow noreferrer">Status Dashboard</a>, it's working fine</p>
  
  <p><strong>Another Issue with Naming Convention:</strong></p>
  
  <p>Apart from this, i'm facing issues in deployment when i change the function name from <code>helloWorld</code> to something else. It's quite strange as i've total three functions. Two of them are working fine, whereas, when i change the name of helloWorld to something like <code>generateWeeklyReport</code>, <code>newThreadsReport</code>, <code>weeklyReport</code> it fails every time.</p>
  
  <p>I'm using Spark plan of Firebase and right now the names of functions in my index.js file are: <code>helloWorld, quickChatUserReport, activeThreadsReport</code>. Is there any naming convention, or is there any limitation on the number of functions in this plan? I couldn't find anything in the documentation. Please guide.</p>
  
  <p><strong>Side Note</strong>: I read that Kaspersky Endpoint security blocks callbacks resulting in deployment failure. I turned off the protection while deploying function + I'm using node version 9.5.0</p>