Skip to content
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

Bat-hosts get_bathost error #1093

Open
selankon opened this issue Mar 11, 2024 · 1 comment
Open

Bat-hosts get_bathost error #1093

selankon opened this issue Mar 11, 2024 · 1 comment

Comments

@selankon
Copy link
Collaborator

Trying libremesh with OWRT23, me and other people noticed that bat host doesn't load correctly a bathost data:

root@LiMe-eb7f64:~# ubus  call bat-hosts get_bathost '{"mac": "D2:5F:25:EB:63:DA", "outgoing_i
face": "wlan1-mesh" }'
Command failed: No response
root@LiMe-eb7f64:~# echo '{"mac": "D2:5F:25:EB:63:DA", "outgoing_iface": "wlan1-mesh" }' | /us
r/libexec/rpcd/bat-hosts call get_bathost | jq
Failed to allocate uclient context
lua: /usr/libexec/rpcd/bat-hosts:31: attempt to index local 'bathost' (a nil value)
stack traceback:
	/usr/libexec/rpcd/bat-hosts:31: in function 'get_bathost'
	/usr/libexec/rpcd/bat-hosts:52: in main chunk
	[C]: ?

It seems that is not retrieving the info or nill values are not handled properly.

This causes a "Fetching name" loader continuously shown on the lime app landing page.

@ilario
Copy link
Member

ilario commented Mar 14, 2024

Who can investigate this?
@javierajorge can you have a look? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants