tracker issue : CF-3154420

select a category, or use search below
(searches all categories and all time range)

WebSocket Flash Failover is failing

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Cameron Jacobs / Cameron Jacobs (Cameron.Jacobs)

Created: 03/30/2012

Components: Web Socket

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Public Beta /

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Linux All

Vote Count: 0

Problem Description:
I have built an app using a coldfusion web socket, and also tried a couple different samples I have found on the internet and received  the same problem on all of them.  Build any application using a coldfusion websocket, then verify it's functional on Firefox or Chrome.  Then connect to it from a browser that does not support Web Sockets, like Internet Explorer 8.  A JS error is thrown:
[WebSocket] cannot connect to Web Socket server at ws://[server name]:8585/cfusion/cfusion (SecurityError)
make sure the server is running and Flash socket policy file is correctly placed

Any Workarounds:
None that I have been able to find

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3154420

External Customer Info:
External Company:  
External Customer Name: Cameron.Jacobs
External Customer Email:  
External Test Config: My Hardware and Environment details:

Ubuntu 11.10 x86_64

Apache 2



Hi Jacobe, Can you make sure you have root permissions as flash port 843 won't work otherwise? Also Try to access websockets without Apache i.e access websocket with inbuilt webserver.
Comment by Kunal S.
19833 | April 09, 2012 01:16:36 AM GMT
I do have root privileges on the machine, but cfusion is not running as root. So, not entirely sure what you're asking me to change. I installed CF10 with the apache connector, can I enable the built-in webserver without re-installing?
Comment by External U.
19834 | April 09, 2012 11:48:42 AM GMT
cfusion should be running as root user. Can you run coldfusion with root permissions?
Comment by Kunal S.
19835 | April 10, 2012 04:49:10 AM GMT
I think we are talking about different things. When I start coldfusion I am starting it as root: sudo ./coldfusion start However, coldfusion has been set to run using the user "www-data" as this is the user that apache uses.
Comment by External U.
19836 | April 13, 2012 04:31:13 PM GMT
still looking for some info on this. Is there any way to re-enable the internal webserver (port 8500) after a connector has been installed? (Without re-installing ColdFusion 10.) I would love to give this a try, but currently my ColdFusion 10 instance has been setup to run with Apache and would rather not re-install again if it's possible. Thanks!
Comment by External U.
19837 | April 18, 2012 02:11:22 PM GMT
Look up port="8500" in server.xml in {cfroot}\runtime\conf and uncomment the connector block. You might need to restart the server after this change.
Comment by Vamseekrishna N.
19838 | April 18, 2012 02:36:15 PM GMT
Awesome thanks! I'll test this right now
Comment by External U.
19839 | April 18, 2012 02:55:25 PM GMT
Okay, just ran a test on this. I had already started it on my last post. Looks like everything is running properly on port 8500 when I'm using a WebSocket enabled browser like Chrome or FireFox; however, I am still having the same issue with the Flash socket policy file on Internet Explorer.
Comment by External U.
19840 | April 18, 2012 02:56:47 PM GMT
Based on some discussion with Kunal on the forum, it appears the problem seems to be linked to port 843 not listening; however, the port is opened in my firewall (ufw). But netstat does not show the port as open. Do you have any ideas about how I can get this port opened properly?
Comment by External U.
19841 | April 19, 2012 01:06:32 PM GMT
Any help / information about what to change or do on this?
Comment by External U.
19842 | April 27, 2012 10:25:43 AM GMT
Repaired with the final release. This is now ready to be closed.
Comment by External U.
19843 | May 17, 2012 03:14:06 PM GMT