Hi, Can anyone pls help, why this exception coming...
# kotlin-native
v
Hi, Can anyone pls help, why this exception coming ? HttpClient: REQUEST .... failed with exception: io.ktor.client.engine.darwin.DarwinHttpRequestException: Exception in http request: Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={_kCFStreamErrorCodeKey=8, NSUnderlyingError=0x280bcb3c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: pdp_ip0[lte], ipv6, dns, expensive, _kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <B02333C6-72C2-4A9E-A718-25BF82992D6F>.<5>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <B02333C6-72C2-4A9E-A718-25BF82992D6F>.<5>" ), NSLocalizedDescription=A server with the specified hostname could not be found., NSErrorFailingURLStringKey=.., NSErrorFailingURLKey=.., _kCFStreamErrorDomainKey=12}
a
You've forgotten to add the base url, as can be seen in the
NSErrorFailingURLStringKey
of the error