Closed Dibyajyoti-08 closed 2 months ago
@Dibyajyoti-08
a) Is Fledge running? You can verify by API endpoint http://IP:PORT/fledge/ping
b) Do you install Fledge and Fledge-GUI on same machine?
c) If both are running on different machines, then make sure it should be on the same network
Hi @ashish-jabble, Thanks for the reply. ->Is there connection to run fledge and fledge-gui to run on a same system? -> I only cloned fledge-gui and followed the step, after the command $ yarn install && yarn start it indicates me to open browser with http://localhost:4200, when i open it shows, -> it also shows the same when i go to the browser and type http://localhost:4200/fledge/ping, it automatically redirects me to the URL - http://localhost:4200/#/setting?id=1
->Is there connection to run fledge and fledge-gui to run on a same system?
Not as such
GUI is running as Development Server by default port with 4200
Instead of 4200 you should use 8081 as Fledge Core server is running by default on 8081 i.e http://localhost:8081/fledge/ping
As per your screenshot - In Connection setup - You have set http | localhost | 8081
I suspect Fledge is Not running on localhost. Please check the Fledge setup first and configure the correct details in GUI client. Thereafter you shall be able to communicate between Fledge and its GUI client.
Thanks for your help, it does require to run fledge first in order to run the feldge-gui as fledge runs in port 8081 and it was not running, thats the reason it was getting redirected to the URL - http://localhost:4200/#/setting?id=1, the issue is solved after cloning and running the fledge and then cloning and running the fledge-gui does work. I am closing this issue, as this issue has been solved.
Regards, DJ
-> I cloned fledge gui into my ubuntu system and followed the follwing command,
-> After that i add event in nginx.conf as without that nginx was not getting started,
-> Then when i went on browser and opened gui as http://my-system-ip:8081, it redirected me to the URL - http://system-ip:8081/#/setting?id=1
-> Also it shows DOWN in the GUI, any help will be appreciated.
Regards, DJ