KB0018 - An anonymous request was received in between authentication handshake requests.
Symptom #1
PowerShell Universal returns a 500 error when visiting the website that is using Windows Authentication.
Symptom #2
When viewing the log file in C:\ProgramData\PowerShellUniversal or within the admin console under Settings \ General \Diagnostics, there is an error message with the following content: An anonymous request was received in between authentication handshake requests.
Root Cause
The root cause of this issue is an invalid or unconfigured SPN for the machine running PowerShell Universal.
Solution
Ensure that an SPN has been correctly created within your domain. An example command would look like:
- setspn -S HTTP/myservername.mydomain.com myuser
You can view configured SPNs by using the following command.
- setspn -l myservername.mydomain.com
Related Articles
"[WARN] Call failed. An error occurred while sending the request." message in all jobs
Version: Any Root Cause When PowerShell Universal starts a new job, it uses the Management API to retrieve job information from the server. It does this over HTTP and will generate a Read-Only app token for the identity of the user that started or ...
KB0026 - Authentication failure when connecting to BitBucket using a HTTP Access Token
Applicability This article applies to any version of PowerShell Universal with git sync enabled. Symptom When attempting to synchronize with a BitBucket git repository using a HTTP Access Token generated from the BitBucket repository, it fails to ...
KB - 1008 Tax/VAT Exempt at checkout
Scope In this article you will learn how to make a tax-free purchase at checkout. Problem How do you remove the Tax/VAT on an order? Impact Orders will then need to be refunded for tax if processed without the tax deducted. Resolution Follow the ...
KB0074 - Connecting to PSU API w/Windows Auth
Scope This article applies only to PSU environments where Windows Authentication[1] is enabled and known to be working[2]. Problem You are not able to interact with the PSU instance using the Invoke-WebRequest PowerShell cmdlet even though logging in ...
KB0063 - API, App or Job Not Starting
Problem External processes do not start after upgrades or with the same configuration and script on different machines. Common errors in the log will include: [ERR] Dashboard process running but not response after 10 seconds. Terminating process. ...