Help with replication failing with error: "repository state conflicting with request"
I am setting up a local instance of author and publishing server following the guidelines here: Set up Local AEM Runtime for AEM as a Cloud Service Development | Adobe Experience Manager
When I go to Test the connection, I see this error:
Replication test to http://localhost:4503/bin/receive?sling:authRequestLogin=1
2022-12-05 10:45:17 - Create new HttpClient for Default Agent
2022-12-05 10:45:17 - * Auth User: admin
2022-12-05 10:45:17 - * HTTP Version: 1.1
2022-12-05 10:45:17 - * Connect Timeout: 900000
2022-12-05 10:45:17 - * Socket Timeout: 900000
2022-12-05 10:45:17 - adding header: Action:Test
2022-12-05 10:45:17 - adding header: Path:/content
2022-12-05 10:45:17 - adding header: Handle:/content
2022-12-05 10:45:17 - deserialize content for delivery
2022-12-05 10:45:17 - No message body: Content ReplicationContent.VOID is empty
2022-12-05 10:45:17 - Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
2022-12-05 10:45:17 - sent. Response: 409 Conflict
2022-12-05 10:45:17 - Replication (TEST) of /content not successful. Conversation follows
2022-12-05 10:45:17 - ------------------------------------------------
2022-12-05 10:45:17 - Sending message to localhost:4503
2022-12-05 10:45:17 - >> POST /bin/receive HTTP/1.0
2022-12-05 10:45:17 - >> Action: Test
2022-12-05 10:45:17 - >> Path: /content
2022-12-05 10:45:17 - >> Handle: /content
2022-12-05 10:45:17 - >> Referer: about:blank
2022-12-05 10:45:17 - >> Content-Length: 0
2022-12-05 10:45:17 - >> Content-Type: application/octet-stream
2022-12-05 10:45:17 - --
2022-12-05 10:45:17 - << HTTP/1.1 409 Conflict
2022-12-05 10:45:17 - << Date: Mon, 05 Dec 2022 15:45:17 GMT
2022-12-05 10:45:17 - << X-Content-Type-Options: nosniff
2022-12-05 10:45:17 - << X-Frame-Options: SAMEORIGIN
2022-12-05 10:45:17 - << Content-Type: text/html;charset=utf-8
2022-12-05 10:45:17 - << Transfer-Encoding: chunked
2022-12-05 10:45:17 - <<
2022-12-05 10:45:17 - << <html>
2022-12-05 10:45:17 - << <head>
2022-12-05 10:45:17 - << <title></title>
2022-12-05 10:45:17 - << </head>
2022-12-05 10:45:17 - << <body>
2022-12-05 10:45:17 - << <h1></h1>
2022-12-05 10:45:17 - << <table>
2022-12-05 10:45:17 - << <tbody>
2022-12-05 10:45:17 - << <tr>
2022-12-05 10:45:17 - << <td>Status</td>
2022-12-05 10:45:17 - << <td><div id="Status">409</div></td>
2022-12-05 10:45:17 - << </tr>
2022-12-05 10:45:17 - << <tr>
2022-12-05 10:45:17 - << <td>Message</td>
2022-12-05 10:45:17 - << <td><div id="Message">repository state conflicting with request</div></td>
2022-12-05 10:45:17 - << </tr>
2022-12-05 10:45:17 - << <tr>
2022-12-05 10:45:17 - << <td>Location</td>
2022-12-05 10:45:17 - << <td><a href="http://localhost:4503/bin/receive" id="Location">http://localhost:4503/bin/receive</a></td>
2022-12-05 10:45:17 - << </tr>
2022-12-05 10:45:17 - << <tr>
2022-12-05 10:45:17 - << <td>Parent Location</td>
2022-12-05 10:45:17 - << <td><a href="http://localhost:4503/bin" id="ParentLocation">http://localhost:4503/bin</a></td>
2022-12-05 10:45:17 - << </tr>
2022-12-05 10:45:17 - << <tr>
2022-12-05 10:45:17 - << <td>Path</td>
2022-12-05 10:45:17 - << <td><div id="Path">/content/mysite/bin/receive</div></td>
2022-12-05 10:45:17 - << </tr>
2022-12-05 10:45:17 - << <tr>
2022-12-05 10:45:17 - << <td>Referer</td>
2022-12-05 10:45:17 - << <td><div id="Referer">about:blank</div></td>
2022-12-05 10:45:17 - << </tr>
2022-12-05 10:45:17 - << <tr>
2022-12-05 10:45:17 - << <td>ChangeLog</td>
2022-12-05 10:45:17 - << <td><div id="ChangeLog"><pre></pre></div></td>
2022-12-05 10:45:17 - << </tr>
2022-12-05 10:45:17 - << </tbody>
2022-12-05 10:45:17 - << </table>
2022-12-05 10:45:17 - << <p><a href="http://localhost:4503/bin/receive">Modified Resource</a></p>
2022-12-05 10:45:17 - << <p><a href="http://localhost:4503/bin">Parent of Modified Resource</a></p>
2022-12-05 10:45:17 - << </body>
2022-12-05 10:45:17 - Message sent.
2022-12-05 10:45:17 - ------------------------------------------------
2022-12-05 10:45:17 - Replication (TEST) of /content not successful.
Replication test failed
Conflict
What could be the possible issue here? I was trying to configure /etc/map sling resource resolution, and the first step (in my head at least) is to get a local instance of my publisher working- but it's failing to receive replication 😞
I have tried deleting and re-creating my local publisher, as well as restarting my local author multiple times with no luck. What does this error even mean?
