# Slow server response when calling from node.js

**URL:** <https://community.wowza.com/t/slow-server-response-when-calling-from-node-js/47091>\
**Category:** Wowza Developer Dojo\
**Created:** [May 27, 2016, 12:16pm UTC](https://community.wowza.com/t/slow-server-response-when-calling-from-node-js/47091 "2016-05-27T12:16:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Roed](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@Christopher\_Roed](https://community.wowza.com/u/Christopher_Roed)\
**Post date:** [May 27, 2016, 12:16pm UTC](https://community.wowza.com/t/slow-server-response-when-calling-from-node-js/47091/1 "2016-05-27T12:16:19Z")

</div>

Hello,

I’m trying to interface my node.js server with a wowza server using digest authentication and having an issue with response times. I’ve tried using the http-digest-client module and the wowza-control module, but I’ve found that wowza server takes about 16 seconds to response to my requests.

As digest auth goes, I make the request, and approximately 8 seconds later the server responds with the digest headers. After processing the headers and making the second request, the server takes another 8 seconds to respond with a status 302.

I get response times under 200mS using either a browser or my old server (php making requests with HttpGuzzleClient) so I’m pretty sure the server is configured correectly. I imagine there’s a header or something that I need to be setting but I don’t know about.

Anyone experienced this, have any suggestions?

---

<div class="post-metadata">

**Author:** ![Andrew\_Ramberg](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Andrew\_Ramberg](https://community.wowza.com/u/Andrew_Ramberg)\
**Post date:** [June 20, 2016, 4:07pm UTC](https://community.wowza.com/t/slow-server-response-when-calling-from-node-js/47091/2 "2016-06-20T16:07:13Z")

</div>

Hello,

You may want to open a ticket with our [Developer Support Team](https://www.wowza.com/resources/developers) for further help.

Best regards,

Andrew
