加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Blazeds StreamingAMFChannel error for HTTP 1.0 protocol

发布时间:2020-12-15 01:07:26 所属栏目:百科 来源:网络整理
导读:如果你是用StreamingAMFChannel,而client side的web browser使用http 1.0协议,那么就会出error: [BlazeDS]Endpoint with id 'my-streaming-amf' cannot service the streaming request made with? HTTP 1.0. Only HTTP 1.1 is supported. 解决方法是: HTT

如果你是用StreamingAMFChannel,而client side的web browser使用http 1.0协议,那么就会出error:

[BlazeDS]Endpoint with id 'my-streaming-amf' cannot service the streaming request made with? HTTP 1.0. Only HTTP 1.1 is supported.


解决方法是:

HTTP协议版本支持问题,HTTP1.1才开始支持blazeds

查看浏览器internet选项-高级-有个http设置看看是否为HTTP1.1

如果用到了tomact,那就顺便再检查下下面的配置(一般不会出问题)

server.xml中配置
<Connector port="8080" protocol="HTTP/1.1"?
? connectionTimeout="20000"?
? redirectPort="8443" />



ref link: http://topic.csdn.net/u/20100928/09/611462be-1cf5-43d1-9df7-40938fc018dd.html

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读