2013-04-17 28 views
1

我们正试图通过HTTPS访问Google地图。谷歌地图未通过https在Firefox上加载

我们修改的JSP脚本

script src="https://maps.googleapis.com/maps/api/js?client=<xxxx>&sensor=false" type="text/javascript" 

这似乎在Chrome和IE8正常工作。但在Firefox(V 19.0.2和11)中,有一些问题。

具体来说,我们在Firefox的控制台,我认为意味着,谷歌的API都没有得到正确访问越来越

TypeError: google.maps.InfoWindow is not a constructor

此问题的任何建议/解决方案?

更多:

我们都可以从Google地图API的一个407响应。 具体来说,使用招请求的样子:

CONNECT maps.googleapis.com:443 HTTP/1.1 
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0 
Proxy-Connection: keep-alive 
Connection: keep-alive 
Host: maps.googleapis.com 

和响应的样子:

HTTP/1.1 407 Proxy Authorization Required 
Date: Mon, 22 Apr 2013 04:46:47 GMT 
Proxy-Connection: keep-alive 
Via: 1.1 XXXXX 
Cache-Control: no-store 
Content-Type: text/html 
Content-Language: en 
Proxy-Authenticate: NTLM 
Proxy-Authenticate: Basic realm="Websense Content Gateway" 
Content-Length: 322 
Proxy-Support: Session-Based-Authentication 

<HEAD><TITLE>Proxy Authorization Required</TITLE></HEAD> 
<BODY BGCOLOR="white" FGCOLOR="black"><H1>Proxy Authorization Required</H1><HR> 
<FONT FACE="Helvetica,Arial"><B> 
Description: Authorization is required for access to this proxy</B></FONT> 
<HR> 
<!-- default "Proxy Authorization Required" response (407) --> 
</BODY> 

回答

1

妈的。其与我公司的网络代理的问题!我必须为我的应用程序使用的所有网址(包括谷歌地图apis)添加一个例外,并且工作正常。

+0

我有类似的问题,你介意发布什么网址你也添加了异常吗? – Phil