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

protocol in href values wrong in /api/collections?f=xml and ?f=json #117

Open
alexarobu opened this issue Oct 2, 2024 · 0 comments
Open

Comments

@alexarobu
Copy link

See for example: https://osmetadata.astuntechnology.com/geonetwork/api/collections?f=xml the protocol should be HTTPS, not HTTP; if you copy any link (e.g. http://osmetadata.astuntechnology.com:443/geonetwork/api/collections/main?f=xml) and change the protocol manually to https then you can access it just fine, otherwise, you get an error.

I checked the GeoNetwork settings and the protocol of the catalogue is set to https, so I am at a loss as to where this protocol is coming from.

I am running the service in docker, so is this something I need to set in the .yml definition?

The service definition can be seen here: https://github.com/AstunTechnology/os-custom-geonetwork/blob/os-4.2.x/docker-compose.yml#L100 - The GN_PROTOCOL variable is also set to https in the env file on the server.

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