Project

General

Profile

Actions

Support #108

open
NN JA

WebXR won't load without HTTPS

Support #108: WebXR won't load without HTTPS

Added by Nick Naglich almost 4 years ago. Updated almost 4 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Start date:
02/14/2022
Due date:
% Done:

0%

Estimated time:

Description

When installing VRSpace on a local machine; by default HTTPS isn't loaded and WebXR doesn't show up as an option.

This is what it looks like when running VR on port 8080

NN Updated by Nick Naglich almost 4 years ago Actions #1

Nick Naglich wrote:

When installing VRSpace on a local machine; by default HTTPS isn't loaded and WebXR doesn't show up as an option.

I read through the WiKi and edited server.ssl.enabled=true in application.properties and default port 8443
When running the server it still loads it on port 8080 and unencrypted

Does the server need to be recompiled to update these settings?

JA Updated by Josip Almasi almost 4 years ago Actions #2

  • Status changed from New to Feedback
  • Assignee set to Josip Almasi

Well, it's a feature of WebXR :)
No seriously, it's a feature!
It just won't work without SSL. And the same applies to video and audio streaming.

Well yes, when you change a property in application.properties, you need to rebuild the server.
But you can also change it in in startup by adding
-Dserver.port=8443 -Dserver.ssl.enabled=true
to the command line before -jar.
It has to be before -jar though, these are features of the framework (spring boot).

NN Updated by Nick Naglich almost 4 years ago Actions #3

Josip Almasi wrote:

Well, it's a feature of WebXR :)
No seriously, it's a feature!
It just won't work without SSL. And the same applies to video and audio streaming.

Well yes, when you change a property in application.properties, you need to rebuild the server.
But you can also change it in in startup by adding
-Dserver.port=8443 -Dserver.ssl.enabled=true
to the command line before -jar.
It has to be before -jar though, these are features of the framework (spring boot).

Perfect, that works thanks!!

Actions

Also available in: PDF Atom