Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2013-11-04 17:31:13.013 MTGApp[45898:3803] I restkit.network:RKObjectRequestOperation.m:250 GET 'http://192.168.0.200:8080/MTGAppWS/webresources/Collection/user/1' (200 OK / 3 objects) [request=0.0000s mapping=0.0019s total=1.9819s]
- 2013-11-04 17:31:13.057 MTGApp[45898:a0b] log method
- 2013-11-04 17:31:16.421 MTGApp[45898:a0b] ..
- 2013-11-04 17:31:16.424 MTGApp[45898:a0b] I restkit.network:RKObjectRequestOperation.m:180 POST 'http://192.168.0.200:8080/Collection'
- 2013-11-04 17:31:16.437 MTGApp[45898:571f] E restkit.network:RKObjectRequestOperation.m:576 Object request failed: Underlying HTTP request operation failed with error: Error Domain=org.restkit.RestKit.ErrorDomain Code=-1016 "Expected content type {(
- "application/x-www-form-urlencoded",
- "application/json"
- )}, got text/html" UserInfo=0x9b5aec0 {NSLocalizedRecoverySuggestion=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>GlassFish Server Open Source Edition 3.1.1 - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><hr/><p><b>type</b> Status report</p><p><b>message</b></p><p><b>description</b>The requested resource () is not available.</p><hr/><h3>GlassFish Server Open Source Edition 3.1.1</h3></body></html>, AFNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest: 0x9930bb0> { URL: http://192.168.0.200:8080/Collection }, NSErrorFailingURLKey=http://192.168.0.200:8080/Collection, NSLocalizedDescription=Expected content type {(
- "application/x-www-form-urlencoded",
- "application/json"
- )}, got text/html, AFNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x8b38410> { URL: http://192.168.0.200:8080/Collection } { status code: 404, headers {
- "Content-Length" = 1067;
- "Content-Type" = "text/html";
- Date = "Mon, 04 Nov 2013 19:31:16 GMT";
- Server = "GlassFish Server Open Source Edition 3.1.1";
- "X-Powered-By" = "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1 Java/Oracle Corporation/1.7)";
- } }}
- 2013-11-04 17:31:16.438 MTGApp[45898:571f] E restkit.network:RKObjectRequestOperation.m:243 POST 'http://192.168.0.200:8080/Collection' (404 Not Found / 0 objects) [request=0.0125s mapping=0.0000s total=0.0143s]: Error Domain=org.restkit.RestKit.ErrorDomain Code=-1016 "Expected content type {(
- "application/x-www-form-urlencoded",
- "application/json"
- )}, got text/html" UserInfo=0x9b5aec0 {NSLocalizedRecoverySuggestion=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>GlassFish Server Open Source Edition 3.1.1 - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><hr/><p><b>type</b> Status report</p><p><b>message</b></p><p><b>description</b>The requested resource () is not available.</p><hr/><h3>GlassFish Server Open Source Edition 3.1.1</h3></body></html>, AFNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest: 0x9930bb0> { URL: http://192.168.0.200:8080/Collection }, NSErrorFailingURLKey=http://192.168.0.200:8080/Collection, NSLocalizedDescription=Expected content type {(
- "application/x-www-form-urlencoded",
- "application/json"
- )}, got text/html, AFNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x8b38410> { URL: http://192.168.0.200:8080/Collection } { status code: 404, headers {
- "Content-Length" = 1067;
- "Content-Type" = "text/html";
- Date = "Mon, 04 Nov 2013 19:31:16 GMT";
- Server = "GlassFish Server Open Source Edition 3.1.1";
- "X-Powered-By" = "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1 Java/Oracle Corporation/1.7)";
- } }}
- 2013-11-04 17:31:16.439 MTGApp[45898:a0b] Error
Advertisement
Add Comment
Please, Sign In to add comment