Forum Discussion

Muhannad_64809's avatar
Muhannad_64809
Icon for Nimbostratus rankNimbostratus
Jun 29, 2018

F5 LTM is not passing an application/x-javascript to the client side.

Dear Team,

 

i am facing an issue with a WebSite using Joomla Template based on Helix Framework in responses, this specific response coming from the server is not passing to the client side,i didn't find any issue with the other contents till this moment.

 

It is application/x-javascript, and i was able to see the response from the server to the LTM but it is not passing to the client side, we are not having any compression profiles, also we are not using any SSL offloading to this content, the traffic flow over HTTP.

 

I am not sure if the HTTP profile can cause such issues so i have tried to disable it but i still having same issue.

 

I am unable to find the root of the issue but it is clear to me that some contents are not passing to the client, so i am wondering if anyone has faced similar issue before.

 

Regards, Muhannad

 

  • Please find below the response that has not been passed to the client side, i was able to see it reaching the F5-LTM

     

    /*---------------------------------------------------------------

     

    Package - Joomla Template based on Helix Framework --------------------------------------------------------------- Author - JoomShaper http://www.joomshaper.com Copyright (C) 2010 - 2012 JoomShaper.com. All Rights Reserved. license - PHP files are licensed under GNU/GPL V2 license - CSS - JS - IMAGE files are Copyrighted material Websites: http://www.joomshaper.com

    -----------------------------------------------------------------/ eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\b'+e(c)+'\b','g'),k[c])}}return p}('g z=t 1e({1d:7(1g,8){1g.1H(7(4){t z.1f(4,8)})}});z.1f=t 1e({1G:[1I],8:{1j:\'1m\',1k:\'k\',I:{x:0,y:0},1J:1F.1K.1L,1E:1D,17:\'o\',E:{1C:G},L:0,F:G},1d:7(6,8){3.j(8);3.Z=6.1c();3.Z.1h({\'1i\':3.1B.K(3),\'1l\':3.11.K(3)});3.6=6.d(\'c\',\'o\');3.6.1h({\'1i\':3.P.K(3),\'1l\':3.11.K(3)});g Y=7(4){g h=G,J=4.1c();9(J){9([\'1S\',\'e\'].1M(J.1U(\'1T\'))){h=J}i{h=Y(J)}}1n h}.K(3);3.h=Y(3.6);3.k=3.8.1k==\'k\';3.v=3.8.1j==\'1m\';3.H=G},1z:7(){g m=3.Z.1Q(),e={x:0,y:0},N,b,h,5,p;3.6.s({\'1a\':\'19\',\'c\':\'6\'});b=3.6.1b();3.6.s({\'c\':\'o\',\'1a\':\'1N\'});9(3.8.F){e=3.8.F.1t();N=3.8.F.1b()}9(3.k){9(3.v){5=m.5-e.x}i{5=m.14-b.x-e.x}p=m.1O-e.y}i{9(3.v){5=m.14-e.x}i{5=m.5-b.x-e.x}p=m.p-e.y}5+=3.8.I.x(3.v?1:-1);p+=3.8.I.y;3.5=3.v;9(3.8.F){9(3.v&&5+b.x>N.x){9(3.k){5=N.x-b.x}i{5=m.5-b.x-3.8.I.x-e.x;3.5=!3.5}}i 9(!3.v&&5<0){9(3.k){5=0}i{5=m.14+3.8.I.x-e.x;3.5=!3.5}}}9(3.h){h=3.h.1t();5-=h.x-e.x;p-=h.y-e.y}3.6.s({\'5\':5+\'r\',\'p\':p+\'r\'});1n b},u:7(){3.H=1P;g b=3.1z();z.18[3.8.17].u.1p(3,[3.6,b])},1B:7(){3.P();9(!3.H){3.10();3.1v=3.u.L(3.8.L,3)}},10:7(){1q(3.1v)},n:7(){3.H=G;z.18[3.8.17].n.1p(3,[3.6])},11:7(){3.10();9(3.H){3.P();3.1r=3.n.L(1R,3)}},P:7(){1q(3.1r)}});z.18={o:{u:7(4){4.d(\'c\',\'6\')},n:7(4){4.d(\'c\',\'o\')}},l:{u:7(4,b){g a=4.q(\'a\'),f=4.q(\'f\'),w={1s:b.x+\'r\',1u:b.y+\'r\',1y:\'19\'};9(!a){a=t Q(\'W\').s(w).V(4.1o()).U(4);4.R(\'a\',a)}4.d(\'c\',\'6\');9(3.k){a.1A(\'l\',3.8.E).l(\'n\').l(\'12\')}i{9(!f){f=t Q(\'W\').s(w).V(a).U(4);4.R(\'f\',f)}g 6=4,T=3.5?-b.x:b.x2;a.d(\'D-5\',T+\'r\').B(\'X\').j(3.8.E).j({A:7(){6.d(\'c\',\'6\')}}).C({\'D-5\':0})}},n:7(4){9(3.k){4.q(\'a\').l(\'15\')}i{g 6=4,O=3.5?-4.M():4.M()2;4.q(\'a\').B(\'X\').j({A:7(){6.d(\'c\',\'o\')}}).C({\'D-5\':O})}}},1V:{u:7(4,b){g a=4.q(\'a\'),f=4.q(\'f\'),w={1s:b.x+\'r\',1u:b.y+\'r\',1y:\'19\'};9(!a){a=t Q(\'W\').s(w).V(4.1o()).U(4);4.R(\'a\',a)}4.d(\'c\',\'6\');9(3.k){a.1A(\'l\',3.8.E).l(\'n\').l(\'12\').13(\'12\')}i{9(!f){f=t Q(\'W\').s(w).V(a).U(4);4.R(\'f\',f)}g 6=4,T=3.5?-b.x:b.x2;a.d(\'D-5\',T+\'r\').16(0).B(\'X\').j(3.8.E).j({A:7(){6.d(\'c\',\'6\')}}).C({\'S\':1,\'D-5\':0})}},n:7(4){9(3.k){4.q(\'a\').13(\'15\').l(\'15\')}i{g 6=4,O=3.5?-4.M():4.M()2;4.q(\'a\').16(1).B(\'X\').j({A:7(){6.d(\'c\',\'o\')}}).C({\'S\':0,\'D-5\':O})}}},13:{u:7(4){4.16(0).d(\'c\',\'6\').B(\'1w\').j(3.8.E).j({1x:\'S\',A:7(4){4.d(\'c\',\'6\')}}).C(1)},n:7(4){4.B(\'1w\').j({1x:\'S\',A:7(4){4.d(\'c\',\'o\')}}).C(0)}}};',62,120,'|||this|el|left|block|function|options|if|inner|size|display|setStyle|relative|outer|var|refer|else|setOptions|vertical|slide|ref|hide|none|top|retrieve|px|setStyles|new|show|ltr|styles|||SPMenu|onComplete|get|start|margin|fxOptions|bound|false|open|offset|parent|bind|delay|getWidth|limits|to|cancelHide|Element|store|opacity|from|inject|adopt|div|morph|searchRefer|handle|cancelShow|hider|in|fade|right|out|setOpacity|animation|Animations|hidden|visibility|getSize|getParent|initialize|Class|Item|items|addEvents|mouseenter|direction|mode|mouseleave|LTR|return|getChildren|apply|clearTimeout|hide_timer|width|getPosition|height|show_timer|tween|property|overflow|updatePosition|set|shower|wait|400|duration|Fx|Implements|each|Options|transition|Transitions|linear|contains|visible|bottom|true|getCoordinates|100|absolute|position|getStyle|slidefade'.split('|'),0,{}))

     

  • Hi,

     

    Did you check ltm logs? if you have a specific error?

     

    regards

     

  • Hi,

    Did you logged your response? If you see your response in release part, that means that the client have to receive response and the problem will be in client part:

    Can you test this please?

    when HTTP_REQUEST {
         Log the start of a new HTTP request
        set LogString " Client [IP::client_addr]:[TCP::client_port] -> [HTTP::host][HTTP::uri]"
    
    }
    when HTTP_RESPONSE {
    
        log local0. "======================RESPONSE======================="
    
            log local0. "$LogString (response) - pool info: status: [HTTP::status]"
            foreach aHeader [HTTP::header names] {
               log local0. "$aHeader: [HTTP::header value $aHeader]"
            }
            log local0. "=====================RESPONSE========================"
    
    }
    
    when HTTP_RESPONSE_RELEASE {
    
        log local0. "=====================RELEASE========================"
    
            log local0. "$LogString (response) - pool info: status: [HTTP::status]"
            foreach aHeader [HTTP::header names] {
               log local0. "$aHeader: [HTTP::header value $aHeader]"
            }
            log local0. "====================RELEASE========================="
    
    }