Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: invalid url: RelativeUrlWithoutBase #26

Open
xplosionmind opened this issue May 6, 2023 · 1 comment
Open

ERROR: invalid url: RelativeUrlWithoutBase #26

xplosionmind opened this issue May 6, 2023 · 1 comment

Comments

@xplosionmind
Copy link

Describe the bug

When visiting my capsule, the browser gives the error: invalid url: RelativeUrlWithoutBase

Screenshot from 2023-05-06 20-05-14

Context

  • Hardware: VPS bought online
  • YunoHost version: 11.1.18
  • I have access to my server: Through SSH
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

  • Visit gemini://tommi.space/index.gmi

Expected behavior

The Gemini website should be loaded normally

Config files

/etc/gemserv/config.d/tommi.space.d:

[[server]]
hostname = "tommi.space"
dir = "/opt/yunohost/gemserv/tommi.space"
key = "/etc/yunohost/certs/tommi.space/key.pem"
cert = "/etc/yunohost/certs/tommi.space/crt.pem"
lang = "en"
redirect = { "/" = "/index.gmi" }

/etc/gemserv/config.toml:

# interface accepts multiple interface/port combinations. However, due to the
# dual stack nature of linux if you specify "[::]:1965" linux will also listen
# on "0.0.0.0:1965" so if you manually specify both it will fail.
# interface = [ "0.0.0.0:1965, "[::]:1965" ]
interface = [ "[::]:1965" ]
# port and host have been deprecated in favor of interface but will still work
# for now.
# port = 1965
# host = "::"
# log is optional and server wide. It defaults to info if not set. Other levels
# are error, warn, and info. If error is set it will only show error. If warn
# is set it will show error and warn. Info shows all three.
log = "info"

[[server]]
hostname = "tommi.space"
dir = "/opt/yunohost/gemserv/tommi.space"
key = "/etc/yunohost/certs/tommi.space/key.pem"
cert = "/etc/yunohost/certs/tommi.space/crt.pem"
lang = "en"
redirect = { "/" = "/index.gmi" }
@xplosionmind
Copy link
Author

Hi @yalh76, I am sorry to tag you, but I would really need some help to troubleshoot this issue… I am available for testing!

Thanks a lot in advance ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant