You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openserverless.apache.org by "sciabarracom (via GitHub)" <gi...@apache.org> on 2025/09/27 11:35:50 UTC
[I] Wrong url when using --protocol=http [openserverless]
sciabarracom opened a new issue, #174:
URL: https://github.com/apache/openserverless/issues/174
- [x] I have searched the [issues](https://github.com/apache/openserverless/issues) of this repository and believe that this is not a duplicate.
### Ⅰ. Issue Description
There are issues when using `config apihost --protocol=http`
We should clarifiy what is external and what is internal.
### Ⅱ. Describe what happened
The correct way should be:
`kubectl -n nuvolaris get cm/config -ojsonpath='{.metadata.annotations.apihost}'`
However currently it returns `http://nuvolaris.dev` and this affects a number of url:
```
$ ops env list | grep http:
| S3_API_URL | http://s3.francescotiberi.com
| STATIC_CONTENT_URL | http://devel.francescotiberi.com
| USER_REST_API_URL | http://devel.francescotiberi.com/api/my
| USER_V1_API_URL | http://devel.francescotiberi.com
```
Most notably the S3_API_URL breaks the publishing
### Ⅲ. Describe what you expected to happen
when using --protocol=http the "public" url should be http or https correctly.
Note that in "mini" is http, when proxied by a load balancer the actual is https
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@openserverless.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong url when using --protocol=http [openserverless]
Posted by "francescotimperi (via GitHub)" <gi...@apache.org>.
francescotimperi commented on issue #174:
URL: https://github.com/apache/openserverless/issues/174#issuecomment-3341581895
This is the wanted behavior, if you force the http protocol you will get the http, as you are bypassing any o to et type of settings. As said already, if you have an https lb, and internally it is http, set protocol=https
Personally I don’t believe this has to be chanhed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@openserverless.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Wrong url when using --protocol=http [openserverless]
Posted by "sciabarracom (via GitHub)" <gi...@apache.org>.
sciabarracom closed issue #174: Wrong url when using --protocol=http
URL: https://github.com/apache/openserverless/issues/174
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@openserverless.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org