04-27-2018, 12:34 PM
Hi All,
Hoping somebody can help me with a networking issue.
I have Gekko working on an Amazon Ubuntu Instance.
I am able to use winSCP to browse the virtual server so I know its all running ok.
I am able to use Amazon AWS Powershell from windows to access the amazon ubuntu instance.
Once connected to Amazon AWS in powershell I am able to run this command
which was taken from - https://github.com/askmike/gekko/issues/1896
The result of this is that Gekko appears to start and run in the powershell window yay
Gekko reports
Now comes the problem -
If I open a browser window with localhost:3000 the Gekko Background appears but instantly changes to "Disconnected"
This is now driving me nuts, is anybody able to give me a pointer as to whether this is likely to be a setting on my pc? and how do i find out what is causing the disconnection...
Do I need to use the nginx setup?
This is my config -
Hoping somebody can help me with a networking issue.
I have Gekko working on an Amazon Ubuntu Instance.
I am able to use winSCP to browse the virtual server so I know its all running ok.
I am able to use Amazon AWS Powershell from windows to access the amazon ubuntu instance.
Once connected to Amazon AWS in powershell I am able to run this command
Code:
ssh -i C:\Users\User_Name\.ssh\AWS.pem -L3000:localhost:3000 ubuntu@18.my.ip.here
which was taken from - https://github.com/askmike/gekko/issues/1896
The result of this is that Gekko appears to start and run in the powershell window yay
Gekko reports
Code:
Serving Gekko UI on https://18.my.ip.here:3000/
Now comes the problem -
If I open a browser window with localhost:3000 the Gekko Background appears but instantly changes to "Disconnected"
This is now driving me nuts, is anybody able to give me a pointer as to whether this is likely to be a setting on my pc? and how do i find out what is causing the disconnection...
Do I need to use the nginx setup?
This is my config -
Code:
// This config is used in both the
// frontend as well as the web server.
// see https://github.com/askmike/gekko/blob/stable/docs/installing_gekko_on_a_server.md
const CONFIG = {
headless: true,
api: {
host: '0.0.0.0',
port: 3000,
timeout: 72000000 // 2 minutes
},
ui: {
ssl: true,
host: '18.my.ip.here',
port: 3000,
path: '/'
},
adapter: 'sqlite'
}
if(typeof window === 'undefined')
module.exports = CONFIG;
else
window.CONFIG = CONFIG;