P5js and ZeroTier (or Hamachi)

Is there a way to send OSC data or even messages from P5js through ZeroTier or Hamachi.
Tryed
P5js sketch with oscBrowser.js

but it gives me

SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.

Hi @patricio1979,

please try to set ws: to wss:

Cheers
— mnse

Really?

Thank you! I’ll try the new code @mnse
at the moment it does not show the error, that’s great

Patricio