Failed to start Web Service
Re: Failed to start Web Service
Hi Goran,
Thanks for that.
Same problem I'm afraid - works with SSL Authentication disabled, but doesn't work if I enable it.
Should there be logging happening to /var/log/spc-web-gateway.log?
Rory.
Thanks for that.
Same problem I'm afraid - works with SSL Authentication disabled, but doesn't work if I enable it.
Should there be logging happening to /var/log/spc-web-gateway.log?
Rory.
Re: Failed to start Web Service
Hi Goran,
I recently upgraded the SPC unit to firmware 3.8.5 - do you know if that would be why I can't get the web gateway working using ssl encryption?
Can you also tell me how much the SPC Gateway Box is, and whether it will work with firmware 3.8.5? Is it still being developed/supported?
Kind regards,
Rory.
I recently upgraded the SPC unit to firmware 3.8.5 - do you know if that would be why I can't get the web gateway working using ssl encryption?
Can you also tell me how much the SPC Gateway Box is, and whether it will work with firmware 3.8.5? Is it still being developed/supported?
Kind regards,
Rory.
Re: Failed to start Web Service
Hi Rory,
Probably the SSL issue depends on your Ubuntu upgrade that has installed new versions of libssl and libcrypto that is incompatible with spc gateway. I will investigate this further as soon I have some time.
The SPC Gateway Box is still available and the price is 200 Euro incl VAT excl freight. Another option is to use the SPC Bridge that provides a REST/Websockets API based on Vanderbilt FlexC protocol. Same price as the Gateway Box.
Probably the SSL issue depends on your Ubuntu upgrade that has installed new versions of libssl and libcrypto that is incompatible with spc gateway. I will investigate this further as soon I have some time.
The SPC Gateway Box is still available and the price is 200 Euro incl VAT excl freight. Another option is to use the SPC Bridge that provides a REST/Websockets API based on Vanderbilt FlexC protocol. Same price as the Gateway Box.
Re: Failed to start Web Service
Thanks Goran,
I'm using Openhab, and your node-spc-mqtt.js to pick up changes from the SPC unit - is that possible on the Bridge, or is there a different way to do it?
Rory.
I'm using Openhab, and your node-spc-mqtt.js to pick up changes from the SPC unit - is that possible on the Bridge, or is there a different way to do it?
Rory.
Re: Failed to start Web Service
The Bridge (and the Gateway Box) provides only the REST / Websockets API service, so in your case you need to do the conversion to MQTT on another computer, maybe you can use the same hardware you run Openhab on for that.
Goran
Goran
Re: Failed to start Web Service
Hi Rory,roryd wrote:Hi Goran,
Thanks for that.
Same problem I'm afraid - works with SSL Authentication disabled, but doesn't work if I enable it.
Should there be logging happening to /var/log/spc-web-gateway.log?
Rory.
I have now tested SPC Web Gateway on Ubuntu 18.04.
To be able to run SPC Web Gateway on Ubuntu 18.04 you need to install the 1.0 version of libssl-dev. You do that with:
Code: Select all
sudo apt-get install libssl1.0-dev
Re: Failed to start Web Service
Thanks Goran,
All back up now
Rory.
All back up now
Rory.
Re: Failed to start Web Service
Hi Goran,
Just updated to Ubuntu 18.04.1 and got this problem as well,
Reverted to to libssl1.0-dev and the problem was gone.
(Running version 1.3)
Problem now is when i start gateway the result is
/spc-web-gateway-1.3$ ./spc-web-gateway -d
License valid until 2038-01-01
Waiting for PANEL...
Connection established
Waiting for SPC-message
Connection lost - Try to reestablish connection
Waiting for SPC-message
Connection lost - Try to reestablish connection
Waiting for SPC-message
Connection lost - Try to reestablish connection
Before the upgrade everything was working and i haven't done any changes to my SPC alarm.
My config file is still the same as before.
Any idées on where i can start looking?
Best Regards
Mattias
Just updated to Ubuntu 18.04.1 and got this problem as well,
Reverted to to libssl1.0-dev and the problem was gone.
(Running version 1.3)
Problem now is when i start gateway the result is
/spc-web-gateway-1.3$ ./spc-web-gateway -d
License valid until 2038-01-01
Waiting for PANEL...
Connection established
Waiting for SPC-message
Connection lost - Try to reestablish connection
Waiting for SPC-message
Connection lost - Try to reestablish connection
Waiting for SPC-message
Connection lost - Try to reestablish connection
Before the upgrade everything was working and i haven't done any changes to my SPC alarm.
My config file is still the same as before.
Any idées on where i can start looking?
Best Regards
Mattias
Re: Failed to start Web Service
Hi Mattias,
Probably you have a discrepancy between the Gateway and SPC settings. If you mail me your /opt/spc-web-gateway/config.xml and a screenshot of your SPC EDP settings, I can look at it. And you are sure the EDP encryption key is correct?
//Goran
Probably you have a discrepancy between the Gateway and SPC settings. If you mail me your /opt/spc-web-gateway/config.xml and a screenshot of your SPC EDP settings, I can look at it. And you are sure the EDP encryption key is correct?
//Goran
Re: Failed to start Web Service
Hi Goran,
The problem was that i had two directories containing the gateway.
When I tried to debug the "libssl" i used my second instance of the gateway that contained an invalid EDP key.
Thanks for pointing me to the right direction.
/Mattias
The problem was that i had two directories containing the gateway.
When I tried to debug the "libssl" i used my second instance of the gateway that contained an invalid EDP key.
Thanks for pointing me to the right direction.
/Mattias