Problems to BlueBox

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

Nanshan
Posts: 20
Joined: 07 Jul 2008, 18:30

Problems to BlueBox

Postby Nanshan » 07 Aug 2008, 11:57

Hello, I need help with SFS, my problem is that my work for me to the SFS perfection, (when you use localhost (127.0.0.1)):
------------------------------
[Sending]: <msg t='sys'> <body action='verChk' r='0'> <ver v='140' /> </ body> </ msg>

[Received]: <cross-domain-policy> <allow-access-from domain="*" to-ports="9339" /> </ cross-domain policy->
[Received]: <msg t="sys"> <body action="apiOK" r="0" /> </ msg>
-----------------------------------
but, when put with my external IP, I have trouble with Bluebox.
before, I get:
-------------------------------------------
** Socket Connection Failed. Trying Bluebox **
[send]: Connect
Error opening url 'http://81.32.149.221:8080/BlueBox/HttpBox.do'
-------------------------------------------
He opened ports 9339, 8080, 80, and still does not work, either try to fix it now, when I am with my IP (81.32.149.221) does not leave anything, and does not work, and is more, if I modify the config. xml with my IP (81.32.149.221) does not work, I only worked well so 127.0.0.1, someone can help me, because I have to go showing my progress to my colleagues please
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 08 Aug 2008, 08:07

Can you please show us the server log at startup?
Paolo Bax
The SmartFoxServer Team
Nanshan
Posts: 20
Joined: 07 Jul 2008, 18:30

Postby Nanshan » 09 Aug 2008, 09:38

in the folder logs, all documents are blank, I thought that this serves


Code: Select all

|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
|                                                            |
|              ...:::  SmartFoxServer :::...                 |
|                Multiplayer Socket Server                   |
|                      version 1.6.2                         |
|                           ---                              |
|              (c) 2004 - 2007 gotoAndPlay()                 |
|                  www.smartfoxserver.com                    |
|                    www.gotoandplay.it                      |
|                                                            |
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|

2008-08-09 11:59:26.640::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2008-08-09 11:59:27.937::WARN:  Deprecated configuration used for ./webserver/we
bapps
2008-08-09 11:59:28.375::INFO:  jetty-6.1.3
2008-08-09 11:59:29.046::INFO:  Extract jar:file:/G:/SmartFoxServerPRO_1.6.2/Ser
ver/webserver/webapps/BlueBox.war!/ to C:\DOCUME~1\FACUND~1\CONFIG~1\Temp\Jetty_
0_0_0_0_8080_BlueBox.war__BlueBox__-udbwk9\webapp
::::::::::: { BlueBox INITED } ::::::::::::
:                                         :
: Version 1.0.3 -- (c) 2007 gotoAndPlay() :
:                                         :
:::::::::::::::::::::::::::::::::::::::::::
2008-08-09 11:59:34.578::INFO:  Started SelectChannelConnector @ 0.0.0.0:8080
11:59:34.625 - [ INFO ] > Starting h2 engine...


--- [ System Info ] ------------------------------------------

System CPU(s): 1
VM Max memory: 66 MB

os.name: Windows XP
os.arch: x86
os.version: 5.1
java.version: 1.6.0_03
java.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
java.vm.specification.version: 1.0
java.vm.version: 1.6.0_03-b05
java.vm.vendor: Sun Microsystems Inc.
java.vm.name: Java HotSpot(TM) Client VM


--- [ Network Cards ] -----------------------------------------

Card:MS TCP Loopback interface
 -> 127.0.0.1
Card:NIC Fast Ethernet PCI Familia RTL8139 de Realtek  - Minipuerto del administ
rador de paquetes
 -> 192.168.1.3


--- [ Licence Loaded ] ------------------------------------

License type    -> PRO
License owner   -> --== Free Demo Licence ==--
Max clients     -> 20
Bluebox type    -> Demo Version

--- [ Zones & Rooms ] -------------------------------------

11:59:40.265 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: simpleChat

        The Hall           (id: 1, max: 50, pass:N)
        The Kitchen        (id: 2, max: 50, pass:N)
        The Garden         (id: 3, max: 50, pass:N)
        The Bathroom       (id: 4, max: 50, pass:N)
        The Garage         (id: 5, max: 50, pass:N)
        The Living Room    (id: 6, max: 50, pass:Y)
11:59:44.421 - [ INFO ] > Zone Extension [ json ] created, for zone:simpleChat
[jsonSample.as]: JSON Example initialized

11:59:44.453 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: dbZone

        MainRoom           (id: 7, max: 10, pass:N)
11:59:45.656 - [ INFO ] > Zone Extension [ dbTest ] created, for zone:dbZone
[dbExtension.as]: Initing dbExtension
[dbExtension.as]: DB Manager is not active in this Zone!
11:59:46.515 - [ INFO ] > Zone Extension [ dbTestAdv ] created, for zone:dbZone
[dbExtensionAdv.as]: DB Manager is not active in this Zone!
11:59:47.671 - [ INFO ] > Zone Extension [ simpleExt ] created, for zone:dbZone
[simpleExt.as]: Hello from the Simple Extension Example!

Zone: sftris

        The Entrance       (id: 8, max: 50, pass:N)

Zone: mazeGame

        The Entrance       (id: 9, max: 50, pass:N)

Zone: loginZone

        The Hall           (id: 10, max: 50, pass:N)
11:59:48.437 - [ INFO ] > Zone Extension [ loginEx ] created, for zone:loginZone


Zone: multiChat

        Main Lobby         (id: 11, max: 50, pass:N)

Zone: yahtzee

        The Entrance       (id: 12, max: 50, pass:N)

Zone: TheoChat

        Lobby              (id: 13, max: 10, pass:N)
        The Dance Room     (id: 14, max: 10, pass:N)
        The Atrium         (id: 15, max: 10, pass:N)
        The Garden         (id: 16, max: 10, pass:N)
        The Lounge         (id: 17, max: 10, pass:N)

Zone: slogin

        The Lobby          (id: 18, max: 50, pass:N)
        The Garden         (id: 19, max: 50, pass:N)
        The Swimming Pool  (id: 20, max: 50, pass:N)
11:59:48.968 - [ INFO ] > Zone Extension [ slogin ] created, for zone:slogin

Zone: pixel

        The Basement       (id: 21, max: 4, pass:N)
11:59:49.531 - [ INFO ] > Zone Extension [ pixel ] created, for zone:pixel
[pixelGame.as]: PixelGame extension started!

Zone: letters

        Main               (id: 22, max: 50, pass:N)
11:59:49.921 - [ INFO ] > Zone Extension [ Letters ] created, for zone:letters
[Letters.as]: Letters script running.

11:59:50.062 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: messenger

        Main               (id: 23, max: 40, pass:N)
11:59:51.015 - [ INFO ] > Zone Extension [ smsg ] created, for zone:messenger

Zone: imgMan

        MainLobby          (id: 24, max: 50, pass:N)
11:59:51.921 - [ INFO ] > Zone Extension [ imgman ] created, for zone:imgMan
[imageManager.as]: Image Manager extension starts...

Zone: bomberman

        Lobby              (id: 25, max: 50, pass:N)

        DB Manager Activated ( org.h2.Driver )
Zone: h2db

        Lobby              (id: 26, max: 10, pass:N)
11:59:54.343 - [ INFO ] > Zone Extension [ h2db_ext ] created, for zone:h2db
[internalDbDemo.as]: Initing dbExtension

Zone: advBuddyList

        Lobby              (id: 27, max: 10000, pass:N)

Zone: sloader

        Lobby              (id: 28, max: 10000, pass:N)
11:59:54.546 - [ INFO ] > Zone Extension [ loader ] created, for zone:sloader
[ it.gotoandplay.extensions.examples.SocketFileLoader ]: Socket File Loader -- S
tarted!

Zone: SmartVideoClipPlayer

        The Lobby          (id: 29, max: 50, pass:N)
11:59:54.625 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tVideoClipPlayer
11:59:54.640 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
11:59:54.671 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (4 clips found)
11:59:54.671 - [ INFO ] > [RedBox] Extension initialized

11:59:54.671 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: SmartMessengerAV

        Main               (id: 30, max: 40, pass:N)
11:59:55.671 - [ INFO ] > Zone Extension [ smsg ] created, for zone:SmartMesseng
erAV
11:59:55.671 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tMessengerAV
11:59:55.687 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
11:59:55.703 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (0 clips found)
11:59:55.718 - [ INFO ] > [RedBox] Extension initialized

Zone: SmartChatAV

        The Hall           (id: 31, max: 50, pass:N)
        The Kitchen        (id: 32, max: 50, pass:N)
        The Garden         (id: 33, max: 50, pass:N)
        The Bathroom       (id: 34, max: 50, pass:N)
        The Garage         (id: 35, max: 50, pass:N)
11:59:55.718 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tChatAV
11:59:55.750 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
11:59:55.750 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (0 clips found)
11:59:55.750 - [ INFO ] > [RedBox] Extension initialized

Zone: SmartVideoConference

        Conference hall 1  (id: 36, max: 10, pass:N)
        Conference hall 2  (id: 37, max: 10, pass:N)
        Conference hall 3  (id: 38, max: 10, pass:N)



--- [ Server Starting ] ---------------------------------

Server address: 79.150.195.239
Server port   : 9339

11:59:55.937 - [ INFO ] > [TaskScheduler] ... started ::
11:59:55.937 - [ INFO ] > [BlueBoxHandler]... started ::
11:59:55.937 - [ INFO ] > [EventWriter] ..... started :: 1 thread(s)
11:59:55.937 - [ INFO ] > [SystemHandler] ... started :: 1 thread(s)
11:59:55.953 - [ INFO ] > [ExtensionHandler]. started :: 1 thread(s)
11:59:55.953 - [ INFO ] > [DeadChannelsPolicy: strict]
11:59:55.968 - [ INFO ] > Server is up and running!
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 09 Aug 2008, 20:54

This is really quite strange:
<msg t='sys'> <body action='verChk' r='0'> <ver v='140' />

This version of the API, 1.4.0, does not support the BlueBox.
Make sure you use the latest API, coming with SFS PRO.
The version number of the Client API should be 1.5.x at least

Additionally, at the provided IP address -> 79.150.195.239
I can't connect to SFS using the default port (9339 = socket, 8080 = bbox)
Are you sure it is really running? If so you should check your firewall
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 17 guests