TWCable / grabbit

Grabbit - Fast Content Sync tool for AEM/CQ
Apache License 2.0
125 stars 64 forks source link

error code 22 #229

Open calumjiao opened 5 years ago

calumjiao commented 5 years ago

Thanks for taking the time to fill out an issue! To help the community solve your issue, please provide answers to the following questions, along with supporting log and configuration files.

Here is the command I am using, try to pull content from 10.128.72.34:4502 to DEV (4504 port), to confirm, the serverUsername is a user name of the server, not the name for the console (http://10.128.72.34:4502), is that correct?

72.34 has this directory: /content/dam/media-library/marketing

DEV has directory till this level /content/dam/media-library/

config file:

Client Type: author

Information for connecting to the source content

serverUsername : 'a03' serverPassword : 'xxxx' serverScheme : http serverHost : 10.128.72.34 serverPort : 4502

deltaContent : true # default for all the paths

A reference to the standard set of workflow configuration ids that

we want to turn off when working with DAM assets.

damWorkflows: &ourDamWorkflows

running this on DEV (4504), give machine ip, user name and password give same result ~~~~~~` Enter Client [http(s)://server:port] to initiate Grabbit request localhost:4504

Client Username :

Client Password : Enter "n" for new job request, "m" to monitor, or "q" to quit n

Enter path to your Grabbit Configuration file /home/a03/grabbit/myconfig.yaml

Processing.....



Something went wrong when processing the given config.

cURL, the transfer library used by this shell received an error code of 22. See https://curl.haxx.se/libcurl/c/libcurl-errors.html for debugging.
If this doesn't help, please check the client log for more details.

**What version of AEM are you running?**
both 6.2

**How do you produce the issue?**
Follow above steps

**Does the issue occur consistently?** 
yes

**Any additional details?**

After running, on /tmp folder, I got two files:
-rw-------   1 a03      users         136 May 10 19:20 grabbit_headers
-rw-------   1 a03      users           0 May 10 19:20 grabbit

Content in grabbit_headers:
HTTP/1.1 401 Unauthorized
Date: Fri, 10 May 2019 19:20:19 GMT
WWW-Authenticate: Basic realm="Sling (Development)"
Connection: close

Appreciate for any suggestions!
ehimsi commented 4 years ago

Did you checked if the bundle came up in the console? I am facing something similar and that is due to unresolved dependencies.

ronnyfm commented 3 years ago

@calumjiao Did you resolve the issue? @ehimsi All my bundles are active.