ssbc / go-ssb-room

Room server implemented in Go
MIT License
187 stars 35 forks source link

Avoid HTTPS requirement for local network testing #356

Open decentral1se opened 2 years ago

decentral1se commented 2 years ago

Report coming from testing for https://github.com/ssbc/go-ssb-room/pull/355:

I can tunnel the machine locally, but I think the whole https-domain thing stops me from being able to test without a public address with https.

I think we could disable the https requirement if we tweaked:

https://github.com/ssbc/go-ssb-room/blob/00a1452cfcf2fdea55f95909ca053eb35e97a4e2/cmd/server/main.go#L149-L154

Maybe some other stuff needs changing then. It'd be nice to not have to deal with this so local network testing is much easier

/cc @luandro

decentral1se commented 2 years ago

Another take on this is: document how to have https -> internet on a local setup :upside_down_face: Some tunneling setup that doesn't require going all in on explaining port forwarding on your local router and such (down the rabbit hole for the docs...). I wonder would an alliance with https://greenhouse.server.garden be useful for this :thinking: