You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide a succinct description of the issue.
Repro steps
Provide the steps required to reproduce the problem
After upgrading to webjob 3.0 SDK, WebJob dashboard has error "Host is not running; requests will be queued but not execute until the host is started."
Host is initiliazed and running continuously and no error. It uses host.RunAsync().Wait(); and is waiting for dashboard to queue but when i go to the Functions, there is "Host Not Running error"
Detailed code at: . https://gist.github.com/srinayani/b3ba79856e4b845e52f71ea4bcf7effc
In my investigation: I see that the if we clear the Azure-Webjobs-* queues from the storage account manually, and restart the AppService then Dashboard tried to show for messages but this doesn't work well. There seems to be some problem with Dashboard communicating with the hosts where we have Webjob running. The goal is to be able to trigger QueeTrigger Functions as shows in code snippet.
dashboard logs in the storage account has no HostInstanceId set, Sample below:
"Id": "02ba1d09-d7e2-4ee7-bec5-8958f39c1633",
"HostInstanceId": "00000000-0000-0000-0000-000000000000",
"FunctionId": "azure-webjobs-host-machine-ch01eap000004e8_Microsoft.Advertising.ClientCenter.JobProcessor.Jobs.AnBUtilityJobProcessor.Azu
Also, there is not HeartBeats under azure-webjobs-hosts, in the new SDK is this expected to have HeartBeats folder?
How can i get the HostId specified?
Is this AddAzureStorageCoreServices() required?
I cannot find it in Microsoft.Azure.WebJobs Version 3.0.13; or Microsoft.Azure.Webjobs.Extensions.Storage version3.0.6
I have used IWebJobsBuilder.UseHostId() to use a specific HostId. Would this cause any issue in the new SDK?
When WebJob2.x hostId was being set as below using th.
var config = new JobHostConfiguration(AzureStorageConnectionString);
config.HostId // Set the hostID fo the config.
Is UseHostId() equivalent of this in new 3.0 sdk?
Expected behavior
Where can I find AddAzureStorageCoreServices() and since Host is initialized succesfully even without this, why is the dashboard still saying that host is not running?
Please provide a succinct description of the issue.
Repro steps
Provide the steps required to reproduce the problem
After upgrading to webjob 3.0 SDK, WebJob dashboard has error "Host is not running; requests will be queued but not execute until the host is started."
Host is initiliazed and running continuously and no error. It uses host.RunAsync().Wait(); and is waiting for dashboard to queue but when i go to the Functions, there is "Host Not Running error"
Detailed code at: . https://gist.github.com/srinayani/b3ba79856e4b845e52f71ea4bcf7effc
In my investigation: I see that the if we clear the Azure-Webjobs-* queues from the storage account manually, and restart the AppService then Dashboard tried to show for messages but this doesn't work well. There seems to be some problem with Dashboard communicating with the hosts where we have Webjob running. The goal is to be able to trigger QueeTrigger Functions as shows in code snippet.
dashboard logs in the storage account has no HostInstanceId set, Sample below:
"Id": "02ba1d09-d7e2-4ee7-bec5-8958f39c1633",
"HostInstanceId": "00000000-0000-0000-0000-000000000000",
"FunctionId": "azure-webjobs-host-machine-ch01eap000004e8_Microsoft.Advertising.ClientCenter.JobProcessor.Jobs.AnBUtilityJobProcessor.Azu
Also, there is not HeartBeats under azure-webjobs-hosts, in the new SDK is this expected to have HeartBeats folder?
How can i get the HostId specified?
Is this AddAzureStorageCoreServices() required?
I cannot find it in Microsoft.Azure.WebJobs Version 3.0.13; or Microsoft.Azure.Webjobs.Extensions.Storage version3.0.6
I have used IWebJobsBuilder.UseHostId() to use a specific HostId. Would this cause any issue in the new SDK?
When WebJob2.x hostId was being set as below using th.
var config = new JobHostConfiguration(AzureStorageConnectionString);
config.HostId // Set the hostID fo the config.
Is UseHostId() equivalent of this in new 3.0 sdk?
Expected behavior
Where can I find AddAzureStorageCoreServices() and since Host is initialized succesfully even without this, why is the dashboard still saying that host is not running?
CodeSnippet I am using to upgrade to new SDK:
https://gist.github.com/srinayani/b3ba79856e4b845e52f71ea4bcf7effc
The text was updated successfully, but these errors were encountered: