Topic: 1.7 Flash security seems to be different
I have a widget that works perfectly under 1.6 but no longer works under 1.7.
The widget itself reads data from a second internal httpd server running on port 8080. This secondary httpd has a crossdomain file with the flowing content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cros … policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>
When I look at the player traces
2009-06-02 17:28:25 NetStreamRequest::ProcessHeaders(10) content-type: text/xml
2009-06-02 17:28:25 NetStreamRequest::Step(10) done, closing stream (277 of 277 bytes, avail=0) status=200 (ok)
2009-06-02 17:28:26 TRACE: -> API: Player.checkLicensingResponse( true )
2009-06-02 17:28:26 TRACE: isAllowed? 1
Trying to read crossdomain.xml
2009-06-02 17:28:26 NetStreamRequest::Open(1): Opening protocol 'http://' host 'localhost' port 8080 location '/crossdomain.xml'
2009-06-02 17:28:26 NetStreamRequest::Open(1) opened http object id 8
2009-06-02 17:28:26 NetStreamRequest::ProcessHeaders(1) content-type: application/octet-stream
2009-06-02 17:28:26 NetStreamRequest::Step(1) done, closing stream (214 of 214 bytes, avail=0) status=200 (ok)
These are my traces from onData() and onLoad() saying there was a problem
2009-06-02 17:28:26 TRACE: Error loading config content.
2009-06-02 17:28:26 TRACE: Config loaded with success=false
2009-06-02 17:28:26 TRACE: ExternalMusicSource.assignPlayer(): initializing pandora
2009-06-02 17:28:26 TRACE: -> Player.setMusicPlayer() _level0.controlPanel.instance46.callbacks , [type Function] ; 13150
2009-06-02 17:28:26 TRACE: -> Player.setGuid( 78FBE76F-AB2A-C6D4-D8F3-04AB3F074319 )
2009-06-02 17:28:26 TRACE: ExternalMusicSources.getNextItem() unqueuing iheartradio
I have verified that if I point my browser at any of the files hosted on the second httpd instance they load fine as well as issuing a wget on the chumby itself (as in wget localhost:8080/crossdomain.xml). At this point I am at a loss as to where to look. I was going to try and turn on loging on httpd but I could not get that to happen. The only thing I can think of is that something changed between 1.6 and 1.7 that is now restricting access from local to local but that would be a really odd thing to add/change.
Thanks
-Sam