Receiving 503

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

Moderators: Lapo, Bax

jarruda
Posts: 4
Joined: 02 Apr 2010, 16:38

Receiving 503

Postby jarruda » 02 Apr 2010, 16:44

When attempting to connect to BlueBox via the Java API, I am not receiving a reply at all from the server other than a 200.

When I access the debug URL (http://[my domain]:8080/BlueBox/HttpBox.do?debugCmd=main), I receive the following information:

Code: Select all

HTTP ERROR 503

Problem accessing /BlueBox/HttpBox.do. Reason:

    java.lang.NumberFormatException: null

Caused by:

javax.servlet.UnavailableException: java.lang.NumberFormatException: null
   at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:406)
   at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:442)
   at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:478)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
   at it.gotoandplay.smartfoxserver.httpbox.filter.SessionIDFilter.doFilter(SessionIDFilter.java:195)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
   at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
   at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:324)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)


I'm not sure what I should attempt next.

Server is 1.6.6, BlueBox is 1.0.5.

Startup logs show no errors.
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 05 Apr 2010, 17:08

Make sure that the <ServerIP> setting in your config.xml is set as this:

Code: Select all

<ServerIP>*</ServerIP>

Also check your blueBox.properties file and make sure it has this line:

Code: Select all

sfsAddr=127.0.0.1
Lapo
--
gotoAndPlay()
...addicted to flash games
jarruda
Posts: 4
Joined: 02 Apr 2010, 16:38

Postby jarruda » 05 Apr 2010, 17:19

Lapo wrote:Make sure that the <ServerIP> setting in your config.xml is set as this:

Code: Select all

<ServerIP>*</ServerIP>



This seems to have done the trick. The docs say "It's the physical IP address used by the server. By default, since version 1.5.9, the server binds all the available IP addresses, so you don't need to specify an address."

So I tried everything from leaving the tags empty, using the external IP, and 127.0.0.1, which was the default, all causing different errors. =)

Thanks for the response.

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 9 guests