tomeshnet / documents

Meeting notes and other important planning documents for Toronto Mesh
34 stars 13 forks source link

Vector HTTPS set up is incomplete #33

Closed benhylau closed 7 years ago

benhylau commented 7 years ago

https://chat.tomesh.net has a proper cert, but this specific request leads to browsers complaining about unauthenticated script execution. It occurs when clicking on Room Settings:

Mixed Content: The page at 'https://chat.tomesh.net/#/room/#tomesh:tomesh.net' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://localhost:5050/register'. This content should also be served over HTTPS.
http://localhost:5050/register Failed to load resource: net::ERR_CONNECTION_REFUSED
benhylau commented 7 years ago

Perhaps we should've done this instead: http://matrix.org/docs/guides/lets-encrypt.html

benhylau commented 7 years ago

See: https://github.com/vector-im/vector-web/issues/1698 And what the Vector server currently uses for the *integrations__url** fields: https://vector.im/beta/config.json

benhylau commented 7 years ago

Fixed in https://github.com/tomeshnet/documents/commit/aeb3eddad3559a48e47651d263418017375c7e34