JessicaNgo / TeleGiphy

WebApp for demoday
MIT License
2 stars 0 forks source link

500 Error at Deployment #91

Open zapplecat opened 8 years ago

zapplecat commented 8 years ago

This the error log. I'm not really sure what's going on...?

2016-09-09 20:34:47,539 :Internal Server Error: /new_game
Traceback (most recent call last):
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/utils/datastructures.py", line 83, in __getitem__
    list_ = super(MultiValueDict, self).__getitem__(key)
KeyError: 'game_mode'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/exception.py", line 39, in inner
    response = get_response(request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/poenbwu/TeleGiphy/tele_giphy/game/views.py", line 87, in new_game
    request.session['game_mode'] = request.POST['game_mode']
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/utils/datastructures.py", line 85, in __getitem__
    raise MultiValueDictKeyError(repr(key))
django.utils.datastructures.MultiValueDictKeyError: "'game_mode'"
Mester commented 8 years ago

Could you check the sequence of requests he did prior to that? My initial guess is that he went to /new_game directly, without clicking the new game buttons

zapplecat commented 8 years ago

That was actually my test just now. I pressed the button to make a new hotseat game, loaded for a while, and ended up with a 500.

zapplecat commented 8 years ago

There are 2 other 500 errors to note:

2016-09-09 00:25:31,098 :Starting new HTTP connection (1): proxy.server
2016-09-09 02:29:41,271 :Internal Server Error: /game_lobby/8088/choose_new_gif
Traceback (most recent call last):
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/utils/datastructures.py", line 83, in __getitem__
    list_ = super(MultiValueDict, self).__getitem__(key)
KeyError: 'phrase'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/exception.py", line 39, in inner
    response = get_response(request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/poenbwu/TeleGiphy/tele_giphy/game/views.py", line 278, in choose_new_gif
    response = gif_random(tag=request.POST['phrase'])
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/utils/datastructures.py", line 85, in __getitem__
    raise MultiValueDictKeyError(repr(key))
django.utils.datastructures.MultiValueDictKeyError: "'phrase'"
2016-09-09 02:31:10,840 :Starting new HTTP connection (1): proxy.server
2016-09-09 02:31:35,411 :Starting new HTTP connection (1): proxy.server
2016-09-09 02:33:29,331 :Starting new HTTP connection (1): proxy.server
2016-09-09 03:58:40,555 :Internal Server Error: /new_game
Traceback (most recent call last):
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/utils/datastructures.py", line 83, in __getitem__
    list_ = super(MultiValueDict, self).__getitem__(key)
KeyError: 'game_mode'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/exception.py", line 39, in inner
    response = get_response(request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/poenbwu/TeleGiphy/tele_giphy/game/views.py", line 87, in new_game
    request.session['game_mode'] = request.POST['game_mode']
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/utils/datastructures.py", line 85, in __getitem__
    raise MultiValueDictKeyError(repr(key))
django.utils.datastructures.MultiValueDictKeyError: "'game_mode'"
2016-09-09 15:00:51,915 :Starting new HTTP connection (1): proxy.server
2016-09-09 15:44:38,369 :Internal Server Error: /game_lobby/1000/
Traceback (most recent call last):
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/exception.py", line 39, in inner
    response = get_response(request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/poenbwu/TeleGiphy/tele_giphy/game/views.py", line 262, in hotseat_gameplay
    g = Game.objects.get(token=token)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/db/models/query.py", line 385, in get
    self.model._meta.object_name
game.models.DoesNotExist: Game matching query does not exist.
2016-09-09 15:44:38,832 :Not Found: /apple-touch-icon-precomposed.png
2016-09-09 15:44:38,840 :Not Found: /favicon.ico
2016-09-09 15:44:38,924 :Not Found: /apple-touch-icon.png
2016-09-09 15:44:39,023 :Internal Server Error: /game_lobby/1000/
Traceback (most recent call last):
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/exception.py", line 39, in inner
    response = get_response(request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/poenbwu/TeleGiphy/tele_giphy/game/views.py", line 262, in hotseat_gameplay
    g = Game.objects.get(token=token)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/poenbwu/.virtualenvs/telegiphy/lib/python3.5/site-packages/django/db/models/query.py", line 385, in get
    self.model._meta.object_name
game.models.DoesNotExist: Game matching query does not exist.
zapplecat commented 8 years ago

I found some access logs:

54.225.225.112 - - [09/Sep/2016:18:20:06 +0000] "GET / HTTP/1.1" 400 37 "-" "python-requests/2.7.0 CPython/2.7.6 Linux/3.13.0-91-generic" "54.225.225.112"
98.228.51.169 - zizibaluba [09/Sep/2016:18:20:09 +0000] "GET / HTTP/1.1" 400 37 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:18:20:59 +0000] "GET / HTTP/1.1" 400 37 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
54.225.225.112 - - [09/Sep/2016:18:21:07 +0000] "GET / HTTP/1.1" 200 1604 "-" "python-requests/2.7.0 CPython/2.7.6 Linux/3.13.0-91-generic" "54.225.225.112"
98.228.51.169 - zizibaluba [09/Sep/2016:18:21:10 +0000] "GET / HTTP/1.1" 200 1603 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:18:21:10 +0000] "GET /static/css/styles.css HTTP/1.1" 304 0 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
54.225.225.112 - - [09/Sep/2016:19:04:21 +0000] "GET / HTTP/1.1" 200 1605 "-" "python-requests/2.7.0 CPython/2.7.6 Linux/3.13.0-91-generic" "54.225.225.112"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:23 +0000] "GET / HTTP/1.1" 200 1605 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:34 +0000] "GET / HTTP/1.1" 200 1604 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:37 +0000] "POST /new_game HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:38 +0000] "GET /pre_game_room/8320/ HTTP/1.1" 200 1918 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:40 +0000] "POST /pre_game_room/8320/start_game HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/pre_game_room/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:41 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1460 "http://poenbwu.pythonanywhere.com/pre_game_room/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:42 +0000] "GET /static/img/giphy_static.gif HTTP/1.1" 304 0 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:44 +0000] "POST /game_lobby/8320/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:44 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1467 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:51 +0000] "POST /game_lobby/8320/next HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:51 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1533 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:54 +0000] "POST /game_lobby/8320/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:54 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1539 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:04:59 +0000] "POST /game_lobby/8320/next HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:00 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1537 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:06 +0000] "POST /game_lobby/8320/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:06 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1542 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:13 +0000] "POST /game_lobby/8320/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:14 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1537 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:27 +0000] "POST /game_lobby/8320/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:27 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1543 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:32 +0000] "POST /game_lobby/8320/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:32 +0000] "GET /game_lobby/8320/ HTTP/1.1" 200 1540 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:38 +0000] "POST /gameover/8320/ HTTP/1.1" 200 1237 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:38 +0000] "GET /static/img/giphy_logo_laser_black.gif HTTP/1.1" 304 0 "http://poenbwu.pythonanywhere.com/gameover/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:50 +0000] "POST /gameover/8320/ HTTP/1.1" 200 1108 "http://poenbwu.pythonanywhere.com/game_lobby/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:50 +0000] "GET /static/css/styles.css HTTP/1.1" 304 0 "http://poenbwu.pythonanywhere.com/gameover/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:50 +0000] "GET /static/img/giphy_logo_laser_black.gif HTTP/1.1" 304 0 "http://poenbwu.pythonanywhere.com/gameover/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:19:05:53 +0000] "GET / HTTP/1.1" 200 1603 "http://poenbwu.pythonanywhere.com/gameover/8320/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:34:39 +0000] "POST /new_game HTTP/1.1" 503 5 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:34:47 +0000] "GET /new_game HTTP/1.1" 500 1291 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:34:53 +0000] "GET / HTTP/1.1" 200 1603 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:34:54 +0000] "POST /new_game HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:34:55 +0000] "GET /pre_game_room/9378/ HTTP/1.1" 200 1915 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:35:01 +0000] "POST /pre_game_room/9378/start_game HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/pre_game_room/9378/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:35:01 +0000] "GET /game_lobby/9378/ HTTP/1.1" 200 1463 "http://poenbwu.pythonanywhere.com/pre_game_room/9378/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:35:03 +0000] "POST /game_lobby/9378/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/game_lobby/9378/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:35:03 +0000] "GET /game_lobby/9378/ HTTP/1.1" 200 1466 "http://poenbwu.pythonanywhere.com/game_lobby/9378/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
104.175.208.33 - - [09/Sep/2016:20:40:06 +0000] "GET / HTTP/1.1" 200 1602 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:06 +0000] "GET /static/css/styles.css HTTP/1.1" 200 34 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:07 +0000] "GET /static/favicon.ico HTTP/1.1" 200 1406 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:36 +0000] "POST /choose_name?next=/ HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:36 +0000] "GET / HTTP/1.1" 200 1692 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:42 +0000] "POST /new_game HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:42 +0000] "GET /pre_game_room/7049/ HTTP/1.1" 200 1902 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:47 +0000] "GET / HTTP/1.1" 200 1635 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:49 +0000] "POST /new_game HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:49 +0000] "GET / HTTP/1.1" 200 1744 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:51 +0000] "GET /pre_game_room/7049/ HTTP/1.1" 200 1904 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:54 +0000] "POST /pre_game_room/7049/start_game HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/pre_game_room/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:54 +0000] "GET /multi_game_lobby/7049/ HTTP/1.1" 200 1477 "http://poenbwu.pythonanywhere.com/pre_game_room/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:40:54 +0000] "GET /static/img/giphy_static.gif HTTP/1.1" 200 919348 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:41:13 +0000] "POST /game_lobby/7049/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:41:13 +0000] "GET /multi_game_lobby/7049/ HTTP/1.1" 200 1510 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:41:59 +0000] "POST /game_lobby/7049/next HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:41:59 +0000] "GET /waiting_room/7049/ HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:42:00 +0000] "GET /multi_game_lobby/7049/ HTTP/1.1" 200 1563 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:43:56 +0000] "POST /game_lobby/7049/choose_new_gif HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:43:56 +0000] "GET /multi_game_lobby/7049/ HTTP/1.1" 200 1568 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:45:11 +0000] "POST /game_lobby/7049/next HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:45:11 +0000] "GET /waiting_room/7049/ HTTP/1.1" 302 5 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:45:12 +0000] "GET /gameover/7049/ HTTP/1.1" 200 1203 "http://poenbwu.pythonanywhere.com/multi_game_lobby/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
104.175.208.33 - - [09/Sep/2016:20:45:12 +0000] "GET /static/img/giphy_logo_laser_black.gif HTTP/1.1" 200 2313 "http://poenbwu.pythonanywhere.com/gameover/7049/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "104.175.208.33"
Mester commented 8 years ago
98.228.51.169 - zizibaluba [09/Sep/2016:20:34:39 +0000] "POST /new_game HTTP/1.1" 503 5 "http://poenbwu.pythonanywhere.com/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0" "98.228.51.169"
98.228.51.169 - zizibaluba [09/Sep/2016:20:34:47 +0000] "GET /new_game HTTP/1.1" 500 1291 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) G

So that's the first error and it's like I said. A GET request to /new_game, which is not supported. I guess the 503 before that was from the server/service lagging or something, not sure.

zapplecat commented 8 years ago

Yeah, I mean, I can't expect too much since it's a free service and all. It might just be that something is lagging somewhere.

Mester commented 8 years ago

The second one: 2016-09-09 02:29:41,271 :Internal Server Error: /game_lobby/8088/choose_new_gif is probably the same, a GET request to a view which should be POST

Mester commented 8 years ago

The last one, not sure. Maybe he was simply trying to access a game that was deleted or something

zapplecat commented 8 years ago

I'll look into this a bit more. There doesn't seem to be a consistent pattern and might be various different issues?

Mester commented 8 years ago

The game not found I dunno without seeing the logs. But the others seem pretty consistent to me, GET request to a POST function gives error :P. Don't think we restricted the views nor check if it's even a POST, just assumed it was, so the errors happen.