I don't understand, you say that https://10.1.1.1/nr/ works, then you
say you get the error for the same url.
Colin
On 14 February 2017 at 15:03, Christian H. <mch...@gmail.com> wrote:
> Hi everyone!
>
> NR is running on my VM.
> When i access the webservice via http://10.1.1.1:1880 everything is running
> fine.
> No i tried to activate the https://10.1.1.1/nr/ with an entry in the ssl and
> .. it works..
>
> but when i now connect via this link https://10.1.1.1/nr/
> i got this message
>
> Lost connection to server, reconnecting...
>
> Does anyone have an idea?
> Cheers Ch
>
> --
> http://nodered.org
>
> Join us on Slack to continue the conversation: http://nodered.org/slack
> ---
> You received this message because you are subscribed to the Google Groups
> "Node-RED" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to node-red+unsubscribe@googlegroups.com.
> To post to this group, send email to node...@googlegroups.com.
> Visit this group at https://groups.google.com/group/node-red.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/node-red/c82fb619-97c0-4d4e-bbd0-a0c56f46a3d5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To post to this group, send an email to node...@googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAL%3D0gLt5apbm7a-7U_u7w3KdewSVsT31gV2180gB2crgbiTVdA%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3Dvhqe7FeW1O1VK%2BC6qaV0XWRjSwLcx-PnN%2BcEcLr7u3ixePw%40mail.gmail.com.
WebSocket connection to 'wss://10.1.1.1./nr/comms' failed: Error during WebSocket handshake: Unexpected response code: 404
a @ red.min.js:16
vendor.js:5 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ vendor.js:5
16red.min.js:16 WebSocket connection to 'wss://10.1.1.1/nr/comms' failed: Error during WebSocket handshake: Unexpected response code: 404> email to node-red+u...@googlegroups.com.
> To post to this group, send email to node...@googlegroups.com.
> Visit this group at https://groups.google.com/group/node-red.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/node-red/c82fb619-97c0-4d4e-bbd0-a0c56f46a3d5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
Ok sorry for the late reply. Here is what i got if i take a look on the console in the browser:WebSocket connection to 'wss://10.1.1.1./nr/comms' failed: Error during WebSocket handshake: Unexpected response code: 404
a @ red.min.js:16
vendor.js:5 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ vendor.js:5
16red.min.js:16 WebSocket connection to 'wss://10.1.1.1/nr/comms' failed: Error during WebSocket handshake: Unexpected response code: 404I installed node red on a cent os machine , i am sure i have somewhere somehow a small problem
i am using cent os, and do the redirect from http to https via an entry in the ssl.confwhat do i miss ? cheers ch
<VirtualHost *:80>
ServerName 10.1.1.1
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/socket.io [NC]
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule /(.*) ws://localhost:18080/$1 [P,L]
ProxyPass / http://localhost:1880/
ProxyPassReverse / http://localhost:1880/
</VirtualHost>ProxyPass "/nr/comms" "ws://localhost:1880/comms"