有没有人知道为什么在部署服务器(Windows 2008 R2 64位,IIS7.5)上SignalR(1.0.0.0 rc1)会回退到端口80上的长轮询,但如果站点配置在不同的端口上则使用SSE端口?
我不接触该软件 - 只需将网站绑定更改为端口8081并查看客户端日志。
港口80:
[19:28:15 GMT+0200 (FLE Standard Time)] SignalR: Negotiating with '/signalr/negotiate'. jquery.signalR-1.0.0-rc1.min.js:10
[19:28:15 GMT+0200 (FLE Standard Time)] SignalR: Attempting to connect to SSE endpoint 'http://192.168.10.91/signalr/connect?transport=serverSentEvents&connectionId=0e082fb2-d94d-4907-9579-b4ccde10816d&connectionData=%5B%7B%22name%22%3A%22onair%22%7D%5D&tid=8' jquery.signalR-1.0.0-rc1.min.js:10
[19:28:18 GMT+0200 (FLE Standard Time)] SignalR: EventSource timed out trying to connect jquery.signalR-1.0.0-rc1.min.js:10
[19:28:18 GMT+0200 (FLE Standard Time)] SignalR: EventSource readyState: 0 jquery.signalR-1.0.0-rc1.min.js:10
[19:28:18 GMT+0200 (FLE Standard Time)] SignalR: EventSource calling close() jquery.signalR-1.0.0-rc1.min.js:10
[19:28:18 GMT+0200 (FLE Standard Time)] SignalR: This browser supports SSE, skipping Forever Frame. jquery.signalR-1.0.0-rc1.min.js:10
4
Object {Name: "WindowMain", Dock: 2, EleID: "mainContainer", Children: Array[5]}
jquery.layoutengine.js:52
[19:28:18 GMT+0200 (FLE Standard Time)] SignalR: Attempting to connect to 'http://192.168.10.91/signalr/connect?transport=longPolling&connectionId=0e082fb2-d94d-4907-9579-b4ccde10816d&connectionData=%5B%7B%22name%22%3A%22onair%22%7D%5D&tid=8' using longPolling.
端口8081
[19:28:04 GMT+0200 (FLE Standard Time)] SignalR: Negotiating with '/signalr/negotiate'. jquery.signalR-1.0.0-alpha2.min.js:10
[19:28:04 GMT+0200 (FLE Standard Time)] SignalR: Attempting to connect to SSE endpoint 'http://192.168.10.91:8081/signalr/connect?transport=serverSentEvents&connectionId=08b410ad-7be1-4a94-be02-c713df035c98&connectionData=%5B%7B%22name%22%3A%22onair%22%7D%5D&tid=9' jquery.signalR-1.0.0-alpha2.min.js:10
[19:28:04 GMT+0200 (FLE Standard Time)] SignalR: EventSource connected jquery.signalR-1.0.0-alpha2.min.js:10
[19:28:04 GMT+0200 (FLE Standard Time)] SignalR: Now monitoring keep alive with a warning timeout of 40000 and a connection lost timeout of 60000 jquery.signalR-1.0.0-alpha2.min.js:10