| Author |
Ajax works fine in HTTP but not in HTTPS in FireFox
|
Sekku Ramasamy
Greenhorn
Joined: Oct 28, 2010
Posts: 2
|
|
When we are directly access the application from Application server(localhost).I am getting the correct response.
This is URL
http://localhost:27110/vcm-ui/request?vui.request.transport=json&vui.response.transport=json&vui.request=[{%22id%22%3A0.8391487769614959%2C%22action.key%22%3A%22message%22%2C%22event%22%3A%22multiple%22%2C%22content%22%3A{%22com.vignette.ui.framework.module.id%22%3A%22task%22%2C%22com.vignette.ui.framework.module.view.mode%22%3A%22table%22%2C%22baseName%22%3A%22com.vignette.ui.vcm.l10n.module.TaskResource%22%2C%22keys%22%3A%22accept.action.label\taccept.action.description\treject.action.label\treject.action.description\tapprove.action.label\tapprove.action.description\tmenu.tour.label\tmenu.tour.description\tmenu.tour.url%22}}%2C]%20HTTP/1.1
Respons
/*{xapi:{metadata:{"user": "?","status": "ok","request": "http://localhost:27110/vcm-ui/request"},container:{"type": "vui","id": "0.8391487769614959",data:[{"type": "vuiError","message": "Current user is not authorized to perform the requested action.","id": "0.8391487769614959","content": "", "end": "---end-marker---"}]}}}*/
When we are trying to access from Webserver(https proxy) by redirecting to Application.I am getting encrypted response.
The URL for Access Webserver is
https://qa2.rpvgn.com/vcm-ui/request?vui.request.transport=json&vui.response.transport=json&vui.request=[{%22id%22%3A0.8391487769614959%2C%22action.key%22%3A%22message%22%2C%22event%22%3A%22multiple%22%2C%22content%22%3A{%22com.vignette.ui.framework.module.id%22%3A%22task%22%2C%22com.vignette.ui.framework.module.view.mode%22%3A%22table%22%2C%22baseName%22%3A%22com.vignette.ui.vcm.l10n.module.TaskResource%22%2C%22keys%22%3A%22accept.action.label\taccept.action.description\treject.action.label\treject.action.description\tapprove.action.label\tapprove.action.description\tmenu.tour.label\tmenu.tour.description\tmenu.tour.url%22}}%2C]%20HTTP/1.1
The Response I am getting is
Code Used for making a Ajax request is
This working fine in IE 6 but not in FireFox and IE 7
Please help in solving it
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Moving to our HTML and JavaScript forum.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Did you look at the headers, is it returning the same content type/encoding/etc. Does it work with non https on the same server?
Eric
|
 |
Sekku Ramasamy
Greenhorn
Joined: Oct 28, 2010
Posts: 2
|
|
Hi Eric
We have solved the problem.
Solution is
gzip compression done by web server was not supported by IE7 and FF.
So I had removed the compression, and it worked.
But removing compression may affect the performance.
So I am looking for better solution.
|
 |
 |
|
|
subject: Ajax works fine in HTTP but not in HTTPS in FireFox
|
|
|