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

http to https : timeout with OPTIONs on NSS #113

Open
bourgeoa opened this issue Jan 10, 2024 · 4 comments
Open

http to https : timeout with OPTIONs on NSS #113

bourgeoa opened this issue Jan 10, 2024 · 4 comments

Comments

@bourgeoa
Copy link
Member

Scenario: OPTIONS request returns headers for pre-flight check after redirect from http

@edwardsph
Copy link
Collaborator

I'm not sure what you are asking here. If NSS times out on this request isn't that an NSS issue?

@bourgeoa
Copy link
Member Author

@edwardsph
I tried a lot of redirect options on NSS

  • I did not find a solution on express to redirect http to https
    there is no issue to redirect container Url without slash to container Url with slash (and this is implemented in NSS)
  • solidcommunity.net is using NGINX to redirect 301 from http to https for port 80 to port 443,
    but it does not work or I don't find the solution for solidcommunity.net:8443

Is this functionality a MUST in solid or in http ?

@edwardsph
Copy link
Collaborator

https://solidproject.org/TR/protocol#server-tls-https-redirect

When both http and https URI schemes are supported, the server MUST redirect all http URIs to their https counterparts using a response with a 301 status code and a Location header.

Would it perhaps be true to say that your instance does not support http - in which case the test does not apply?

@bourgeoa
Copy link
Member Author

Would it perhaps be true to say that your instance does not support http - in which case the test does not apply?

Yes. And in which case NSS now passes 100% of the conformance tests.

@bourgeoa bourgeoa changed the title timeout with OPTIONs on NSS http to https : timeout with OPTIONs on NSS Jan 29, 2024
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

2 participants