apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.06k stars 342 forks source link

Traffic Portal port 8080 redirect incorrect #5241

Open smalenfant opened 3 years ago

smalenfant commented 3 years ago

I'm submitting a ...

Traffic Portal seems to open up 2 ports. 8080 and 443. Along with this bug report, I'd like to know what port 8080 is used for and should it be only binding locally?

The current redirect is incorrect as well. Please the "current behavior"

Traffic Control components affected ...

Current behavior:

$ curl http://cdn1cdportal.coxlab.net:8080
Found. Redirecting to https://cdn1cdportal.coxlab.net:8080:443/

Expected behavior:

$ curl http://cdn1cdportal.coxlab.net:8080
Found. Redirecting to https://cdn1cdportal.coxlab.net:443/

Minimal reproduction of the problem with instructions:

Please see the current behavior

smalenfant commented 3 years ago

Looks like our configuration is on port 8080. The default to port 80 works. Looks like we have an old template of the config.js.

There might need some "stripping" of ports needed. Not really affecting much right now.

If you also look at the redirect on port 80:

$ curl http://cdn1cdportal.coxlab.net 
Found. Redirecting to https://cdn1cdportal.coxlab.net:443/