title: Deployed app function has empty host.json and no host keys
body: <p>I'm having a weird issue with my Azure App Function and I can't find anything on this.</p>
  <p>I republished my function without changing its code, but suddenly the function stopped working and I'm getting this message as soon as I navigate to the function's page on Azure:</p>
  <blockquote>
  <p>Error:</p>
  <p>Error retrieving master key.</p>
  </blockquote>
  <p>If I navigate to the function's settings, I can see that no keys have been generated and that <code>host.json</code> file is emptpy. Browsing my functions' files using Kudu, however, shows that file contents are correct.</p>
  <p>Two more things make this weirder:</p>
  <ol>
  <li>The function correctly works locally</li>
  <li>If I take the code for another function and I deploy it on this one, my function works correctly, meaning that it's not an issue related to my function's configuration but rather to its code</li>
  </ol>
  <p>Do you guys have any pointer on this?</p>
  <p>EDIT:</p>
  <p>Let me add more details on this.</p>
  <p>Let's say I have 2 solutions, <code>A.sln</code> and <code>B.sln</code>.
  I also have 2 App Functions on Azure, let's say <code>F_1</code> and <code>F_2</code>.</p>
  <p><code>A.sln</code> and <code>B.sln</code> have the very same structure, the only difference is in business logic.
  Same applies for <code>F_1</code> and <code>F_2</code>, their only differences are the related storage accounts, as each function has its own.</p>
  <p>Currently <code>A.sln</code> is deployed on <code>F_1</code> and <code>B.sln</code> on <code>F_2</code>, and the only one working is <code>F_1</code>.
  If I deploy <code>A.sln</code> on <code>F_2</code>, <code>F_2</code> starts working, so my idea is that there's something wrong in <code>B.sln</code>'s code because <code>A.sln</code> works with the very same configuration.</p>