Webinterface disconnected on V0.6.1
#1
I installed Gekko 0.6.1 on my Raspberry Pi but I'm unable te get the webinterface running.
I installed all the files via git (from the installation instructions) and edited the config-file in the web/vue/public dir.
This file is exactly as it was when in version 0.5 that was working great.
Is there any more configuration to do?

The error I get is when Gekko is running and I browse to the webinterface (on port 3000) is: 
Disconnected
Something happened to either Gekko or the connection. Please check the terminal where Gekko is running or your network connection.
This message is shown when the UI is unable to open a websocket connection with the Gekko Server.

This is my UIconfig.js file:

const CONFIG = {
 headless: true,
 api: {
   host: '0.0.0.0',
   port: 3000,
   timeout: 120000 // 2 minutes
 },
 ui: {
   ssl: false,
   host: '192.168.1.221',
   port: 3000,
   path: '/'
 },
 adapter: 'sqlite'
}

if(typeof window === 'undefined')
 module.exports = CONFIG;
else
 window.CONFIG = CONFIG;



Any help?
  Reply
#2
The UIConfig has moved! Make sure you have actually edited the file now located in `gekko/web/vue/public/UIconfig.js`.

EDIT: you stated you did edit the file located in the public dir, very strange. Might be releated to this issue: https://github.com/askmike/gekko/issues/2273
  Reply
#3
Yes, that did the trick.

Thanks very much.
  Reply
#4
To quickly update: 0.6 comes with a new version of the frontend framework used by Gekko (called vuejs). As such please pull the latest develop branch and instead edit the UIconfig located at `gekko/web/vue/dist/UIconfig.js`. Else not everything might work as expected.
  Reply


Forum Jump:


Users browsing this thread: