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

Forced http to https redirect #9

Open
RafOXxxx opened this issue Jan 24, 2022 · 1 comment
Open

Forced http to https redirect #9

RafOXxxx opened this issue Jan 24, 2022 · 1 comment

Comments

@RafOXxxx
Copy link

I am using WSL2 on Windows 11 and ran into a problem when I want
to expose the app on my local network by running:

HOST=0.0.0.0 rollup -c -w
or
sirv public --host 0.0.0.0

I get these two links to enter the app:

- Local: http://0.0.0.0:5000
- Network: http://172.20.70.19:5000 // ip-address of wsl2 vm

the local link is working fine, but when I open the network link I get automaticly redirected from http to https,
just to be greeted by an ERR_SSL_PROTOCOL_ERROR.

This behavior is persistent across diffrent browsers (Chrome, Firefox, Edge, Brave).

The sveltejs/template can be deployed and and opened without a redirect.

@odiraneyya
Copy link

odiraneyya commented Mar 18, 2022

This seems to be related to this issue amark/gun#992 and this follow-up merge amark/gun#1055

I think we will need to add other unpublished addresses to this dirty figment of a code :-/

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