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

one entry needed in section [server_bind_addresses] to have advertising working #2883

Closed
DorpsGek opened this issue May 5, 2009 · 8 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented May 5, 2009

Ammler opened the ticket and wrote:

Our server has mulitple ips, advertising seems not to work without adding at least one address to the new section. It also works, if you add 0.0.0.0, but it doesn't with empty. section.

It seems to work on servers with only one address.

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/2883
@DorpsGek
Copy link
Member Author

DorpsGek commented May 5, 2009

Ammler wrote:

I had some issues to reach this website, so I forgot to alter the Version to trunk (in my test r16221)


This comment was imported from FlySpray: https://bugs.openttd.org/task/2883#comment6026

@DorpsGek
Copy link
Member Author

DorpsGek commented May 5, 2009

Rubidium wrote:

Are you using a vserver (VPS)?


This comment was imported from FlySpray: https://bugs.openttd.org/task/2883#comment6027

@DorpsGek
Copy link
Member Author

DorpsGek commented May 5, 2009

Rubidium wrote:

For what it's worth, locally it works fine with multiple IP addresses.
I am also aware of applications that do not work satisfactory in VPSes when they are not bound to a specific IP address.

Also getaddrinfo is supposed (as per specifications) to return "wildcard addresses" if no address is given. Sounds like it either does not do this or binding to the given address makes it unuseable (I do not have enough information to tell which one it is).


This comment was imported from FlySpray: https://bugs.openttd.org/task/2883#comment6029

@DorpsGek
Copy link
Member Author

DorpsGek commented May 5, 2009

Ammler wrote:

Mine is, but the Publicserver runs on a non virtual root. The issue exists on both.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2883#comment6030

@DorpsGek
Copy link
Member Author

DorpsGek commented May 5, 2009

Ammler wrote:

Well the strange thing is, it works, if I add 0.0.0.0 as address, Looks like it just forget to use the default.
oh btw. that is the debug error I got:
dbg: [net] getaddrinfo(, 0) failed: Name or service not known


This comment was imported from FlySpray: https://bugs.openttd.org/task/2883#comment6031

@DorpsGek
Copy link
Member Author

DorpsGek commented May 5, 2009

Rubidium wrote:

Any more debug information that you are willing to share? I can't fix something when I do not know what wrong; you're free to fix it yourself though.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2883#comment6032

@DorpsGek
Copy link
Member Author

DorpsGek commented May 6, 2009

Ammler wrote:

After some more testing we found out that "dbg: [net] getaddrinfo(, 0) failed: Name or service not known" isn't the cause of failing advertising. That is just the error of unsupported IPv6.

So the missing advertising was just accidentally at same time as the firewall was up/down. The strange thing is, that 0.7.0 server works also with fw up. :-/

Anyway. many thanks for resolving part of my confusing. :-)


This comment was imported from FlySpray: https://bugs.openttd.org/task/2883#comment6035

@DorpsGek
Copy link
Member Author

DorpsGek commented May 6, 2009

Rubidium closed the ticket.

Reason for closing: Not a bug

The error messages are clarified though as well the ones related to advertising (in case it seems to be failing).


This comment was imported from FlySpray: https://bugs.openttd.org/task/2883

@DorpsGek DorpsGek closed this as completed May 6, 2009
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant