Running into issues with KTOR testing server reque...
# multiplatform
a
Running into issues with KTOR testing server requests, all on iOS only. For example: <Exception in http request: Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x7f953310c290 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <13662024-E644-4814-A382-E43A0FEF94C2>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <13662024-E644-4814-A382-E43A0FEF94C2>.<1>" Any ideas on how to fix this? I also have a failing android test to do with failing to connect to the local host. Don't think it was an issue until I updated KTOR to use the new memory model. Anybody experienced anything similar?
r
I don't think I've ever seen a working setup to make real web calls through ktor on ios in a test executable. I always use MockEngine instead but that won't help if you're trying to automate an end-to-end test with your server.