iOS Question IHttpUtils2

Percy Huijer

Member
Licensed User
Are there issues with iHttpUtils2 in the new B4I V5.50?
Working code gives errors since upgrade to new release:

Unexpected event (missing RaisesSynchronousEvents): AFTER_SLEEP
Error occurred on line: 301 (HttpJob)
Error reading from stream: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={_kCFStreamErrorCodeKey=2, _kCFStreamErrorDomainKey=1}
 

tufanv

Expert
Licensed User
Longtime User
Are there issues with iHttpUtils2 in the new B4I V5.50?
Working code gives errors since upgrade to new release:

Unexpected event (missing RaisesSynchronousEvents): AFTER_SLEEP
Error occurred on line: 301 (HttpJob)
Error reading from stream: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={_kCFStreamErrorCodeKey=2, _kCFStreamErrorDomainKey=1}
Are you using a code module for ihttputils2 or the library ? maybe you are using an old version of ihttputils2 code module, try removing it and using the library from the libs tab in b4i. I am just guessing.
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
It happens only in debug mode. Strange enough, when I put a breakpoint and resume it goes all right.
It happened to me too, in debug mode it generates errors.

I added a pause to the HttpJob source code in the Complete sub and now it works correctly.

See here
 
Upvote 0
Top