speedchecker / speedchecker-sdk-ios

54 stars 8 forks source link

not getting uploading speed in my app #8

Closed rajani9288 closed 1 year ago

rajani9288 commented 2 years ago

Hi I am not able to get upload speed. I am getting below error can you help me out.

2022-01-31 14:04:09.328997+0530 myapp[2014:1077897] [tcp] tcp_input [C12.1:3] flags=[R.] seq=3115235414, ack=328275274, win=68 state=CLOSED rcv_nxt=3115054534, snd_una=328275249 Upload: 0.00 Upload: 0.00 Upload: 0.00 Upload: 0.00

2022-01-31 14:04:19.378510+0530 myapp[2014:1077891] [] nehelper sent invalid result code [1] for Wi-Fi information request SaveMobileTakenTest 2022-01-31 14:04:29.384965+0530myapp[2014:1078064] Task .<9> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x280774900 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<9>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask .<9>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://www.speedcheckerapi.com/TakenTests.svc/json/SaveMobileTakenTest, NSErrorFailingURLKey=https://www.speedcheckerapi.com/TakenTests.svc/json/SaveMobileTakenTest, kCFStreamErrorDomainKey=4} HAH: 10.003316879272461 10.003545999526978 SaveMobileTakenTest 2022-01-31 14:08:29.940183+0530myapp[2014:1077634] [BackgroundTask] Background Task 35 ("GDTCCTUploader-upload"), was created over 30 seconds ago. In applications running in the background, this creates a risk of was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this.

rajani9288 commented 2 years ago

internetTestFinish also not called

rajani9288 commented 2 years ago

please give me some idea where is issue.

vandrusik commented 2 years ago

@rajani9288 could you give me details, what server was selected for the test? (in internetTestSelected(server: SpeedTestServer, latency: Int, jitter: Int) )

Also, could you try in several environments? Different WiFi networks and Cellular network

bogdanicc commented 1 year ago

Since there was no response with additional details and we couldn't replicate the issue, we're closing this.