Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

As of v1.5.0 karma-browserstack-launcher often times out #152

Open
brandonocasey opened this issue Jun 26, 2019 · 18 comments
Open

As of v1.5.0 karma-browserstack-launcher often times out #152

brandonocasey opened this issue Jun 26, 2019 · 18 comments

Comments

@brandonocasey
Copy link

brandonocasey commented Jun 26, 2019

Mostly on our end we run karma-browserstack-launcher via travis ci. When two builds, one for a pull request and one for a branch run at the same time, One of the builds will often timeout. I think the one that starts first times out as soon as the other build starts to run.

On previous versions of karma-browserstack-launcher this did not happen.

I haven't had time to look into this too much, but it is probably a result of the switch to browserstack-local

@steel
Copy link

steel commented Jun 28, 2019

We're noticing this too. Downgrading back to 1.4.0 seems to fix the issue. We're running on CircleCI.

@XhmikosR
Copy link
Contributor

We are hitting this on Bootstrap too. I haven't been able to pinpoint the cause yet myself.

@johnjbarton
Copy link
Contributor

1.4 does not help us. I reached out to browserstack help but they referred me to this plugin.

@XhmikosR
Copy link
Contributor

XhmikosR commented Sep 9, 2019 via email

@andrewmclagan
Copy link

andrewmclagan commented Nov 19, 2019

Also seeing this issue... only when on local not running in CI

1.5.1 does not work

1.4.0 works

@lina128
Copy link

lina128 commented Jan 24, 2020

We are also having timeout issue, and we are using 1.4.0.

@lina128
Copy link

lina128 commented Jan 24, 2020

In our case, we have a very large test suite. This PR that prevent browser inactive looks promising: #168

When is it going to be released?

@Borewit
Copy link

Borewit commented Jan 28, 2020

I never managed to get the unit test running stable via karma-browserstack. After being idle a while (not sure how long, maybe an hour) there is reasonable probability it works. It looks like after a few runs, it is more likely to fail.

@JakeChampion
Copy link
Contributor

1.4 does not help us. I reached out to browserstack help but they referred me to this plugin.

This PR fixes the issue, are you or @dignifiedquire able to merge and release it? #158

@lina128
Copy link

lina128 commented Apr 4, 2020

We also experienced the same recently. Upgraded to 1.5.1, and seeing a lot of timeout. Hope this PR can fix the problem.

@XhmikosR
Copy link
Contributor

XhmikosR commented Apr 9, 2020

@johnjbarton does karma-runner/karma#3388 mean that this issue is fixed now with karma v5.0.0?

@johnjbarton
Copy link
Contributor

no, I am not happy with the number of times that CI fails on browserstack. But the version of karma-browserstack-launcher did not seem to have a huge effect.

I have worked quite a bit on our CI now and hope to have a clearer picture.

@XhmikosR
Copy link
Contributor

XhmikosR commented Apr 9, 2020

Ah, wait, actually karma-runner/karma#3388 is about a CI fix in karma itself, not this issue here.

@XhmikosR
Copy link
Contributor

XhmikosR commented May 5, 2020

@johnjbarton I finally managed to get to use the BrowserStack recommended karma settings and also updated to the latest karma-browserstak-launcher version on Bootstrap: twbs/bootstrap#30720.

It does work well, but there are still some cases the build might timeout. Probably fewer, but still.

@johnjbarton
Copy link
Contributor

Yes also my experience.

@XhmikosR
Copy link
Contributor

XhmikosR commented May 5, 2020

I reverted the patch and I sent BrowserStack support an email. Something is still wrong somewhere when many CI runs fire up simultaneously or too fast.

@jeremad
Copy link

jeremad commented Jun 26, 2020

someone tried it with v1.6.0?

@sculpt0r
Copy link

sculpt0r commented Mar 3, 2022

someone tried it with v1.6.0?

Yes, and still often receive timeouts. I'm not sure if the issue is on the launcher side, or the Browserstack?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants