Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error code 22 #229

Open
calumjiao opened this issue May 10, 2019 · 2 comments
Open

error code 22 #229

calumjiao opened this issue May 10, 2019 · 2 comments

Comments

@calumjiao
Copy link

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
- /etc/workflow/launcher/config/update_asset_mod
- /etc/workflow/launcher/config/update_asset_create
- /etc/workflow/launcher/config/dam_xmp_nested_writeback
- /etc/workflow/launcher/config/dam_xmp_writeback

Each of the paths to include in the copy

pathConfigurations :
-
path : /content/dam/media-library/marketing
# -
# path : /content/someOtherContent
# excludePaths: [ someExcludeContent ]
# -
# path : /content/dam/someDamContent
# excludePaths :
# - someContent/someExcludeContent
# - someContent/someOtherExcludeContent
# workflowConfigIds : *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.....

~~~~~~~~~Failure~~~~~~~~~~~~~

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
Copy link

ehimsi commented Apr 6, 2020

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

@ronnyfm
Copy link

ronnyfm commented Jul 2, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants