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

Local URLs on Linux are not working #3

Closed
atauenis opened this issue Apr 7, 2020 · 2 comments
Closed

Local URLs on Linux are not working #3

atauenis opened this issue Apr 7, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@atauenis
Copy link
Owner

atauenis commented Apr 7, 2020

After run of fresh WebOne 0.10a1 on Ubuntu 18.04 all local URLs like PAC, test pages or converters are causing endless loop:

GET /auto.pac
Downloading content...
GET /auto.pac
Downloading content...
GET /auto.pac
Downloading content...

A workaround for it is entering DefaultHostName=192.168.xxx.ууу in webone.conf. However, now WebOne telling that Warning: DefaultHostName setting is not applicable to this computer. But all begins working.

When opening info page (http://localhost/!) it doesn't display any aliases except 127.0.0.1:80 and computer_name:80.

This meaning that System.Net.Dns.GetHostEntry(Environment.MachineName).AddressList is not working as need in .NET Core / Linux (it's only Windows-specific).

@atauenis atauenis added the bug Something isn't working label Apr 7, 2020
@atauenis
Copy link
Owner Author

May be a hint: dotnet/runtime#27534

@atauenis
Copy link
Owner Author

atauenis commented Apr 15, 2020

Not helped anyway... Need other code to detect local IPs.

atauenis added a commit that referenced this issue Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant