Closed mikegleasonjr closed 7 months ago
Area of Concern
Describe the bug
Hosting codeproject ai server through docker, runs fine by itself. Putting a reverse proxy in front makes the Service Url to be wrong.
If I edit quickly the Service Url to remove the port, the UIO connects to the backend properly.
Expected behavior
service url to be: http://codeprojectai.home.lan
Screenshots
Your System (please complete the following information):
Additional context
Thanks
I have had the same issue for some time, except that the connection fails again 10-20 sec after removing the port.
The issue is here. window.location.port will only return a value if running on a non-default port (aka not 80 or 443).
window.location.port
2.5.0 should be the most recent unaffected version.
2.5.0
Looks like @miguelangel-nubla already has a PR open for it.
Fixed in next release
Area of Concern
Describe the bug
Hosting codeproject ai server through docker, runs fine by itself. Putting a reverse proxy in front makes the Service Url to be wrong.
If I edit quickly the Service Url to remove the port, the UIO connects to the backend properly.
Expected behavior
service url to be: http://codeprojectai.home.lan
Screenshots
Your System (please complete the following information):
Additional context
Thanks