Missing App store contents in openLuup
-
A little while back the contents of the App Store in openLuup show that there are no plugins in the store and the date is shown as"
Alt App Store (as of 1970-01-01 10:00:00)
In the log I see this:
2021-02-07 11:34:06.509 openLuup.wsapi.cgi:: /console : loading app database... 2021-02-07 11:34:06.550 openLuup.client:: WGET error status: -1, request: https://raw.githubusercontent.com/akbooer/AltAppStore/data/J_AltAppStore.json 2021-02-07 11:34:06.550 openLuup.wsapi.cgi:: /console : JSON decode error @[5 of 107, line: 1] unexpected data after valid JSON string 'tlsv <<<HERE>>> 1 alert protocol vers' 2021-02-07 11:34:06.569 openLuup.server:: request completed (8645 bytes, 0 chunks, 61 ms) tcp{client}: 0x34e2f68
In AltUI, the store shows OK but I don't see a call to GitHub so it may be getting its info from a cached value or an xml file?
-
Ah, interesting. I’ve currently the same situation in one of my systems. Yes, the App Store contents are cached (which is why the response is usually rapid.)
One other symptom on this system is that all accesses to GitHub fail, so, for example, no plugins will update from the Plugins page. It appears that the security level access is wrong (tslv problem.) So there is some fairly basic issue here. Very weird indeed.
Do you have a similar GITHub issue?
-
Ah, interesting. I’ve currently the same situation in one of my systems. Yes, the App Store contents are cached (which is why the response is usually rapid.)
One other symptom on this system is that all accesses to GitHub fail, so, for example, no plugins will update from the Plugins page. It appears that the security level access is wrong (tslv problem.) So there is some fairly basic issue here. Very weird indeed.
Do you have a similar GITHub issue?
-
Mmmmm - I'll look into to this further. Telegram stopped working on openLuup sometime back over a similar openssl problem. But the App Store issue is more recent. What gets me is that I don't believe I've changed any of the openssl stuff. But who knows - maybe I have or maybe GitHub has. This is all running on RasPi 3. openssl version looks pretty old:
OpenSSL 1.0.1t 3 May 2016
-
Mmmmm - I'll look into to this further. Telegram stopped working on openLuup sometime back over a similar openssl problem. But the App Store issue is more recent. What gets me is that I don't believe I've changed any of the openssl stuff. But who knows - maybe I have or maybe GitHub has. This is all running on RasPi 3. openssl version looks pretty old:
OpenSSL 1.0.1t 3 May 2016
@a-lurker said in Missing App store contents in openLuup:
But the App Store issue is more recent. What gets me is that I don't believe I've changed any of the openssl stuff.
Yup, same for me. I can only assume the something "out there" has, indeed, changed. GitHub moved to requiring tlsv1.2 a while ago for detailed access, perhaps this is a follow up for more general stuff.
-
@a-lurker said in Missing App store contents in openLuup:
But the App Store issue is more recent. What gets me is that I don't believe I've changed any of the openssl stuff.
Yup, same for me. I can only assume the something "out there" has, indeed, changed. GitHub moved to requiring tlsv1.2 a while ago for detailed access, perhaps this is a follow up for more general stuff.
WARNING: DO THIS WRONG AND IT ALL GOES BADLY WRONG.
Following refers to openLuup running on Jessie, on a RasPi with openSSL version:
OpenSSL 1.0.1t 3 May 2016
I made the mistake of running this command in the hope of it fixing the Telegram and the GitHub app store access problems I was having:
sudo luarocks install luasec
No good - can't find what's needed. So do this:
sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/arm-linux-gnueabihf/
All goes OK - reboot the RasPi. And then errors:
/etc/cmh-ludl$ /etc/cmh-ludl/openLuup_reload lua5.1: error loading module 'ssl.core' from file '/usr/local/lib/lua/5.1/ssl.so': /usr/local/lib/lua/5.1/ssl.so: undefined symbol: X509_get_signature_nid stack traceback: [C]: ? [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' /usr/local/share/lua/5.1/ssl.lua:8: in main chunk [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' /usr/local/share/lua/5.1/ssl/https.lua:10: in main chunk [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' ./openLuup/client.lua:39: in main chunk [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' ./openLuup/luup.lua:85: in main chunk [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' openLuup/init.lua:93: in main chunk
Many hours later after much bashing of keyboard - removed luasec:
luarocks remove luasec
And install the most recent version of luasec version 0.7 that will work with the old openSSL version "OpenSSL 1.0.1t 3 May 2016":
sudo luarocks install luasec 0.7 OPENSSL_LIBDIR=/usr/lib/arm-linux-gnueabihf/
Note this this link where it says:
Notice:
- LuaSec 0.8 requires at least OpenSSL 1.0.2.
- For old versions of OpenSSL, use LuaSec 0.7.
Telegram and App Store access now fixed but I did so much messing around in between, it's hard to say if this is the actual fix!