You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to install in mode 'reverse-proxy' on Yunohost 12
It does not install due to "invalid URL" for target parameter (while this parameter is accepted on Yunohost 11).
Context
Hardware: Old laptop
YunoHost version: 12.0.0+202404200900
I have access to my server: Through SSH + through the webadmin + direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
If yes, please explain: testing new apps on Yunohost 12, however nginx conf was not modified manually.
Using, or trying to install package version/branch: current master (2.0~ynh3)
Steps to reproduce
If you performed a command from the CLI, the command itself is enough. For example: yunohost app install redirect -a "domain=bosh.domain.tld&path=/http-bind&target=http://localhost:5290/http-bind&redirect_type=reverseproxy" -l BOSH
I tried also: yunohost app install redirect -a "domain=bosh.domain.tld&path=/http-bind&target=http://localhost:5290&redirect_type=reverseproxy" -l BOSH
If you used the webadmin, please perform the equivalent command from the CLI first.
I also tried via webadmin, which fails with the following message : Pick a valid value for the argument 'target': URL host invalid
In the meantime, I would like to propose to consider URL as a string, applying the previous simple regex validation. Without regex validation it does work, but when trying to apply the regex:
I get the following error and not familiar with pydantic: TypeError: The type of URLOption.pattern differs from the new default value; if you wish to change the type of this field, please use a type annotation
could anyone provide support?
Unable to install in mode 'reverse-proxy' on Yunohost 12
It does not install due to "invalid URL" for target parameter (while this parameter is accepted on Yunohost 11).
Context
Steps to reproduce
yunohost app install redirect -a "domain=bosh.domain.tld&path=/http-bind&target=http://localhost:5290/http-bind&redirect_type=reverseproxy" -l BOSH
I tried also:
yunohost app install redirect -a "domain=bosh.domain.tld&path=/http-bind&target=http://localhost:5290&redirect_type=reverseproxy" -l BOSH
I also tried via webadmin, which fails with the following message :
Pick a valid value for the argument 'target': URL host invalid
Expected behavior
As it does on Yunohost 11; goal is to redirect as recommended here : https://forum.yunohost.org/t/unable-to-set-up-bosh-conf-nginx/12995/2
Logs
When command is ran from CLI with --debug:
The text was updated successfully, but these errors were encountered: