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

HTTPS Scheme for Swagger API #971

Closed
1 task done
sventhiel opened this issue Sep 15, 2022 · 3 comments
Closed
1 task done

HTTPS Scheme for Swagger API #971

sventhiel opened this issue Sep 15, 2022 · 3 comments

Comments

@sventhiel
Copy link
Contributor

sventhiel commented Sep 15, 2022

Is there an existing issue for this?

  • I searched for a similar issue and didn't find a suitable one.

What is going wrong?

By default, Swagger API brings up the endpoint with http only. Even though the website itself is running in https.

How is it supposed to work?

Similar to the web server hosting, swagger should use https scheme.

How can it be reproduced?

  1. Just go to the Swagger API endpoint (e.g. https://demo.bexis2.uni-jena.de/apihelp/index)
  2. The scheme for Swagger is only http instead of https.
  3. Reset the value manually to 'https://' to resolve the issue.

Do you get any exceptions?

It is not really an exception, but more an information about the non-functioning endpoint.

Can't read from server. It may not have the appropriate access-control-origin settings.

What kind of system do you use?

No response

Which task(s) is/are related to this issue?

No response

@DavidBlaa
Copy link
Member

@DavidBlaa
Copy link
Member

the issue currently only occurs on our server with revese proxy.
just in case, we will create and set a swagger url in the web config

@geofranzi
Copy link
Member

If there are other files in the folder, it does not work. Maybe at least reduce scanned files to *.xml?

@geofranzi geofranzi reopened this Dec 20, 2022
Hamdi1992 pushed a commit to AquaDiva-INFRA1/Core that referenced this issue Feb 14, 2023
Hamdi1992 pushed a commit to AquaDiva-INFRA1/Core that referenced this issue Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants