Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install instructions and connection timed out #452

Open
dreamalligator opened this issue Sep 9, 2014 · 2 comments
Open

install instructions and connection timed out #452

dreamalligator opened this issue Sep 9, 2014 · 2 comments

Comments

@dreamalligator
Copy link

I was installing on a mostly clean Ubuntu install, so thought to include instructions for anyone else that might benefit. Also, I am getting a timeout error on both 1.7.10 and 1.8 clients.

Bravo dependencies (already listed)

  • pip install construct
  • apt-get install python-twisted
  • pip install ampoule

If you're running on a clean server, you'll want to make sure you installed these

  • java: apt-get install openjdk-7-jdk
  • python-dev: apt-get install python-dev

Make a folder for your server, such as ~/minecraft and cd into it.

  • git clone https://github.com/bravoserver/bravo.git and cd into bravo
  • cp bravo.ini.example ~/.bravo/bravo.ini (see valid locations and settings, example is here)
  • python setup.py install

Run twistd -n bravo like it says :)

You're going to want to change your path to your example world instead of /absolute/path/to/world haha. However, I'm just trying to get to connect without timeout atm.

If running locally, check localhost:8080 or if on a server your.domain.goes.here:8080/. I suppose see http://www.scaine.net/site/2013/02/step-by-step-install-a-minecraft-server-on-ubuntu/ if you need some help running from your personal machine.

If you get

Failed to connect to the server
Internal Exception: io.netty.handler.timeout.ReadTimeoutException

or Error: 'Connection timed out' then possibly this issue #448 will solve, although I just got a This server doesn't support your ancient client. haha. So, instead of 1.4.2 try 1.7.10 instead of 1.8 maybe. However, this hasn't solved my own issue.

I will update this issue if I find solution. Thanks.

@dreamalligator
Copy link
Author

Tested the following client versions:

  • 1.4.2
  • 1.5.1
  • 1.5.2
  • (skipped)
  • 1.6.4 WORKS
  • 1.7.2
  • 1.7.4
...
2014-09-09 02:46:24-0400 [bravo.beta.factory.BravoFactory] Registered client plugin hooks!
2014-09-09 02:46:24-0400 [BravoProtocol,17,50.0.88.198] Poll data: '\x7f\x00\r\x00a\x00n\x00t\x00i\x00v\x00a\x00p\x00o\x00r\x00.\x00n\x00e\x00t\x00\x00c\xdd'
2014-09-09 02:46:24-0400 [BravoProtocol,17,50.0.88.198] Error: u'\xa71\x0078\x00Bravo 2.0\x00BravoServer\x000\x001000000'
2014-09-09 02:46:33-0400 [-] Error: 'Connection timed out'
  • 1.7.5
  • 1.7.9
  • 1.7.10
  • 1.8
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Starting connection for IPv4Address(TCP, '50.0.88.198', 41571)
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Registered entity <bravo.beta.protocol.BravoProtocol object at 0x2405d10>
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Registering client hooks...
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Registering policies...
2014-09-09 01:46:41-0400 [bravo.beta.factory.BravoFactory] Registered client plugin hooks!
2014-09-09 01:47:11-0400 [-] Error: 'Connection timed out'

Update: errs some point after buildProtocol is called. It returns after registers hooks (p.register_hooks()) with Registered client plugins hooks! message.

Update: possibly in packets.py

Update: works in 1.6.4 as of 7be5d79!

@dreamalligator
Copy link
Author

I'm looking at https://github.com/dividuum/fastmc, can we implement this?

1.7 code should be correct and 1.8 is newish so be careful - dividuum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant