Skip to content

Conversation

@mateuszwojtczak
Copy link
Contributor

We are using raw HTTP instead of HTTPS by our localhost communication. Because of that, we sometimes have trouble with OkHttp blocking our requests due to Android clear-text traffic policies.

To fix that issue on some device farms (e.g. Browserstack), this PR uses Ktor for raw HTTP communication. It also introduces HttpMultiServer package for cases where there are multiple network interfaces (e.g. BrowserStack again 🤣 ) and we don't know which to arbitrarily choose.

@docs-page
Copy link

docs-page bot commented Jun 9, 2025

To view this pull requests documentation preview, visit the following URL:

docs.page/leancodepl/patrol~2645

Documentation is deployed and generated using docs.page.

@github-actions github-actions bot added the package: patrol Related to the patrol package (native automation, test bundling) label Jun 9, 2025
@mateuszwojtczak mateuszwojtczak force-pushed the hotfix/http-multi-server branch 2 times, most recently from 5423410 to ed5d24f Compare June 10, 2025 13:34
@jBorkowska
Copy link
Collaborator

Will this close this one? #2317

@github-actions github-actions bot added the package: patrol_cli Related to the patrol_cli package label Jul 2, 2025
@jBorkowska jBorkowska force-pushed the hotfix/http-multi-server branch 2 times, most recently from ed5d24f to 460895b Compare July 2, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: patrol_cli Related to the patrol_cli package package: patrol Related to the patrol package (native automation, test bundling)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants