Ubuntu Highcharts服务器超时/空映像

Ubuntu Highcharts服务器超时/空映像,ubuntu,highcharts,Ubuntu,Highcharts,我们有一个highcharts导出服务器v3,目前构建在Ubuntu虚拟机上 目前(使用演示页面),我们有时会收到7字节的.png文件,其中没有图像。但是,有时,我们没有得到任何文件,而是得到以下错误: 转换SVG超时,文件有这么大,或者javascript回调中有语法错误 从命令行运行phantomJS会给我们一个填充的图表,但是我们从演示页面上什么也得不到。如有任何建议,将不胜感激 我的app.properties文件如下所示: #### phantomjs properties ####

我们有一个highcharts导出服务器v3,目前构建在Ubuntu虚拟机上

目前(使用演示页面),我们有时会收到7字节的.png文件,其中没有图像。但是,有时,我们没有得到任何文件,而是得到以下错误:

转换SVG超时,文件有这么大,或者javascript回调中有语法错误

从命令行运行phantomJS会给我们一个填充的图表,但是我们从演示页面上什么也得不到。如有任何建议,将不胜感激

我的app.properties文件如下所示:

#### phantomjs properties ####

# the host and port phantomjs listens to
host = 127.0.0.1
port = 7777

# location of the phantomjs executable, could be for example /usr/local/bin/phantomjs
exec = /usr/bin/phantomjs

# location of convert script used by phantomjs, optional to leave the script property empty, than it's using the script located in: /WEB-INF/phantomjs/highcharts-convert.js. This is tested in TOMCAT, but sp$
script = /var/lib/tomcat6/webapps/highcharts-export/WEB-INF/phantomjs/highcharts-convert.js

#### connect properties used to connect with phantomjs running as HTTP-server ####
# all values in milliseconds

# specifies the timeout when reading from phantomjs when a connection is established
readTimeout = 6000

# timeout to be used when opening a communications link to the phantomjs server
connectTimeout = 500

# the whole request to the phantomjs server is scheduled, max timeout can last to this value. This is because in java you can't rely on the above two timeouts.
maxTimeout = 6500

#### Pool properties ####

# number of phantomjs servers you can run in the pool.
poolSize = 5

# The pool is implemented as a BlockingQueue. When asking for a phantom server connection and nothing is available, it waits for the number of milliseconds defined by maxWait
maxWait = 500

如果您使用的是浏览器,请选择哪个浏览器。我们发现IE发送的SVG字符串比任何其他浏览器都大得多,超过了我们使用的java服务器允许的长度。您的java服务器中的POST字符长度设置为多少?Chrome发送的POST消息长度是多少?当您尝试使用Highcharts导出服务器时,您认为是什么遇到那只虫子?如果是,请在JSFIDLE上重新创建问题。运气好吗?我也面临同样的问题