Crossdomain Error #2048
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the error #2048 flash workings and policies of this site About Us Learn more about Stack
Flash Security Error 2048
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions
Error #2048 Flash Security Settings
Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join
Error #2048 Chrome
them; it only takes a minute: Sign up How can I fix a Flash security error #2048 up vote 2 down vote favorite I have having an error in flash #2048. Everything I can find points to the fact this this is a security precaution as the files are not on the same domain. We have a site running flash player security error 2048 on Rackspace cloud servers, and are just now trying to use cloud files a CDN to speed up a product rotation tool that we use on our site. You can view the current working tool, using the files located on our server as well as my demo where I switched links to reflect the cloud files instead of the local files. ( EDIT: I have removed links to demo site as they are no longer relevant. ) The solutions I have found are seemed to be adding a few lines of code according to this stackoverflow question. From the Stackoverflow question above's answer I implemented the following code: allowscriptaccess = "always" allownetworking = "all" As described in our template file. My concern is the first portion of the fix listed. here for a quick overview of the fight my monster error 2048 site Help Center Detailed answers to any questions you might have error 2048 watchespn Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://stackoverflow.com/questions/14634366/how-can-i-fix-a-flash-security-error-2048 Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just http://stackoverflow.com/questions/14093429/how-to-fix-this-probably-cross-domain-policy-error-using-flash-socket-io-and like you, helping each other. Join them; it only takes a minute: Sign up How to fix this (probably) cross domain policy error using Flash, Socket.IO and NodeJS up vote 0 down vote favorite 1 Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: Security sandbox violation: http://kipos.bluecodestudio.com/holdthebomb/HoldTheBombWeb.swf cannot load data from http://23.29.126.76:8000/socket.io/1/?t=1356891827452. at io::Socket/doHandshake()[/Users/airrider3/github/AS3-Socket.IO-XHR-Polling/xhr-polling/src/io/Socket.as:139] at io::Socket/connect()[/Users/airrider3/github/AS3-Socket.IO-XHR-Polling/xhr-polling/src/io/Socket.as:110] at io::Socket()[/Users/airrider3/github/AS3-Socket.IO-XHR-Polling/xhr-polling/src/io/Socket.as:90] at io::IO$/connect()[/Users/airrider3/github/AS3-Socket.IO-XHR-Polling/xhr-polling/src/io/IO.as:36] at MainController/endOfbluecodeSplash()[/Users/airrider3/Dropbox/Projects/Kipos/Minigames/HoldTheBombWeb/src/MainController.as:41] at bluecodeSplash/endOfSplash()[/Users/airrider3/Dropbox/Projects/Kipos/Minigames/HoldTheBombWeb/src/bluecodeSplash.as:55] at Function/http://adobe.com/AS3/2006/builtin::apply() at com.greensock.core::TweenCore/complete()[D:\_Flash\_AS3\src\com\greensock\core\TweenCore.as:178] at com.greensock::TweenLite/renderTime()[D:\_Flash\_AS3\src\com\greensock\TweenLite.as:477] at com.greensock.core::SimpleTimeline/renderTime()[D:\_Flash\_AS3\src\com\greensock\core\SimpleTimeline.as:93] at com.greensock::TweenLite$/updateAll()[D:\_Flash\_AS3\src\com\greensock\TweenLite.as:642] I'm using Flash Builder, an ActionScript project, which connects to a server running NodeJS using the Socket.IO module. To connect Socket.IO with AS3 I'm using the following library https://github.com/sbquinlan/AS3-Socket.IO-XHR-Polling which works perfectly while testing in local, from Fla ElementsAdobe Dreamweaver Adobe MuseAdobe Animate CCAdobe Premiere ProAdobe After EffectsAdobe IllustratorAdobe InDesignView all communitiesExplore Menu beginsMeet the expertsLearn our productsConnect with your peersError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work https://forums.adobe.com/thread/432290 correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try https://github.com/AxisCommunications/locomote-video-player/issues/155 again. More discussions in ActionScript 3 All CommunitiesAdobe Animate CC - HomeActionScript 3 1 Reply Latest reply on May 13, 2009 11:55 AM by clbeech Cross domain scripting: error #2048 error #2048 Bezanaire May 13, 2009 6:56 AM Hi,This is my first entry in this forum but I already found a lot of answers by browsing it. However, altough many references seem to solve the problem I'm hurting on, it doesn't seem to work for me...Now, here's the case:I made a flash web site that will be hosted on an external web error #2048 flash server (let's call it server «www.external.com»).My flash needs to get some info from my internal server (let's call it «www.internal.com»).On «www.internal.com», I don't have access to the root, only to the folder «myfolder» so my website reads like this: «www.internal.com/myfolder».Being aware of some sandbox security issues, I made a crossdomain.xml file and uploaded it to «www.internal.com/myfolder/crossdomain.xml» to provide acces to «www.internal.com/myfolder» from «www.external.com» wich is the following: Support Search GitHub This repository Watch 37 Star 85 Fork 61 AxisCommunications/locomote-video-player Code Issues 32 Pull requests 5 Projects 0 Pulse Graphs New issue message: "Socket reported a security error: Error #2048.", code: 731 #155 Open Balaji-Sundar opened this Issue Sep 15, 2015 · 20 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 6 participants Balaji-Sundar commented Sep 15, 2015 Hi, I am using Dahua DVR embedded server its support HTTP and RTSP Live Streaming of Analog Camera's and its running in global server (e.g 121.242.232.196) I am using locomote-video player from another global server (e.g 121.242.232.158). I have to live stream data from 121.242.232.196 server to my local 121.242.232.158 server using RTSP protocol.(e.g rtsp://121.242.232.196:554/cam/realmonitor?channel=1) Both are in same domain and same network only. But i am getting this error message: "Socket reported a security error: Error #2048.", code: 731. I don't have permission to add cross-domain-policy file at Dahua embedded server. Please help me to solve this issue. ASAP Regards -S.Balaji Axis Communications member noseglid commented Sep 15, 2015 If you can't add a socket policy server on the RTSP server, you will not be able to use Locomote to play RTSP from that server. Balaji-Sundar commented Sep 18, 2015 Can i load policy file from different server BrandonLWhite commented Oct 7, 2015 I don't believe so, because it is the lower layer Flash framework that is making that request, and there's no way for the upper layer Locomote to control that. Whenever Locomote asks to open the direct socket (required for RTSP) then Flash is going to request the socket policy from the same hostname/IP. There is nothing Locomote can do about that. Balaji-Sundar commented Oct 12, 2015 I have added adobe socket policy server. But now i am getting another error API is ready. play can now be called VM123:111 Log Message: RTSP OUT: VM123:111 Log Message: RTSPClient: switching authorization from none to basic VM123:111 Log Message: RTSP OUT: VM123:108 Object {message: "Unauthorized", code: 401} I am using RTSP over TCP and my url is like "rtsp://USERNAME:PASSWORD@IP ADDRESS/cam/realmonitor?channel=1&subtype=00" Same URL working fine with VLC media player. Please help me to solve this issue. ASAP BrandonLWhite commented Oct 12, 2015 You could be having the same issue I encountered with Foscam cameras. What I found is that Locomote disconnects and reconnects when switching authorizations. The s