[Liferay6.2]Connect to ajax.googleapis.com …… timed out
启动liferay 6.2 tomcat之后,后台会报一大段的异常信息,主要异常信息如下:
-- :: org.apache.shindig.gadgets.http.BasicHttpFetcher fetch
信息: Got Exception fetching http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js - 5084ms
org.apache.http.conn.ConnectTimeoutException: Connect to ajax.googleapis.com/173.194.72.95: timed out
……
警告: Unable to retrieve remote library from http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
……
-- :: org.apache.shindig.gadgets.http.BasicHttpFetcher fetch
信息: Got Exception fetching http://www.google.com/ig/lib/libanalytics.js - 5015ms
org.apache.http.conn.ConnectTimeoutException: Connect to www.google.com/173.194.127.51: timed out
……
警告: Unable to retrieve remote library from http://www.google.com/ig/lib/libanalytics.js
……
-- :: org.apache.shindig.gadgets.http.BasicHttpFetcher fetch
信息: Got Exception fetching http://www.google.com/ig/lib/libga.js - 5001ms
org.apache.http.conn.ConnectTimeoutException: Connect to www.google.com/173.194.127.51: timed out
……
警告: Unable to retrieve remote library from http://www.google.com/ig/lib/libga.js

重新启动Tomcat就不会提示前面的异常信息了。
如果想保留该portlet的话,也可以找找源码,将google的js换成国内CDN提供的链接地址。
[Liferay6.2]Connect to ajax.googleapis.com …… timed out的更多相关文章
- 解决访问ajax.googleapis.com链接失败方法
参考文章:http://www.jianshu.com/p/690e28f7fde6 主要思路:修改hosts文件,将其网址ajax.googleapis.com指向本地服务器:本地服务器将通过aja ...
- 黄聪:wordpress后台加载ajax.googleapis.com导致打开速度很慢的解决方案
打开wordpress后台,发现很卡,通过开发者工具看到是因为加载http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothn ...
- 谷歌的ajax.googleapis.com被墙导致访问很多国外网站很慢的解决方法
比如访问StackOverflow, 更比如flexerasoftware.com(导致Visual Studio的打包程序InstallShield Limited Edition不能注册和下载) ...
- 无法从 ajax.googleapis.com 下载问题
除FQ外的解决办法: 打开目录 C:\Windows\System32\drivers\etc,修改 hosts 文件,添加一行 : 127.0.0.1 ajax.googleapis.com 打开I ...
- 关于wordpress后台首页加载ajax.googleapis特别慢的解决办法
通过审查元素发现,拖慢后台加载速度的主要是两个路径 1.https://ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js 2.h ...
- stackoverfow访问 ajax.googleapis.com
本文实验环境:Fedora 23 先用nslookup 查看stackoverflow.com的ip -vc参数,表示用强制用TCP 查到的stackoverflow的地址似乎没错, 用本地的DNS解 ...
- 黄聪:wordpress后台导致fonts.googleapis.com、ajax.googleapis.com加载慢的解决方法
方法1.使用我做的插件.[googleapis-to-useso] 方法2.在functions.php文件里面添加下面的代码就行了. if(is_admin()) { function hcsem_ ...
- Can't connect to any repository.Read timed out after 30,000 ms
解决方法:
- perationalError: (2003, "Can't connect to MySQL server on u'192.168.1.6' (timed out)")
在Ubuntu(192.168.1.20)中部署项目后,mysql还在另外一台windows(192.168.1.6)机子上,ping windows时可以ping通,但是访问项目提示: perati ...
随机推荐
- POJ 2388(排序)
http://poj.org/problem?id=2388 题意:就N个数的中位数. 思路:用快排就行了.但我没用快排,我自己写了一个堆来做这个题.主要还是因为堆不怎么会,这个拿来练练手. #inc ...
- Unity3d 防止内存修改工具的小方法
一个非常简单的方法,直接上代码. private int curATK; private int curAtkKey; public int CurATK { get { return curATK ...
- ACM/ICPC 之 平面几何-两直线关系(POJ 1269)
题意:给定四点的坐标(x,y),分别确定两直线,求出其交点,若重合or平行则输出相应信息 用四个点的坐标算出直线通式(ax+by+c=0)中的a,b,c,然后利用a,b,c计算出交点坐标(其他公式不够 ...
- 使用ssh正向连接、反向连接、做socks代理的方法
ssh -L 219.143.16.157:58080:172.21.163.32:8080 用户名@localhost -p 10142 在 219.143.16.157机器执行 将ssh隧 ...
- 修改UINavigationController返回按钮颜色
系统默认颜色是蓝色的 视觉效果非常难看 在push进的ViewController中写 //修改UINavigationController的文字颜色 self.navigationControlle ...
- jquery格式化时间
使用方法: new Date().format("yyyy-MM-dd hh:mm:ss"); 格式: Date.prototype.format = function (form ...
- WP8图片缩放功能实现
最近在学习WP8,想实现WP微信中查看图片时的放大缩小功能. 网上找了两个解决方案: 1 利用GestureListener 这个类在Microsoft.Phone.Controls.Toolkit中 ...
- simple demo how to get the list of online users
using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq ...
- 【leetcode】Edit Distance (hard)
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2 ...
- 【xml】转义字符 <等符号出现的原因
来源:http://www.cnblogs.com/hyd309/p/3549076.html HTML中的转义字符 HTML中<, >,&等有特别含义,(前两个字符用于链接签, ...