question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use http2 with Karma

See original GitHub issue

Expected behaviour

Uses http 2

Actual behaviour

Uses http 1.1

Is there any way to use http2 in with Karma server?

I’m running tests from gulp using:

  new karma.Server({ ... });

and my site is heavily utilizing http2’s concurrent connections (no bundling). It’s working great in production and we’re living the dream, but the tests are running horribly slow because the karma server doesn’t have http2. Is there anyway to either turn on http2… or provide node’s http2 server or possibly even just tell karma to use another http server that does support http2?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dignifiedquirecommented, Oct 28, 2016

@Florian-R I think it would be nice if users could just enable http2 via a config without thinking about it. Maybe making node-spdy not a dependency but just log an error if http2 is enabled and it is not installed prompting the user to install it. That way there is no impact for users not needing it, and if people want to use it, it’s just a config + an install away.

0reactions
jfstephecommented, Jan 8, 2020

@itslenny - did you actually get http2 working? I’ve overridden the http module but even after sacrificing a goat ( 🐐 🔪 ) it doesn’t work. I’m having proxy header issues.

Any examples you can point me to?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Karma Firefox Doesn't Work With HTTPS - Stack Overflow
I'm using Karma to run integration tests on a NodeJs Firefox add-on. I'm testing it on my localhost machine using XAMPP's Apache. I've...
Read more >
Configuration File - Karma
The easiest way to generate an initial configuration file is by using the karma init command. This page lists all of the available...
Read more >
pairing issue | Karma won't connect to controller - YouTube
Karma won't connect to the controller, I have problems with ... Music that I use in my videos: https ://www.epidemicsound.com/referra.
Read more >
GoPro Karma Drone Won't Pair w/ Controller - YouTube
GoPro Karma Drone Won't Pair w/ Controller: Everything You Need to ... If you own or owned a GoPro Drone and suddenly aren't...
Read more >
422218 - Chrome 38 doesn't work anymore with Karma test ...
Karma runs and successfully connects to the opened Chrome instance. What happens instead? Karma cannot connect to the opened Chrome instance and times...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found