Skip to content

Credentials are not passed from client to server #192

@kooroshd

Description

@kooroshd

When I try to run a sync using the grabbit.sh script, the server (Grabbit sender) does not see the credentials I've entered in the configuration file ("serverUsername" and "serverPassword"). This is causing the sync to fail for JCR nodes that require authentication.

On the server when I look at the access log the request is received as "anonymous":

104.198.99.189 - anonymous 17/Oct/2017:00:53:42 -0700 "GET /grabbit/content?path=/content/sm/test-site&after=2017-10-13T21:10:00.603Z HTTP/1.1" 500 400 "-" "okhttp/3.5.0"

The job fails:

{
"transactionID": 2241996975981270300,
"jobExecutionId": 2611751303286100000,
"jcrNodesWritten": -1,
"exitStatus": {
"exitDescription": "",
"exitCode": "FAILED",
"running": false
},
"endTime": "2017-10-17T07:53:42+0000",
"timeTaken": 589,
"path": "/content/sm/test-site",
"startTime": "2017-10-17T07:53:42+0000"
}

I'm using Grabbit 7.1.2 and AEM 6.2. I've installed all three required AEM packages. The sync works for JCR nodes that don't require authentication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions