Comments (4)
@4refr0nt I'm not sure to understand your question. You can't manage LoRa GW from Mainflux. You must connect them to your ChirpStack Server (the project was previously called Lora Server
), configure this MF_LORA_ADAPTER_MESSAGES_URL ENVAR with the address of your ChirpStack MQTT Broker and finally run the docker composition of lora-adapter
.
From UI side this environment variable loraServer: 'http://lora.mainflux.io/#/'
refers to the ChirpStack UI and not to the address of the message broker.
This doc can maybe help you.
from ui.
I'm already read this doc and configure my mainflux as documented (ChirpStack server running, ENV VAR setted and put in system profile, profile activated for current user, and lora adapter started). Also, I'm cloned UI project and set proper urls in environmens.prod.ts
and rebuld docker images, but I have some troubles with UI.
For reproduce this issue try install mainflux on clear VM (without saved docker images and volumes with previous data) and run as documented with ChirpStack server. Try open browser on other host (mainflux UI link).
-
UI make GET http req with unproper url mainflux_host://things/version
(proper links we can see inmainflux/things/swagger.yml
)
-
UI make GET http req mainflux_host://reader/channels/xxx/messages?offset=0&limit=500
but any reader not running and nginx redirects not configured in main docker/nginx folder.
Mainflux_host nginx return root UI page for this req :)
-
Other undefined GET req by UI for unstarted microservices (mainflux_host nginx return root UI page):
- /config
- /writer
- /bootstrap
Please, try add new gw and lora device over UI, then view and edit this items.
from ui.
@4refr0nt Thank you for the details, I understand your issue now. The problem is that we are using Nginx as proxy and it expect to find all services up and running otherwise it crash... That's why the configuration is only made for Core services.
This UI is using addons (reader, writer and boostrap) and it needs a specific configuration of the proxy:
location /config {
proxy_pass http://localhost:8202/things/configs;
}
location /bootstrap {
proxy_pass http://localhost:8202/things/bootstrap;
}
location /reader/channels {
proxy_pass http://localhost:8905/channels;
}
location /writer/channels {
proxy_pass http://localhost:8185/channels;
}
Let's think about how to document this in this repo or if we add a whole new config of docker-compose and Nginx.
from ui.
Thanks!
from ui.
Related Issues (20)
- Change Menu and Header colors
- Replace ng2-smart-table and charts card by custom components
- Add pagination to disconnected things/channels list on channels/things details page HOT 1
- Generalize code handling table and pagination HOT 1
- Add string, bool and data types in http adapter client
- Add custom table component and pagination to twins states and definitions pages
- Connect thing to channel HOT 1
- Implement Users and Things groups
- Add Grafana per thing permission handling
- Reloading messages improvment
- mainflux-users exited with code 1 HOT 8
- container mainflux/users failed to start, failed to create admin user and failed to configure e-mailing util HOT 1
- missing or invalid bearer user token 401 Unauthorized HOT 8
- Remove password management panel from profile page when using OIDC
- version 0.0.0 HOT 4
- Unable to write data in influxdb, connection to 127.0.0.1:8086 keeps getting refused.
- docker-compose can not run up HOT 1
- Can't login to Mainflux admin UI HOT 2
- fail to run compose, duplicate env variable
- Iot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui.