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

Can't connect to public server #366

Open
sallaib opened this issue Dec 9, 2024 · 5 comments
Open

Can't connect to public server #366

sallaib opened this issue Dec 9, 2024 · 5 comments

Comments

@sallaib
Copy link

sallaib commented Dec 9, 2024

Using Gemini model, it works in private, but when I want to use it for a public server, it disconnects after few seconds.
Using the launcher with the same user, same user name defined in the gemini.json as well.
Settings checked, ip,port, auth defined

[ './profiles/gemini.json' ]
MindServer running on port 8080
Client connected
Registering agents: UserName123
Agents registered
Starting agent with profile: ./profiles/gemini.json
Starting agent initialization with profile: ./profiles/gemini.json
Initializing action manager...
Initializing prompter...
Using chat settings: { model: 'gemini-1.5-flash', api: 'google' }
Using embedding settings: { api: 'openai' }
Warning: Failed to initialize embedding model: API key "OPENAI_API_KEY" not found in keys.json or environment variables!
Continuing anyway, using word overlap instead.
Initializing history...
Initializing coder...
Initializing npc controller...
Initializing memory bank...
Initializing self prompter...
Initializing examples...
Examples initialized.
UserName123 logging into minecraft...
(node:74761) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Client connected
Connected to MindServer
Client disconnected
Agent process exited with code 0 and signal null

@sallaib
Copy link
Author

sallaib commented Dec 9, 2024

It turned out the server is using DDoS protection service so there's no dedicated port, but I have to define one in the settings. any ideas? can I set a port range?

EDIT:

Made some progress, the server is using port 25565, but I think it's just for negotiating the port, so still not there.

Examples initialized.
UserName123logging into minecraft...
(node:75767) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Client connected
Connected to MindServer
UserName123 logged in!
Client disconnected
Agent process exited with code 0 and signal null

is it possible to handle the port change after the negotiation process?

@CameronAuler
Copy link

@sallaib I am experiencing the same issue. Any updates?

@sallaib
Copy link
Author

sallaib commented Dec 12, 2024

Not really. I might be wrong, but the issue is that (at least for me) the server after the connection, assigns/negotiate a different port (probably IP as well) and it (mindcraft) can't handle this process.

I'm not sure where to request this feature.

@yeroc5311
Copy link

dang, even i am stumped! any updates though?

@sallaib
Copy link
Author

sallaib commented Dec 31, 2024

nope, but it would be nice if we could send a feature change request somewhere.

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

3 participants