Open-event-server: Remove SERVER_NAME or add warning in docs

Created on 28 Feb 2018  路  9Comments  路  Source: fossasia/open-event-server

The SERVER_NAME config in example env shadows the possible IP addresses a machine may take. For example, if the local IP is 10.0.3.2 the SERVER_NAME parameter being set to localhost will shadow this and 404 error will be shown instead.

This setting should either be removed or a warning should be added in the docs as it can be quite painful to pin point what the issue is

has-PR

Most helpful comment

I am working on this .

All 9 comments

I am working on this .

Refer to #4663

Is this active now as I can access this app at localhost:5000

Are you using SERVER_NAME in env?

Also, this is solved in Flask 1.0 so no need to fix this. This will be solved when #4674 is merged

@iamareebjamal

Also, this is solved in Flask 1.0 so no need to fix this. This will be solved when #4674 is merged

I guess we can close this now.

This is not yet solved @Kreijstal @bhaveshAn @srv-twry as apparently by recent inability to run server locally

I think it should just be removed from .env

Yes, its required to be removed from .env

Yes, will remove it.

Was this page helpful?
0 / 5 - 0 ratings