RestKit/RestKit — Issue #551: Duplicate Timeout Timer with RKObjectLoader sendSynchronously
Author: mcooper7290
Created: 2012-02-09 02:34:08+00:00
State: open

I have a problem similar to issue #517 but with RKObjectLoader and sendSynchronously:

RKObjectManager *manager = [RKObjectManager objectManagerWithBaseURL:serverUrlBase];
[manager.mappingProvider setMapping:[ServerStatus getRKmapping]
forKeyPath:@"key1.key2"];

RKObjectLoader *loader = [manager objectLoaderWithResourcePath:url
delegate:self];
RKResponse *response = [loader sendSynchronously];
// Success here but 120 seconds later:
2012-02-08 18:22:26.333 AgentIos[5492:fb03] E restkit.network:RKRequest.m:551 Failed to send request to http://192.5.10.7:8080/cmdb/jaxrs/server/status due to connection timeout. Timeout interval = 120.000000
2012-02-08 18:22:26.334 AgentIos[5492:fb03] *** -[ServerStatusManager respondsToSelector:]: message sent to deallocated instance 0x6c4fa80

Using the latest pull from github 2/8/2012.