Skip to content

Commit 2b463ef

Browse files
authored
Merge pull request #108469 from BethWilke/task125
Fixing task 1682135, event 15011
2 parents 756735e + a18c245 commit 2b463ef

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

articles/automation/troubleshoot/desired-state-configuration.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ System.InvalidOperationException error processing property 'Credential' of type
226226

227227
#### Cause
228228

229-
You've used a credential in a configuration but didnt provide proper **ConfigurationData** to set **PSDscAllowPlainTextPassword** to true for each node configuration.
229+
You've used a credential in a configuration but didn't provide proper **ConfigurationData** to set **PSDscAllowPlainTextPassword** to true for each node configuration.
230230

231231
#### Resolution
232232

@@ -328,6 +328,20 @@ Known issue with the compilation service.
328328

329329
The best workaround would be to compile locally or in a CI/CD pipeline and upload the MOF files directly to the service. If compilation in the service is a requirement, the next best workaround would be to split the compilation jobs so there is no overlap in names.
330330

331+
### <a name="gateway-timeout"></a>Scenario: Gateway timeout error on DSC configuration upload
332+
333+
#### Issue
334+
335+
You receive a `GatewayTimeout` error when uploading a DSC configuration.
336+
337+
#### Cause
338+
339+
DSC configurations that take a long time to compile can cause this error.
340+
341+
#### Resolution
342+
343+
You can make your DSC configurations parse faster by explicitly including the `ModuleName` parameter for any `Import-DscResource` calls. For more information, see [Using Import-DSCResource](https://docs.microsoft.com/powershell/scripting/dsc/configurations/import-dscresource?view=powershell-5.1).
344+
331345
## Next steps
332346

333347
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:

articles/automation/troubleshoot/hybrid-runbook-worker.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,33 @@ Computers running the Hybrid Runbook Worker should meet the minimum hardware req
4848

4949
Confirm that the computer to run the Hybrid Runbook Worker feature meets the minimum hardware requirements. If it does, monitor CPU and memory use to determine any correlation between the performance of Hybrid Runbook Worker processes and Windows. Any memory or CPU pressure can indicate the need to upgrade resources. You can also select a different compute resource that supports the minimum requirements and scale when workload demands indicate that an increase is necessary.
5050

51-
Check the **Microsoft-SMA** event log for a corresponding event with description *Win32 Process Exited with code [4294967295]*. The cause of this error is that you haven't configured authentication in your runbooks or specified the Run As credentials for the Hybrid Runbook Worker group. Review runbook permissions in [Running runbooks on a Hybrid Runbook Worker](../automation-hrw-run-runbooks.md) to confirm that you have correctly configured authentication for your runbooks.
51+
Check the **Microsoft-SMA** event log for a corresponding event with description `Win32 Process Exited with code [4294967295]`. The cause of this error is that you haven't configured authentication in your runbooks or specified the Run As credentials for the Hybrid Runbook Worker group. Review runbook permissions in [Running runbooks on a Hybrid Runbook Worker](../automation-hrw-run-runbooks.md) to confirm that you have correctly configured authentication for your runbooks.
52+
53+
### <a name="cannot-connect-signalr"></a>Scenario: Event 15011 in Hybrid Runbook Worker
54+
55+
#### Issue
56+
57+
The Hybrid Runbook Worker receives event 15011, indicating that a query result is not valid. The following error appears when the worker attempts to open a connection with the [SignalR server](https://docs.microsoft.com/aspnet/core/signalr/introduction?view=aspnetcore-3.1).
58+
59+
```error
60+
[AccountId={c7d22bd3-47b2-4144-bf88-97940102f6ca}]
61+
[Uri=https://cc-jobruntimedata-prod-su1.azure-automation.net/notifications/hub][Exception=System.TimeoutException: Transport timed out trying to connect​
62+
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()​
63+
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)​
64+
at JobRuntimeData.NotificationsClient.JobRuntimeDataServiceSignalRClient.<Start>d__45.MoveNext()​
65+
```
66+
67+
#### Cause
68+
69+
The Hybrid Runbook Worker has not been configured correctly for the automated deployment solution. This solution contains a part that connects the VM to the Log Analytics workspace. The PowerShell script looks for the workspace in the subscription with the supplied name. In this case, the Log Analytics workspace is in a different subscription. The script can't find the workspace and tries to create one, but the name is already taken. Thus the deployment fails.
70+
71+
#### Resolution
72+
73+
You have two options for resolving this issue:
74+
75+
* Modify the PowerShell script to look for the Log Analytics workspace in another subscription. This is a good solution if you plan to deploy many Hybrid Runbook Worker machines in the future.
76+
77+
* Manually configure the worker machine to run in an Orchestrator sandbox. Then run a runbook created in the Azure Automation account on the worker to test the functionality.
5278

5379
### <a name="no-cert-found"></a>Scenario: No certificate was found in the certificate store on Hybrid Runbook Worker
5480

@@ -85,13 +111,13 @@ The worker's initial registration phase fails and you receive the following erro
85111
#### Cause
86112

87113
The following are possible causes:
88-
* There's a mistyped workspace ID or workspace key (primary) in the agents settings.
114+
* There's a mistyped workspace ID or workspace key (primary) in the agent's settings.
89115
* The Hybrid Runbook Worker can't download the configuration, causing an account linking error. When Azure enables solutions, it supports only certain regions for linking a Log Analytics workspace and an Automation account. It's also possible that an incorrect date and/or time is set on the computer. If the time is +/-15 minutes from the current time, onboarding fails.
90116

91117
#### Resolution
92118

93119
##### Mistyped workspace ID/key
94-
To verify if the agents workspace ID or workspace key has been mistyped, see [Adding or removing a workspace – Windows agent](../../azure-monitor/platform/agent-manage.md#windows-agent) for the Windows agent or [Adding or removing a workspace – Linux agent](../../azure-monitor/platform/agent-manage.md#linux-agent) for the Linux agent. Make sure to select the full string from the Azure portal and copy and paste it carefully.
120+
To verify if the agent's workspace ID or workspace key has been mistyped, see [Adding or removing a workspace – Windows agent](../../azure-monitor/platform/agent-manage.md#windows-agent) for the Windows agent or [Adding or removing a workspace – Linux agent](../../azure-monitor/platform/agent-manage.md#linux-agent) for the Linux agent. Make sure to select the full string from the Azure portal and copy and paste it carefully.
95121

96122
##### Configuration not downloaded
97123

0 commit comments

Comments
 (0)