最近用AFNetworking做資料請求,偶爾會報如下錯誤
Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x14ec4780 {NSErrorFailingURLStringKey=https://www.ilaw66.com/lavender/v3/NotificationsForLawyer?lawyerId=wenzheng.cui&access_token=5bfa2c3c-2019-43a6-b59f-96996ce49672, NSErrorFailingURLKey=https://www.ilaw66.com/lavender/v3/NotificationsForLawyer?lawyerId=wenzheng.cui&access_token=5bfa2c3c-2019-43a6-b59f-96996ce49672, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x14ecd440 "The request timed out."}
用AF的GET請求時,有時請求成功,有時會包這個錯誤,同一個介面,想知道什么原因嗎?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/142706.html
標籤:網絡通信
上一篇:模擬噪聲星座圖
下一篇:立體影像編碼解碼
