Unable to use UIService, try alternative way, this process can be slow

#1

I’m trying to use c3ui-node-server against a staging environment. Here is the content of my c3server.js:

module.exports = {
    url: 'https://staging-enrironment.c3iot.com', 
	tenant: 'some-tenant',
	tag: 'some-tag',
	environment: 'development', 
	c3apps: 'packages/package',
	customerPath:  'change/me/to/customer/folder',
	username: 'some-username', 
	password: 'some-password'
};

When I point my browser to http://localhost:3000, I see the following logs printed to the terminal console:

Start Downloading...
Unable to use UIService, try alternative way, this process can be slow.

After that I see in the browser the following progress string but it took way too long

Downloading  3804  files
Download Progress:73.84%
{ Error: connect ETIMEDOUT some-ip-address:443
    at Object.exports._errnoException (util.js:1020:11)
    at exports._exceptionWithHostPort (util.js:1043:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
  code: 'ETIMEDOUT',
  errno: 'ETIMEDOUT',
  syscall: 'connect',
  address: 'some-ip-address',
  port: 443 }

My credentials are correct, I’m able to connect to the environment directly using them.

Any idea on what’s the problem and how to fix it?

0 Likes

#2

it says: ETIMEDOUT.

Either your internet speed is slow or, you server hang up somehow. Try update your server so that node download the packaged file.

1 Like