Deployment: Invicti Platform on-demand, Invicti Platform on-premises
Login sequence playback failed
This document explains the messages Invicti Platform shows when a login sequence can't authenticate the scan or can't keep it authenticated, how each message affects the scan status, and how to diagnose the most common causes. When authentication fails, authenticated pages and their vulnerabilities are missing from the results.
If you're still setting up session detection or haven't configured a session pattern yet, start with the Session detection document. If setup is complete but you can't identify a valid session pattern, see LSR advanced troubleshooting. This document applies once the login sequence is configured and the scan itself shows one of the messages below.
To analyze log files, Klogg is a free cross-platform log analyzer that handles large files well. For instructions on how to download logfile.csv, refer to the Download scan logs document.
When defining a login sequence, make sure proper Restrictions and a proper Session detection are in place. This keeps the scan authenticated and improves coverage.
Login sequence messages
The scan's Activity log shows these messages. A message is either an error or a warning, and the level can change depending on your advanced settings.
An error that appears at the start of a scan means the login sequence couldn't play back, so the scan has no authenticated session.

A warning that appears during the scan means the scan was authenticated at some point but lost its session and couldn't recover it.

| Message | Level | What it means and what to do |
|---|---|---|
| The Login Sequence Recording is invalid or malformed | Error | The login sequence file can't be read, or its configuration is damaged. Record the login sequence again, or upload a valid file. |
| Login sequence has an invalid session detection type. The session cannot be validated. | Error | The session detection type in the login sequence isn't valid. Edit the login sequence and configure session detection again. For more information, refer to Session detection. |
| Login sequence playback failed. The site or login credentials may have changed. Check the authentication report. | Error (see note 1) | The login sequence has never logged in successfully during this scan. Check the credentials, confirm the login flow hasn't changed, and replay the login sequence manually. |
| Login sequence has no session detection. The session will not be re-validated during the scan. | Warning | The login sequence plays once and the scanner never checks whether the session is still valid. Add session detection to the login sequence. |
| No valid session detected after login sequence playback. Check authentication report. | Warning (see note 2) | The login sequence played back, but the scanner couldn't detect a valid session afterward. Refer to scenario 5, Check if session was gained, under Troubleshooting. |
| Login sequence playback failed. The site may have slowed down, stopped responding, or blocked the scanner through a WAF. Check the authentication report. | Warning (see note 2) | The scanner lost the session after logging in successfully and couldn't recover it. Refer to the scenarios under Troubleshooting. |
| Session is being lost repeatedly. This may increase the scan duration. Consider adding logout URL restrictions to the login sequence. | Warning (see note 2) | The scanner keeps losing the session and the login sequence has no restrictions that prevent it. Add the logout URL as a restriction in the login sequence. |
| Session is being lost repeatedly. This may increase the scan duration. Consider updating logout URL restrictions to the login sequence. | Warning (see note 2) | The scanner keeps losing the session even though the login sequence has restrictions. Review and update the restrictions. |
- This message is always an error. If Fail on initial login sequence playback is turned off, the error is still reported, but the scan continues and the scan doesn't finish as Failed because of it.
- This message is a warning by default. If Fail scan on authentication failures is turned on, it's reported as an error instead.
Settings that affect the scan status
The following advanced settings control how login sequence messages affect the scan:
| Setting | Effect | Default |
|---|---|---|
| Stop scan on error | Stops the scan as soon as an error is reported. When turned off, the scan runs to completion, but its final status is Failed if any errors occurred. | Off |
| Fail scan on authentication failures | Reports the messages marked "see note 2" as errors, so the scan finishes as Failed. If Stop scan on error is also on, the scan stops immediately. | Off |
| Fail on initial login sequence playback | Treats a login sequence that can't be replayed successfully at the start as an error that fails the scan. When turned off, the failure is still reported, but the scan continues. | On |
| Login sequence max failed playbacks | The number of consecutive failed login sequence playbacks before the scanner gives up. | 3 |
| Login sequence max replays | The maximum number of login sequence playbacks allowed in a 5-minute window. | 5 |
| Login sequence session check interval | The minimum interval, in seconds, between periodic session checks. The scanner also checks the session when a response matches a session-loss rule, such as a logout redirection, a cookie change, or an API 403 or 5xx response. | 10 |
| Login sequence timeout | How long, in minutes, the scanner waits for a login sequence playback to finish. | 5 |
Troubleshooting
Work through the scenarios below in order. Each one describes what you'd see in the scan logs and what to do about it.
1. Verify that manual playback is successful
Login flow elements may have changed since you defined the login sequence - particularly for scheduled scans.
Recommended action: Edit the login sequence, verify all steps are correct, then run manual playback and confirm it completes successfully.
If manual playback is successful and session detection also passes, but the login sequence messages still appear in the scan, check the following scenarios.
2. Target server is throttling or blocking requests
During scans, Target server may start responding with 403:
X-Sent-By: Acunetix-LSR/65535
GET /vis.../ HTTP/1.1
Host: test.vis...
...
HTTP/1.1 403 Forbidden
Server: awselb/2.0
Content-Type: text/html
...
or 429 status codes.
Recommended action: Search in
logfile.csvfor403or429status responses. Check for any rate limiting or access restrictions on the target side — if a WAF is blocking LSR playback, refer to the Web Application Firewall detected document. Try lowering the scan speed — see Reduce scan times for instructions.
3. Target server is becoming unresponsive
There could be times when the Target server may start showing an error page (for example, a 404 - File or directory not found), like the example below:
X-Sent-By: Acunetix-LSR/65535
GET / HTTP/1.1
Host: portal-...
...
HTTP/1.1 404 Not Found
Content-Type: text/html
...
Recommended action: Search in
logfile.csvfor404status responses related to the Login flow. Review the target server configuration and available resources under load. Try lowering the scan speed — see Reduce scan times for instructions.
4. SSO login flow involved (Microsoft Entra ID)
Open logfile.csv and search for WWW-Authenticate: Negotiate. A response like the one below from the identity service means the authentication flow broke during playback.
logfile.csv example:
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Negotiate
Recommended action: Set the User-Agent to
WVS/12.0, or add an action step to the LSR to click Use a certificate or smart card.
5. Check if session was gained
Run this check after confirming all action steps played back successfully during the scan (verify in browser.log).
Open logfile.csv and search for isInSession: [1].
If you see isInSession: [1] followed by isInSession: [0] and then isInSession: [1] again, this is expected behavior — the scanner lost the session and reauthenticated successfully. This can happen multiple times throughout a scan. Only investigate further if isInSession: [1] never appears at all.
If not found:
- The Session pattern may be invalid. Edit the sequence, click Play, go to the Session detection tab, and click Check pattern.
- If Check pattern fails, find a different pattern (try auto-detect, "Detect while navigating", or enter one manually).
- If Check pattern succeeds, the scanner may be failing to track Cookies or Session headers.
To verify whether the session checking request was made successfully, search logfile.csv for X-Sent-By: Acunetix-LSR/65535, then find the lsr-check line that follows:
logfile.csv example:
X-Sent-By: Acunetix-LSR/65535
X-Sent-By: lsr-check #LSR
Inspect that request to confirm it includes the required Cookies and/or Session Headers.
Need help?
Invicti Support team is ready to provide you with technical help. Go to Help Center