amplitude / amplitude/experiment-ios-client

Bad URL on ExperimentClient.start/fetch

Abierto
#57 9 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Swift
Estrellas
5
Forks
17
Merge medio
1 d 9 h
PR fusionados (30 d)
3

Descripción

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)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.