manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: Timeout and strange url in logfile (CMIS=>ES)
Date Mon, 18 May 2015 22:33:49 GMT
Hi Deanna,

Do you have the "curl" utility installed?

The request that is failing looks fine as far as I can tell.  I would try
submitting it with curl and debugging the ElasticSearch side, because
clearly that's where something is going wrong.

PUT /csss/base/http%3A%2F%2Flocalhost%3A8080%2Falfresco%
2Fapi%2F-default-%2Fpublic%2Fcmis%2Fversions%2F1.1%
2Fatom%2Fcontent%2F6.5.txt%3Fid%3D082ded6d-fef4-47d6-
a53a-e27d3a4ec581%253B1.2

Content-type:  application/x-www-form-urlencoded

Content:

{"csss:csssBase_bookOwner" : "someBookOwner","cmis:name" :
"6.5.txt","csss:csssBase_cageCode" : "someCageCode","allow_token_document"
: "__nosecurity__","deny_token_document" : "__nosecurity__","allow_token_share"
: "__nosecurity__","deny_token_share" : "__nosecurity__","allow_token_parent"
: "__nosecurity__","deny_token_parent" : "__nosecurity__","file" :
{"_content_type" : "text\/plain","_name" : "6.5.txt", "_content" : "
DQpJIGFtIGFuIEFsZnJlc2NvIGZpbGUuDQoNCmtleXdvcmQga2FuZ2Fyb28N
Cg0KenVsdQ0KenVsdQ0KDQo="}}


Karl


On Mon, May 18, 2015 at 6:11 PM, Delapasse, Deanna <
ddelapasse@oceaneering.com> wrote:

> I've been running locally on windows (CMIS->ElasticSearch)  successfully
> and today I tried to run the same configuration.  It worked for a while,
> but I deleted my ES indexes and recreated them.  Since then I've had
> problems.  I am currently just trying to index a single row (ie my CMIS
> query returns 1 row).  I see the data for the row so the select worked, but
> I can't figure out what is wrong with the ES insert.  The new indexes look
> find in the browser.
>
> Could y'all please take a look and advise me?  The sequence is similar to
> my windows, but gets "No content is provided" and then cancels the job.
>
> thanks!
> Deanna
>
> ps. Yes, I have restarted Manifold, ES & even Alfresco :-).
>
>
> ==================== error log =====================
>
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - Connection request: [route:
> {}->http://localhost:9200][total kept alive: 0; route allocated: 0 of 2;
>  total allocated: 0 of 20]
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - Connection leased: [id:
> 4][route: {}->http://localhost:9200][total kept alive: 0; route
> allocated: 1
>  of 2; total allocated: 1 of 20]
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - Opening connection {}->
> http://localhost:9200
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - Connecting to localhost/
> 127.0.0.1:9200
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - Connection established
> 127.0.0.1:55692<->127.0.0.1:9200
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - Executing request PUT
> /csss/base/http%3A%2F%2Flocalhost%3A8080%2Falfresco%2Fapi%2F-default-%2Fpublic
> %2Fcmis%2Fversions%2F1.1%2Fatom%2Fcontent%2F6.5.txt%3Fid%3D082ded6d-fef4-47d6-a53a-e27d3a4ec581%253B1.2
> HTTP/1.1
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - Target auth state:
> UNCHALLENGED
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - Proxy auth state:
> UNCHALLENGED
> DEBUG 2015-05-18 17:44:56,900 (Thread-6470) - http-outgoing-4 >> PUT
> /csss/base/http%3A%2F%2Flocalhost%3A8080%2Falfresco%2Fapi%2F-default-%2Fpubli
> c%2Fcmis%2Fversions%2F1.1%2Fatom%2Fcontent%2F6.5.txt%3Fid%3D082ded6d-fef4-47d6-a53a-e27d3a4ec581%253B1.2
> HTTP/1.1
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> Transfer-Encoding: chunked
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> Content-type: application/x-www-form-urlencoded
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >> Host:
> localhost:9200
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> Connection: Keep-Alive
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> User-Agent: Apache-HttpClient/4.3.5 (java 1.5)
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >> Expect:
> 100-continue
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> Accept-Encoding: gzip,deflate
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >> "PUT
> /csss/base/http%3A%2F%2Flocalhost%3A8080%2Falfresco%2Fapi%2F-default-%2Fpubl
> ic%2Fcmis%2Fversions%2F1.1%2Fatom%2Fcontent%2F6.5.txt%3Fid%3D082ded6d-fef4-47d6-a53a-e27d3a4ec581%253B1.2
> HTTP/1.1[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> "Transfer-Encoding: chunked[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> "Content-type: application/x-www-form-urlencoded[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >> "Host:
> localhost:9200[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> "Connection: Keep-Alive[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> "User-Agent: Apache-HttpClient/4.3.5 (java 1.5)[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >> "Expect:
> 100-continue[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >>
> "Accept-Encoding: gzip,deflate[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 >> "[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 << "HTTP/1.1
> 100 Continue[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 << "[\r][\n]"
> DEBUG 2015-05-18 17:44:56,901 (Thread-6470) - http-outgoing-4 << HTTP/1.1
> 100 Continue
> DEBUG 2015-05-18 17:44:56,902 (Thread-6470) - http-outgoing-4 >>
> "202[\r][\n]"
> DEBUG 2015-05-18 17:44:56,902 (Thread-6470) - http-outgoing-4 >>
> "{"csss:csssBase_bookOwner" : "someBookOwner","cmis:name" :
> "6.5.txt","csss:csssBase_cageCode" : "someCageCode","allow_token_document"
> : "__nosecurity__","deny_token_document" :
> "__nosecurity__","allow_token_share" : "__nosecurity__","deny_token_share"
> : "__nosecurity__","allow_token_parent" :
> "__nosecurity__","deny_token_parent" : "__nosecurity__","file" :
> {"_content_type" : "text\/plain","_name" : "6.5.txt", "_content" :
> "DQpJIGFtIGFuIEFsZnJlc2NvIGZpbGUuDQoNCmtleXdvcmQga2FuZ2Fyb28NCg0KenVsdQ0KenVsdQ0KDQo="}}[\r][\n]"
> DEBUG 2015-05-18 17:44:56,902 (Thread-6470) - http-outgoing-4 >>
> "0[\r][\n]"
> DEBUG 2015-05-18 17:44:56,902 (Thread-6470) - http-outgoing-4 >> "[\r][\n]"
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - http-outgoing-4 << "HTTP/1.1
> 400 Bad Request[\r][\n]"
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - http-outgoing-4 <<
> "Content-Type: application/json; charset=UTF-8[\r][\n]"
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - http-outgoing-4 <<
> "Content-Length: 72[\r][\n]"
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - http-outgoing-4 << "[\r][\n]"
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - http-outgoing-4 <<
> "{"error":"MapperParsingException[No content is provided.]","status":400}"
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - http-outgoing-4 << HTTP/1.1
> 400 Bad Request
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - http-outgoing-4 <<
> Content-Type: application/json; charset=UTF-8
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - http-outgoing-4 <<
> Content-Length: 72
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - Connection can be kept alive
> indefinitely
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - Connection [id: 4][route:
> {}->http://localhost:9200] can be kept alive indefinitely
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - Connection released: [id:
> 4][route: {}->http://localhost:9200][total kept alive: 1; route
> allocated: 1 of 2; total allocated: 1 of 20]
> DEBUG 2015-05-18 17:44:56,904 (Thread-6470) - Cancelling request execution
> DEBUG 2015-05-18 17:45:01,496 (Thread-6577) - CookieSpec selected:
> best-match
> DEBUG 2015-05-18 17:45:01,497 (Thread-6577) - Auth cache not set in the
> context
> DEBUG 2015-05-18 17:45:01,497 (Thread-6577) - Connection request: [route:
> {}->http://localhost:9200][total kept alive: 1; route allocated: 1 of 2;
>
>

Mime
View raw message