I used http sniffer to trace requests:
1.
request: sfsHttp=connect
response: #567e47315f6541b9c7f0a8b163205813
2.
request: sfsHttp=567e47315f6541b9c7f0a8b163205813<msg t='sys'><body action='verChk' r='0'><ver v='156' /></body></msg>
response:
3.
request: sfsHttp=567e47315f6541b9c7f0a8b163205813poll
response: <?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-access-from domain="*" /></cross-domain-policy>
<msg t='sys'><body action='apiOK' r='0'></body></msg>
4.
request: sfsHttp=567e47315f6541b9c7f0a8b163205813poll
response: ERR#01
bluebox.properties:
Code: Select all
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::
# {{ SmartFoxServer - BlueBox }}
# Configuration File
# version 1.0
#
# (c) 2004-2007 gotoAndPlay()
# www.smartfoxserver.com
# www.gotoandplay.it
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::
#log_level=FINER
log_level=INFO
log_folder=./logs/
log_max_size=100000
log_max_files=5
# Can be embedded or stand-alone
serverMode=embedded
# These 2 are available only in stand-alone mode
sfsAddr=127.0.0.1
sfsPort=9339
# This value should always be > 20. A value of 30 is recommended.
client_idle_time=30
# Allows runtime debugging
# You can point the browser to -> http://hostname:port/BlueBox/HttpBox.go?debugCmd=main
debug_mode=true
What am I doing wrong?