-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lime-App, Un unexpected error occurred. #763
Comments
Hi @rallep71 indeed the lime-app error is related to firstbootwizard not being installed. Thanks for reporting it :) I've created this issue libremesh/lime-app#275 to track it in lime-app In order to use encrypted mesh, the wpad-mini package have to be replaced with wpad-mesh-wolfssl package. |
Thanks for the quick answer! I replaced wpad-mini with wpad-mesh-openssl, what is the difference to wpad-mesh-wolfssl? would wpad-mesh.openssl also be possible? again to my understanding, is it possible to realize this without fbw? would both ways to view the node info be possible? or even a minimal version which only shows in which node you are? the documentation on the website is kept very minimal, it is enough to build a mesh for the beginning. I had to make many attempts, i.e. compiling new images with more software, until I am now on this stand to know what is really needed, also with regard to security. maybe there would be some need for action. |
Hi all, I have a similar Problem - same Error-Message, and encrypted Mesh. Maybe there is an other problem here? P.S. @rallep71 afaik wolf-ssl is a much smaller implementation - my images are about 1M smaller compared to openssl... |
Hello everybody, i have done my work again and compiled a new image, this time with fbw. So far so good. Now I don't get any more errors, Lime-App is displayed as it should be. except for a small error but more about that in the next posting. I was really amazed for the first time! Not in a positive sense. I gave the router a root password, I encrypted the AP's, also the mesh. I log on to the AP, go to the node, fwb, create a new network. So I can create a new network, no matter if the network is encrypted or not. I create a new network with fbw, assign a password, assign the network name, that's it..I am not asked if I am allowed to do this at all, it's easy. the new network is created and at the same time with this new password the root password is changed, unbelievable. And, the whole original configuration is gone, too. Guys, this makes no sense with the fbw, honestly not. PS:@AndyMcSchopf i now it now ;) |
The reported issue about FirstBootWizard looks like #640 (and in my opinion it can be more serious when considering also #280), which was closed based on the fact that FBW has an option for disabling it when configuring the system manually. |
Thanks for the answer, yes of course I agree that we continue there #640, that's fine. oder auf deutsch, des passt scho :) thx |
I tried the whole thing again - made new images - but still have the problem. Not working on meraki mx60, mr18, ubiquity ac-mesh and wavlink 577a2... |
hi Andy , make clean, but alsotung!, with fbw who is also part of it there is a promblem, everyone who has access to your network can change the configuration via fbw!!!! see above. |
Hi rallep71, i will check with your instructions tomorrow... Danke Dir! ;-) |
Ok so the point is you need both - lime first boot wizard and the ubus-lime-fbw. This whole behaviour changed in the last 2 weeks or so - I had older builds with an (more or less) working lime app without that ubus-lime-fbw... Hm |
Update: |
hm, i have done the same now, but no difference, fbw is still there and the configuration can still be changed. |
Hello, I can live with that for now :D thx andy ;) |
You're welcome ;-) |
BTW for the |
Ok short in german: Ich habe die gesamte Konfiguration nicht über luci sondern über die Config-Files von libremesh gemacht. Wenn die angelegt sind wird über die Befehle Bei Bedarf kann ich dir auch meine zwei configs mal auflisten... |
Danke Dir, Sehr gerne würde ich mir deine Dateien ansehen, Danke Dir sehr!! Thank you, I would love to have a look at your files, thank you very much! |
Jepp, genau so (bzw. kopieren der im image enthaltenen lime-community-myNet Datei auf lime-community, gleiches bei der node) ..
feeds.conf analog der Dokumentation auf libremesh.org.
yes
feeds.conf as described on libremesh.org
example of my lime-community file:
Example for the lime-node on my MX60
|
Danke Dir, soweit verstanden. lime-community >> Network general optionconfig lime network lässt Du leer, wird das von der default übernommen? 2,4 Ghz und 5Ghz Netzwerk wären dann identisch, oder hast du nur ein 2Ghz Netzwerk laut Deiner Config? Macht das überhaupt Sinn? Thank you, so far understood. lime-community >> Network general optionconfig lime network if you leave it blank, will it be taken over by the default? 2.4 Ghz and 5Ghz network would be identical, or do you have only a 2Ghz network according to your config? Does that make any sense at all? |
@rallep71 Yes, blanks in the config are configured using the lower hierarchy config. lime-node > lime-community > lime-defaults, these three files are compiled by lime-config in the file lime-autogen. Then this lime-autogen is what it is used to config the device. Here is a work in progress (in spanish and a bit of english) docs for the config system: https://hackmd.io/CWm5MbwrToevK1-mLh4Y-Q?view I want to finalize it for the release but it may be useful for you as it is now. Essids can be different or the same on 2.4 and 5ghz... depending on the use case. In our communities very few people have computers and phones with 5ghz so we use 5ghz only for the mesh and 2.4 ghz only for the wireless access to clients. |
#793 (comment) have been merged, so I close this issue. Feel free to re-open if necessary |
I just tested and still got the same error. @germanferrero @spiccinini does it work for you? |
I have tested and it is working for me. Maybe it is another part of the initialization that is failing to you? |
So, lime-app is opening for you even without lime-fbw and ubus-lime-fbw?
Nope, when I remove the call to _fetchFBWStatus in the JS code on the router, the lime-app stops complaining, and the same happens if I replace the content of _fetchFBWStatus with something always setting lock to whatever value.
I know how to test this just on the command line...
|
On Sun, Nov 1, 2020, 18:26 Ilario Gelmetti ***@***.***> wrote:
I have tested and it is working for me.
So, lime-app is opening for you even without lime-fbw and ubus-lime-fbw?
Yes. Somehow we are not testing exactly the same thing. You aré using the
.js files that are in the release tarball?
Maybe it is another part of the initialization that is failing to you?
… Maybe the problem is other call?
Nope, when I remove the call to _fetchFBWStatus in the JS code on the
router, the lime-app stops complaining, and the same happens if I replace
the content of _fetchFBWStatus with something always setting lock to
whatever value.
I have this response {"jsonrpc":"2.0","id":4,"error":{"code":-32000,"message":"Object
not found"}} to the the lime-fbw status call and the page shows no error.
I know how to test this just on the command line...
# ubus call lime-fbw status
Command failed: Not found
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#763 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD2I2NXHNWCPWJHFDM2PVDSNXHBHANCNFSM4RTOHUQA>
.
|
I tested also on a second router: the fix does not work for me (I compiled the latest code using the instructions on the development page, no lime-fbw nor ubus-lime-fbw). I checked and I can confirm that in my case the error is caused by the error handling here: I managed to compile lime-app and to deploy a locally modified version, but I know zero JS and I cannot find a way to fix this. Can anyone else confirm if it works or if it does not? @rallep71 @AndyMcSchopf |
WOW! |
Well I have the "mystery" that i get the erromessage when using my iPhone - but not when connected by ethernet directly to the accesspoint... So I have to add this is tested on my netgear ex6130 with lime 20.09 and openwrt snapshot (today) and just another "problem" found.... |
@AndyMcSchopf |
On my ex6150v2 with openwrt 19.04 it shows the error wired and wireless (compiled without fbw). |
I have investigated this issue a bit. I think that the problem is related to this uhttpd commit https://git.openwrt.org/?p=project/uhttpd.git;a=commit;h=975dce23257e713e5e52eb87b194513eb81110a5 that enables keep alive in post requests. The issue is then fixed byt https://git.openwrt.org/?p=project/uhttpd.git;a=blobdiff;f=client.c;h=6233d01cd43508c6a9f15026985da21abead8cce;hp=b5736e4b00fbd2bd66784b5b551ff2051ccb36f6;hb=0f38b0370718518e66dabeaa5522f546cb459393;hpb=88ba2fa7b414f3f63e66d1708f5bda9465e0ee89 that is in the master branch but not in the 19.07 branch. I tried appying the patch and building the package and it fixes the probem. |
Also configuring uhttpd with |
I've opened https://bugs.openwrt.org/index.php?do=details&task_id=3443 in hope that the next 19.07 version is realeased with the fix. |
Waiting for the commit to be picked in OpenWrt 19.07, do you mind applying this workaround and adding it to the list of temporarily-needed code in #809? |
I am not sure about the side effects of this. |
According to this comment from @jow- it should just slow down TLS, which would not be a real problem in our case. |
Seems that Jow solved for 19.07 branch, so it will be included in 19.07.5 :) |
This is for avoiding this issue: libremesh/lime-packages#763
While we wait for 19.07.5 to be released, I edited the development page suggesting to use the openwrt-19.07 branch which already includes the fix: libremesh/libremesh.github.io@1185edd |
Great idea Ilario thanks |
With the latest web instructions (using 19.07 branch) it is working so I am closing. |
Lime-App, Un unexpected error occurred.
Hello,
once again I have a problem with the display in the browser of the Lime-App. I don't need the First-Boot-Wizzard, that's why it is not compiled. I only need to see in which node I am located in the Lime-App. See photo.
systems:
Openwrt 19.07.4, following routers are in use, TP-Link Archer C50 v3, TP-Link Archer C50 v4, TP-Link TL-WDR4300 v1.
Config File:(this file is for C50, but identical except for the different routers)
https://pastebin.com/sdpGx1Ca
feeds.conf:
src-git packages https://git.openwrt.org/feed/packages.git^eae1bb397f064befe003b01a36ae318321e81d35
src-git luci https://git.openwrt.org/project/luci.git^0d0ab01a64f25d15325d3c98a7df252085382f1d
src-git routing https://git.openwrt.org/feed/routing.git^b77498bd56d5e45ab4577a1f4ad6ffc55b4a86b7
src-git telephony https://git.openwrt.org/feed/telephony.git^91b34e7eefa1d37a18390d0c6881978cd76804a1
src-git libremesh https://github.com/libremesh/lime-packages.git
src-git libremap https://github.com/libremesh/libremap-agent.git
src-git networkprofiles https://github.com/libremesh/network-profiles.git
one more thing i have to say, i used the network profile of libremesh to encrypt mesh,
80-set-11s-encryption
#!/bin/sh
uci set lime-defaults.wifi.ieee80211s_encryption='psk2+aes'
uci set lime-defaults.wifi.ieee80211s_key='libremesh'
uci commit lime-defaults
have I forgotten to compile anything, or what could I do?
THX
The text was updated successfully, but these errors were encountered: