Project

General

Profile

Support #108

WebXR won't load without HTTPS

Added by Nick Naglich 8 months ago. Updated 7 months 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

History

#1

Updated by Nick Naglich 8 months ago

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?

#2

Updated by Josip Almasi 7 months ago

  • 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).

#3

Updated by Nick Naglich 7 months ago

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!!

Also available in: Atom PDF