Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"If you are running in a headless environment, please do not use the open flag" #161

Closed
kirkjaa opened this issue Jul 9, 2018 · 6 comments

Comments

@kirkjaa
Copy link

kirkjaa commented Jul 9, 2018

Hello,
I had no issue running this from my local environment, however as I tried to install this on DO Server:
I'm trying to have this run on a server and yes it gave me this error where I can't access the application on port 8080. Where to omit the open flag ?

@kirkjaa
Copy link
Author

kirkjaa commented Jul 12, 2018

Hello,
I'm still eagerly await on some form or fashion of contructive support from your opensource team. Basically people need to be able to install this into a headless environment on a server. And if you can run this on a laptop it's pretty hard to share this your geo data set with a team. So yes document on installation on a server would be good. Thanks for reading and it would be great to reply. @heshan0131

@heshan0131
Copy link
Contributor

@kirkjaa I haven't tried running it on a server, following webpack-dev-server source code Can you try delete --open in examples/demo-app/packge.json and see if that fixes it?

@kirkjaa
Copy link
Author

kirkjaa commented Jul 13, 2018

@heshan0131 I deleted --open in both examples/demo-app/packge.json and website it runs now without the headless message but still can't access from the server. So I have to figure it our from webpack-dev-server source code ? I supposed to get it working on server URL or IP address. Thanks anyway for the suggestion.

@nkochanek
Copy link

nkochanek commented Aug 2, 2018

@kirkjaa

This should be your fix.

"start": "webpack-dev-server --progress --hot --port 8009 --host 0.0.0.0"

Basically you need to set the --host flag to be 0.0.0.0 (ie. not localhost). This is working fine for me on AWS w/ Ubuntu 16.04. Just make sure that you're also allowing inbound requests to your server as well.

edit: you can find this in the package.json file

@kirkjaa
Copy link
Author

kirkjaa commented Aug 4, 2018

@nkochanek Sorry for a late reply since other project preoccupied my time for the past couple of days. I can vouched 100% your tip rocks ! I got it working now on DO Ubuntu 16.04 node 9. Thank you and your tip was probably the most helpful I got from this repo LOL

@dyj7
Copy link

dyj7 commented Apr 9, 2019

@ heshan0131我删除了 - 在示例/ demo-app / packge.json和网站中打开它现在运行时没有无头消息,但仍然无法从服务器访问。所以我必须从webpack-dev-server源代码中找到它们?我应该让它在服务器URL或IP地址上工作。无论如何,谢谢你的建议。

I have taken your approach, but it still doesn't work.

heshan0131 pushed a commit that referenced this issue Feb 9, 2021
…control and time widget #UN-1038 (#161)

* add setLayerAnimationTimeConfig and setFilterAnimationTimeConfig action to set custom timezone and timeFormat

* pass timezone and timeFormat to time-range-slider and display time based on timezone

* Pass timezone and timeFormat to floating-time-display and display time based on timezone or custom format

* Add browser tests for time-widget and animation control

* make time widget top factory, pass width to time widget to force rerender when width change

* pass playback control width to range slider

* pass timeformat

* add wrapper to floating time display

Signed-off-by: Shan He <heshan0131@gmail.com>
heshan0131 pushed a commit that referenced this issue Mar 21, 2021
…control and time widget #UN-1038 (#161)

* add setLayerAnimationTimeConfig and setFilterAnimationTimeConfig action to set custom timezone and timeFormat

* pass timezone and timeFormat to time-range-slider and display time based on timezone

* Pass timezone and timeFormat to floating-time-display and display time based on timezone or custom format

* Add browser tests for time-widget and animation control

* make time widget top factory, pass width to time widget to force rerender when width change

* pass playback control width to range slider

* pass timeformat

* add wrapper to floating time display

Signed-off-by: Shan He <heshan0131@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants