mainflux/ui

missing or invalid bearer user token 401 Unauthorized

Closed this issue · 8 comments

Hi
I followed the instructions to do, but it's failed, using the mainflux-cli also get the same result.
image
image
Is there any other configuration or step I haven't done?
Thanks.

can you try following
export token='Bearer eyJhBGci0.....`
and this is an issue for the core mainflux https://github.com/mainflux/mainflux

Thanks for your reply.
I tried it but didn't work. I want to quickly learn about mainflux through UI , I used make run, it can login normally but didn't have permission to get Things or Channels info.
image

are you on the latest version?
can you check version with


curl http://localhost:8180/health
{"status":"pass","version":"0.12.1","commit":"c6f7c69798adfc044df16b48d5c71024c780894f","description":"users service","build_time":"2022-03-30_14:58:57"}

curl http://localhost:8182/health
{"status":"pass","version":"0.12.1","commit":"c6f7c69798adfc044df16b48d5c71024c780894f","description":"things service","build_time":"2022-03-30_14:58:57"}

yes,I used the latest version,but the localhost:8180/health is 404.
image
image
image
image
You can try it if you have time.

clone https://github.com/mainflux/ui.git
cd ui
make run

@Immanuel-Licht The UI image is from 4 month ago. Update it and it should work since we recently fixed this. We will release 0.13 ASAP and we will create proper tags to don't have this kind of issues.

Ok, I’ll try.Thanks! @mteodor @manuio

@Immanuel-Licht It's working? Can we close the issue?

Yes,it’s went well.👍I close the issue.