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

[Suggestion] Better explain how to set up the server for multiple people to play #312

Open
MajickTek opened this issue Nov 17, 2021 · 13 comments
Labels
affects: documentation Related to documentation

Comments

@MajickTek
Copy link

Both me and my friend tried setting up the server with the auth/character ports forwarded and were unable to join each other.

We even tried vpns such as Hamachi.

Someone on the discord told me i needed to set up a host name and pfx certificate so I did and it made zero difference

@teccheck
Copy link
Member

teccheck commented Nov 17, 2021

Yeah, the problem is (at the moment) that you need a certificate from an official CA (a company that signs certificates). But they only sign certificates for domains on the Internet and so if your device is only in a local LAN this won't work.

We're working on a solution for this problem but It might take just a little bit of time

@MajickTek
Copy link
Author

MajickTek commented Nov 17, 2021

I assumed if I bought a domain with SSL from Namecheap it would work but it seems like it won't so it's unclear to me what this "official CA" stuff is about

@teccheck
Copy link
Member

I think that should work, but I'm not really an expert on SSL/TLS and certs. Do you know who signed this certificate?

@MajickTek
Copy link
Author

MajickTek commented Nov 17, 2021

It doesn't i bought the SSL through namecheap and created the cert/pfx using the openssl tool.

maybe theres more to it than i think

EDIT: also the domain just has an "A record" pointing to my IP right now

@teccheck
Copy link
Member

You can use Let's Encrypt if you have a domain: https://letsencrypt.org/

@enteryournamehere
Copy link
Member

It doesn't i bought the SSL through namecheap and created the cert/pfx using the openssl tool.

That should be fine.
Could you copy the client logs here (or on Discord)? (they should appear if you launch it from the terminal)

@MajickTek
Copy link
Author

Update: Still no luck also there are no logs to post, no errors or anything just the standard boot messages

@Jettford
Copy link
Member

The Namecheap SSL cert will be signed by a valid certificate authority there is no question on whether it is a valid SSL cert. You need to be sure that the server is loading the SSL certificate and using it for its connections.

Please check if there is a log that starts with
PRIVATE KEY:

@Jettford
Copy link
Member

It should be literally the first log the server outputs

@ArkShocer
Copy link
Contributor

FYI - The user was able to solve his problems with the following actions:

1. Open all required ports
2. Generate certificate without password
3. Make all dlls in the lib folder executable (chmod a+x)

@MajickTek
Copy link
Author

Although technically I solved this issue, in the end I was still likely missing something: The server can't seem to keep the client authentication when loading the rocket world after creating a new character.

With DLU releasing in about a week I don't expect this to be fixed right away but it would still be neat

@Jettford
Copy link
Member

Although technically I solved this issue, in the end I was still likely missing something: The server can't seem to keep the client authentication when loading the rocket world after creating a new character.

With DLU releasing in about a week I don't expect this to be fixed right away but it would still be neat

This is almost certainly a configuration issue not a server issue.

@MajickTek
Copy link
Author

maybe a config issue with my webserver but not with uchu itself. i copied the config files to my local pc and i can connect to it fine from localhost.

it's just on the webserver that it wont work

@teccheck teccheck added the affects: documentation Related to documentation label Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: documentation Related to documentation
Projects
None yet
Development

No branches or pull requests

5 participants