• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax works fine in HTTP but not in HTTPS in FireFox

 
Sekku Ramasamy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20611
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our HTML and JavaScript forum.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic