Invalid G/W port in API path
neosab opened this issue · 5 comments
neosab commented
Bug Report
I am seeing an invalid port in the API path. This must be the g/w's tls port 443
root@null [ ~/dispatch ]# dispatch get api
NAME | FUNCTION | PROTOCOL | METHOD | DOMAIN | PATH | AUTH | STATUS | ENABLED
------------------------------------------------------------------------------------------------------------------------
post-hello | hello-py | https | POST | | https://localhost:8444/dispatch/hello | | READY | true
------------------------------------------------------------------------------------------------------------------------
Impact
- Low - Annoyance, but does not impact business or functionality
- Medium - Issue can be worked around, but is causing pain
- High - Blocker
Possible solution
Your Environment
- Dispatch CLI version (or git commit):
- Dispatch Chart version (or image[s] tag):
- Operating System and version:
- Kubernetes version (and distribution):
- Etc (any other useful environmental information):
neosab commented
pzmrzy commented
neosab commented
@pzmrzy Why is the server reading from config file? It must be reading from the --gateway-tls-port 443
flag right
pzmrzy commented
Yes, the server read the flag, but client read the config file
When do dispatch get api
, the server return only the relative url.
The port is been add in the client side
neosab commented
I missed that the URL is constructed by the client. Yup, in that case, we should fix the config file in the OVA.