amplitude / amplitude/experiment-ios-client

Bad URL on ExperimentClient.start/fetch

未關閉
#57 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Swift
星號
5
分支
17
平均合併
1 天 9 小時
30 天內合併 PR
3

描述

We've noticed that we seem to be getting a fair few errors whenever we call the `ExperimentClient.start` / `ExperimentClient.fetch` methods.

We use Sentry for our error reporting, and we have set it up so that we send most errors through to Sentry whenever we get an error from the start call. You can see the exact details/numbers here via our Sentry reporting:

* Start - https://trustpilot.sentry.io/share/issue/82f376794f074c72bfa7ca184b23de33/
* Fetch - https://trustpilot.sentry.io/share/issue/c0fe8af82ba84cd0a1c4a3d85f830122/

Note that the error name contains the error code/domain

![Screenshot 2024-08-13 at 11 14 36](https://github.com/user-attachments/assets/e12498a8-2603-4fa7-8d6c-9a4b4bb943f7)

Based on the error code we're getting in the callbacks, it seems like the error is due to a bad URL ([see NSURLErrorDomain codes](https://gist.github.com/samirahmed/ee52a076dd19966c4c9d)), though based on the breadcrumbs in Sentry, the url seems to be fine.

![Screenshot 2024-08-13 at 11 11 39](https://github.com/user-attachments/assets/2625908b-01f9-490a-8118-78f8c2c0d33d)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。