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

Modernize Python 2 code for migration to Python 3 #153

Merged
merged 1 commit into from Jun 2, 2020

Conversation

aktech
Copy link
Member

@aktech aktech commented Jun 2, 2020

This is auto edited via Python Modernize:
https://python-modernize.readthedocs.io/en/latest/

@aktech aktech added this to TODO in GAE Python 3 via automation Jun 2, 2020
@aktech aktech moved this from TODO to Progress in GAE Python 3 Jun 2, 2020
@aktech aktech merged commit 4244dc2 into master Jun 2, 2020
3 checks passed
GAE Python 3 automation moved this from Progress to Done Jun 2, 2020
@aktech aktech added the GAE-Python3 Everything related to upgrading to Google App engine's Python3 runtime label Jun 4, 2020
@00itsm00
Copy link

00itsm00 commented Jun 8, 2020

Hello there,

Posting in wrong section i think in hope to get an answer.

Installed it on server and it shows below error:
Request host is not whitelist enabled for this server. Please use the --host command-line flag to whitelist a specific host (recommended) or use --enable_host_checking to disable host checking. See the command-line flags help text for more information.

83835272-6a648580-a701-11ea-894f-8a7e956d2af9

above message appears after i start it with docker-compose up command.
tried to look everywhere but not able to find how to whitelisting disable or to put in whitelist

found this command on a forum but i don't know here to put it.

dev_appserver.py /root/sympy_gamma/app.yaml --enable_host_checking=false

Please guide me how to get this issue resolved.

Thanks.

@aktech aktech deleted the python-2-modernize branch June 12, 2020 10:15
@aktech
Copy link
Member Author

aktech commented Jun 12, 2020

@00itsm00 I can't say anything without looking at you configuration, but it could be related to ALLOWED_HOST in here:

ALLOWED_HOSTS = [
'127.0.0.1',
'localhost',
'.sympygamma.com',
'.sympy.org',
'.appspot.com'
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GAE-Python3 Everything related to upgrading to Google App engine's Python3 runtime
Projects
No open projects
GAE Python 3
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants