Forum Discussion
F5 LTM and Javascript error
Hello Experts
I am facing one issue with F5 LTM. There is one web application published on F5 with https offload. Everything is working fine, one page with javascript is not displaying anything and load page with error. Please advise what to do?
"Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0) Timestamp: Mon, 8 Dec 2014 05:59:15 UTC
Message: Syntax error Line: 855 Char: 82 Code: 0 URI: https://abc.com/arcgis_js_api/library/3.8/3.8/
Message: 'dojo' is undefined Line: 29 Char: 1 Code: 0 URI: https://abc.com/MapServer?f=jsapi
17 Replies
- Pratik_125797
Nimbostratus
HTTPS offload and URL rewrites does not work fine with Java. Which application is it ? Is it some standard application or custom built ?
- ghost-rider_124
Nimbostratus
Hi. I am not rewriting the javascript. I am just rewriting the "text" in body for http to https and hostname and location header. Could you please any possible cause of this? How I can clear the javascript loaded in to browser? - Pratik_125797
Nimbostratus
Rewriting will work with HTML but not with Java. That is why I asked which application are you using. For eg-: If its jinitiator with Oracle you have to do following settings -: http://oracle.3dub.com/2011/02/01/ssl-cert-workaround-for-oracle-forms-behind-f5/ - ghost-rider_124
Nimbostratus
I will check that. But In javascript file, there is only one URL and I manually change the real hostname and http to virtual hostname and https but also the same error. Could you give me some direction how to troubleshoot this
Are you using AVR module and checking page load time in it?
- ghost-rider_124
Nimbostratus
I am not using AVR
- Mahmoud_Eldeeb_
Cirrostratus
did you tried to change the browser, like (ms ie, firefox, chrome,...)
- ghost-rider_124
Nimbostratus
yes .. same from all browser. Any thoughts?
- r_dynamo_79563
Nimbostratus
I am facing a similar issue with kronos. I have two VIPs listening on HTTP & HTTPS. The HTTP has a simple https redirect to the main page, and the HTTPS VIP with a streaming profile has the following iRule:
when HTTP_REQUEST { tell server not to compress response HTTP::header remove Accept-Encoding disable STREAM for request flow STREAM::disable } when HTTP_RESPONSE { catch and replace redirect headers if { [HTTP::header exists Location] } { HTTP::header replace Location [string map {"http://" "https://"} [HTTP::header Location]] } only look at text data if { [HTTP::header Content-Type] contains "text" } { create a STREAM expression to replace any http:// with https:// STREAM::expression {@http://@https://@} enable STREAM STREAM::enable } }There's a run report instance that throws an undefined javascript error when accessing the web-app on the F5.
- RobS
Altostratus
Hi, I was wondering if you ever found a solution for this and Kronos? Trying to implement version 7 and it fails loading if I rewrite with https. Thanks. - r_dynamo_79563
Nimbostratus
Hi Rob, the Kronos admins have to enable the following settings: site.webserver.applet.communication.protocol=https site.security.ssl.termination.on=true site.security.ssl.termination.host=
- Pratik_125797
Nimbostratus
The rewrite irules don't work with Java. Probably you might want to edit httpd.conf and add an alias of
- ghost-rider_124
Nimbostratus
Hello Pratik. You mean, enable https on real server itself?
- r_dynamo_79563
Nimbostratus
The backend Servers are not using apache. What's the IIS equivalent of httpd.conf to add an alias of
- Pratik_125797
Nimbostratus
You can try adding it in site bindings.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
