Forum Discussion

raytoles_75680's avatar
raytoles_75680
Icon for Nimbostratus rankNimbostratus
May 13, 2014

Load Balancing Node.js

I have a question. I'm running a trial F5 with 11.5 to test our load balancing websocket traffic using an http profile. The pool members are running node.js and as I understand it angularjs is involved as well. The links on the pages do not work when going through the virtual server unless you add "/" to the URL. However when navigating straight to the backend pool members, the links work fine. What can this be? Is there a problem with the virtual server set up?

 

1 Reply

  • Nojan_Moshiri_4's avatar
    Nojan_Moshiri_4
    Historic F5 Account

    It sounds like the links may be absolutely instead of relative? Just a wild guess on my part.

     

    Use a tool such as firebug or HTTPWatch and take a look at the traffic through the BIG-IP and direct to the servers, or , just examine the source code. Remember that the links need to be pointing to the virtual IP if they are hard-coded.

     

    An iRule or a stream profile can be used to re-write your links on the fly, or you can change your links to be relative.

     

    Anyway, a little more information would allow for a less guessing on my part :-)