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

Indigo stopped working #48

Closed
liyakun opened this issue Jun 12, 2017 · 6 comments
Closed

Indigo stopped working #48

liyakun opened this issue Jun 12, 2017 · 6 comments
Assignees

Comments

@liyakun
Copy link

liyakun commented Jun 12, 2017

@larjohn It seems there is a problem with indigo after your updates, could you have a look when you have time? thanks.

When you access http://eis-openbudgets.iais.fraunhofer.de/indigo/, you will get Invalid Host header.

@larjohn
Copy link
Contributor

larjohn commented Jun 12, 2017

This was expected. You should define the specific host instead of --host 0.0.0.0.
It should probably be --host eis-openbudgets.iais.fraunhofer.de

@liyakun
Copy link
Author

liyakun commented Jun 12, 2017

@liyakun liyakun self-assigned this Jun 12, 2017
@larjohn
Copy link
Contributor

larjohn commented Jun 12, 2017 via email

@liyakun
Copy link
Author

liyakun commented Jun 13, 2017

@larjohn This is strange, it works before with this setting. I think this is only for the app listening on the container port, it should have no influence on the host, right?

By the way, once I set the host to --host eis-openbudgets.iais.fraunhofer.de, the services on Fraunhofer server will not work.

@larjohn
Copy link
Contributor

larjohn commented Jun 13, 2017

@liyakun this is all related to angular/angular-cli#6070. I have tried the disableHostCheck: true workaround locally and it seems to work. We can go with this temporarily and go for something more convenient later on.

To sum it up, you can use ng serve --host 0.0.0.0 --disableHostCheck=true

@liyakun
Copy link
Author

liyakun commented Jun 13, 2017

@larjohn great, thanks, I already updated it on the server.

@liyakun liyakun closed this as completed Jun 13, 2017
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

2 participants