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
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/desired-state-configuration.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -226,7 +226,7 @@ System.InvalidOperationException error processing property 'Credential' of type
226
226
227
227
#### Cause
228
228
229
-
You've used a credential in a configuration but didn’t 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.
230
230
231
231
#### Resolution
232
232
@@ -328,6 +328,20 @@ Known issue with the compilation service.
328
328
329
329
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.
330
330
331
+
### <aname="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
+
331
345
## Next steps
332
346
333
347
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/hybrid-runbook-worker.md
+29-3Lines changed: 29 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,33 @@ Computers running the Hybrid Runbook Worker should meet the minimum hardware req
48
48
49
49
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.
50
50
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
+
### <aname="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).
[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.
52
78
53
79
### <aname="no-cert-found"></a>Scenario: No certificate was found in the certificate store on Hybrid Runbook Worker
54
80
@@ -85,13 +111,13 @@ The worker's initial registration phase fails and you receive the following erro
85
111
#### Cause
86
112
87
113
The following are possible causes:
88
-
* There's a mistyped workspace ID or workspace key (primary) in the agent’s settings.
114
+
* There's a mistyped workspace ID or workspace key (primary) in the agent's settings.
89
115
* 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.
90
116
91
117
#### Resolution
92
118
93
119
##### Mistyped workspace ID/key
94
-
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.
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.
0 commit comments