PennyDreadfulMTG / perf-reports

2 stars 2 forks source link

500 error at /signup/ #42458

Closed vorpal-buildbot closed 5 years ago

vorpal-buildbot commented 5 years ago

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30661, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'_gid': 'GA1.2.807109645.1545180217', '_ga': 'GA1.2.1029774821.1545010414', '__cfduid': 'd7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408'}
            Endpoint: add_signup
            View Args: {}
            Person: logged_out
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'karnonthebcob', 'name': 'Herioc', 'decklist': "4 Battlewise Hoplite\r\n4 Favored Hoplite\r\n2 Fabled Hero\r\n2 Wingsteed Rider\r\n2 Triton Fortune Hunter\r\n2 Indestructibility\r\n2 Curiosity\r\n1 Eel Umbra\r\n2 Spectra Ward\r\n3 On Serra's Wings\r\n2 Defiant Strike\r\n4 Gods Willing\r\n3 Sheltering Light\r\n3 Aqueous Form\r\n3 Mystic Monastery\r\n10 Plains\r\n3 Evolving Wilds\r\n8 Island\r\n\r\n3 Demystify\r\n"}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 108.4.108.102, 162.158.78.144
Cf-Ray: 48b632d9fc99578f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Referer: https://pennydreadfulmagic.com/signup/
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Accept-Language: en-US,en;q=0.7,ja;q=0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Upgrade-Insecure-Requests: 1
Cookie: _gid=GA1.2.807109645.1545180217; _ga=GA1.2.1029774821.1545010414; __cfduid=d7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408
Cf-Connecting-Ip: 108.4.108.102
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 458

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30661, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30658, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'_gid': 'GA1.2.807109645.1545180217', '_ga': 'GA1.2.1029774821.1545010414', '__cfduid': 'd7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408', '_gat_gtag_UA_109131120_1': '1'}
            Endpoint: add_signup
            View Args: {}
            Person: logged_out
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'karnonthebcob', 'name': 'Herioc', 'decklist': "4 Battlewise Hoplite\r\n4 Favored Hoplite\r\n2 Fabled Hero\r\n2 Wingsteed Rider\r\n2 Triton Fortune Hunter\r\n2 Indestructibility\r\n2 Curiosity\r\n1 Eel Umbra\r\n2 Spectra Ward\r\n3 On Serra's Wings\r\n2 Defiant Strike\r\n4 Gods Willing\r\n3 Sheltering Light\r\n3 Aqueous Form\r\n3 Mystic Monastery\r\n10 Plains\r\n3 Evolving Wilds\r\n8 Island\r\n\r\n3 Demystify\r\n"}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 108.4.108.102, 162.158.78.144
Cf-Ray: 48b63056ec26578f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Referer: https://pennydreadfulmagic.com/signup/
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Accept-Language: en-US,en;q=0.7,ja;q=0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Upgrade-Insecure-Requests: 1
Cookie: _gid=GA1.2.807109645.1545180217; _ga=GA1.2.1029774821.1545010414; __cfduid=d7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408; _gat_gtag_UA_109131120_1=1
Cf-Connecting-Ip: 108.4.108.102
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 458

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30658, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30655, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'_gid': 'GA1.2.807109645.1545180217', '_ga': 'GA1.2.1029774821.1545010414', '__cfduid': 'd7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408', 'cf_use_ob': '0'}
            Endpoint: add_signup
            View Args: {}
            Person: logged_out
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'karnonthebcob', 'name': 'Herioc', 'decklist': "4 Battlewise Hoplite\r\n4 Favored Hoplite\r\n2 Fabled Hero\r\n2 Wingsteed Rider\r\n2 Triton Fortune Hunter\r\n2 Indestructibility\r\n2 Curiosity\r\n1 Eel Umbra\r\n2 Spectra Ward\r\n3 On Serra's Wings\r\n2 Defiant Strike\r\n4 Gods Willing\r\n3 Sheltering Light\r\n3 Aqueous Form\r\n3 Mystic Monastery\r\n10 Plains\r\n3 Evolving Wilds\r\n8 Island\r\n\r\n3 Demystify\r\n"}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 108.4.108.102, 162.158.78.144
Cf-Ray: 48b62db35b60578f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Referer: https://pennydreadfulmagic.com/signup/
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Accept-Language: en-US,en;q=0.7,ja;q=0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Upgrade-Insecure-Requests: 1
Cookie: _gid=GA1.2.807109645.1545180217; _ga=GA1.2.1029774821.1545010414; __cfduid=d7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408; cf_use_ob=0
Cf-Connecting-Ip: 108.4.108.102
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 458

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30655, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30660, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'_gid': 'GA1.2.807109645.1545180217', '_ga': 'GA1.2.1029774821.1545010414', '__cfduid': 'd7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408', '_gat_gtag_UA_109131120_1': '1'}
            Endpoint: add_signup
            View Args: {}
            Person: logged_out
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'karnonthebcob', 'name': 'Herioc', 'decklist': "4 Battlewise Hoplite\r\n4 Favored Hoplite\r\n2 Fabled Hero\r\n2 Wingsteed Rider\r\n2 Triton Fortune Hunter\r\n2 Indestructibility\r\n2 Curiosity\r\n1 Eel Umbra\r\n2 Spectra Ward\r\n3 On Serra's Wings\r\n2 Defiant Strike\r\n4 Gods Willing\r\n3 Sheltering Light\r\n3 Aqueous Form\r\n3 Mystic Monastery\r\n10 Plains\r\n3 Evolving Wilds\r\n8 Island\r\n\r\n3 Demystify\r\n"}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 108.4.108.102, 162.158.78.144
Cf-Ray: 48b62a408b03578f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Referer: https://pennydreadfulmagic.com/signup/
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Accept-Language: en-US,en;q=0.7,ja;q=0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Upgrade-Insecure-Requests: 1
Cookie: _gid=GA1.2.807109645.1545180217; _ga=GA1.2.1029774821.1545010414; __cfduid=d7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408; _gat_gtag_UA_109131120_1=1
Cf-Connecting-Ip: 108.4.108.102
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 458

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30660, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30657, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'_gid': 'GA1.2.807109645.1545180217', '_ga': 'GA1.2.1029774821.1545010414', '__cfduid': 'd7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408', 'cf_use_ob': '0'}
            Endpoint: add_signup
            View Args: {}
            Person: logged_out
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'karnonthebcob', 'name': 'Herioc', 'decklist': "4 Battlewise Hoplite\r\n4 Favored Hoplite\r\n2 Fabled Hero\r\n2 Wingsteed Rider\r\n2 Triton Fortune Hunter\r\n2 Indestructibility\r\n2 Curiosity\r\n1 Eel Umbra\r\n2 Spectra Ward\r\n3 On Serra's Wings\r\n2 Defiant Strike\r\n4 Gods Willing\r\n3 Sheltering Light\r\n3 Aqueous Form\r\n3 Mystic Monastery\r\n10 Plains\r\n3 Evolving Wilds\r\n8 Island\r\n\r\n3 Demystify\r\n"}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 108.4.108.102, 162.158.78.144
Cf-Ray: 48b631cfbdda578f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Referer: https://pennydreadfulmagic.com/signup/
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Accept-Language: en-US,en;q=0.7,ja;q=0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Upgrade-Insecure-Requests: 1
Cookie: _gid=GA1.2.807109645.1545180217; _ga=GA1.2.1029774821.1545010414; __cfduid=d7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408; cf_use_ob=0
Cf-Connecting-Ip: 108.4.108.102
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 458

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30657, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30656, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'_gid': 'GA1.2.807109645.1545180217', '_ga': 'GA1.2.1029774821.1545010414', '__cfduid': 'd7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408', 'cf_use_ob': '0'}
            Endpoint: add_signup
            View Args: {}
            Person: logged_out
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'karnonthebcob', 'name': 'Herioc', 'decklist': "4 Battlewise Hoplite\r\n4 Favored Hoplite\r\n2 Fabled Hero\r\n2 Wingsteed Rider\r\n2 Triton Fortune Hunter\r\n2 Indestructibility\r\n2 Curiosity\r\n1 Eel Umbra\r\n2 Spectra Ward\r\n3 On Serra's Wings\r\n2 Defiant Strike\r\n4 Gods Willing\r\n3 Sheltering Light\r\n3 Aqueous Form\r\n3 Mystic Monastery\r\n10 Plains\r\n3 Evolving Wilds\r\n8 Island\r\n\r\n3 Demystify\r\n"}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 108.4.108.102, 162.158.78.144
Cf-Ray: 48b62fb3eb69578f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Referer: https://pennydreadfulmagic.com/signup/
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Accept-Language: en-US,en;q=0.7,ja;q=0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Upgrade-Insecure-Requests: 1
Cookie: _gid=GA1.2.807109645.1545180217; _ga=GA1.2.1029774821.1545010414; __cfduid=d7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408; cf_use_ob=0
Cf-Connecting-Ip: 108.4.108.102
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 458

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30656, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30659, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'_gid': 'GA1.2.807109645.1545180217', '_ga': 'GA1.2.1029774821.1545010414', '__cfduid': 'd7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408', 'cf_use_ob': '0'}
            Endpoint: add_signup
            View Args: {}
            Person: logged_out
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'karnonthebcob', 'name': 'Herioc', 'decklist': "4 Battlewise Hoplite\r\n4 Favored Hoplite\r\n2 Fabled Hero\r\n2 Wingsteed Rider\r\n2 Triton Fortune Hunter\r\n2 Indestructibility\r\n2 Curiosity\r\n1 Eel Umbra\r\n2 Spectra Ward\r\n3 On Serra's Wings\r\n2 Defiant Strike\r\n4 Gods Willing\r\n3 Sheltering Light\r\n3 Aqueous Form\r\n3 Mystic Monastery\r\n10 Plains\r\n3 Evolving Wilds\r\n8 Island\r\n\r\n3 Demystify\r\n"}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 108.4.108.102, 162.158.78.144
Cf-Ray: 48b62bd21a87578f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Referer: https://pennydreadfulmagic.com/signup/
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Accept-Language: en-US,en;q=0.7,ja;q=0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Upgrade-Insecure-Requests: 1
Cookie: _gid=GA1.2.807109645.1545180217; _ga=GA1.2.1029774821.1545010414; __cfduid=d7adafffc7b5ce7b5b75a1fad4ce0ec6a1545010408; cf_use_ob=0
Cf-Connecting-Ip: 108.4.108.102
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 458

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [30659, 'Battlewise Hoplite', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [31119, 'Confirm Suspicions', 1, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by seven47

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'__cfduid': 'd1351f73a7aeb3563975bb196471521cc1540423293', '_ga': 'GA1.2.1472614523.1540423296', '_gid': 'GA1.2.775017357.1546599152', '_gat_gtag_UA_109131120_1': '1', 'session': '.eJx9UV1Pg0AQ_C_7TAzg8dG-aayNEmv6kRo1hlxhoRfgoHeHhTb97y5Nah9MfLlkZ_dmZmePEDeoKi5RGhgb1aIFPK2EhHHGS01VipWo6vRaC53UKo0FQcB83_FHI-a5bhCE4a0TggX_dGSct6JML0plneeYDg50Lc-Mrh3YFlQmr-NWo5K8QiLT-I2SBcRQ89Zs3VgbboZGuV3MdnNnyvYf60qJp-Sl69v1a-FvosOyuM6bukBa6Qg8SVDrSw17Ge6afLLkDS66qb57dB60epOTpF2FUUT_sWuEQh1zSsfxmGP7AT03zPUYC7xrfwjMt1lok3uFGUHbX5FsjsWmY-G7XUZ9NlqlxUzl4vC87vrpZhChQBva5pOSozOIrCfsnJOGLwvONLHphxG4R65QwcmCP6EZrnIkm7Ity9MP53aZcQ.Dxbg3w.BMuCDfK86a_ROLxoqXG5YlgaUEA'}
            Endpoint: add_signup
            View Args: {}
            Person: 466169945227788318
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'seven47', 'name': 'Mono Blue Control', 'decklist': "1 Confirm Suspicions\r\n2 Dreadship Reef\r\n1 Elixir of Immortality\r\n2 Engulf the Shore\r\n2 Forbid\r\n21 Island\r\n3 Jace's Ingenuity\r\n2 Masticore\r\n4 Nullify\r\n4 Plumeveil\r\n4 Power Sink\r\n2 anticipate\r\n2 Repeal\r\n1 Treasure Cruise\r\n2 Urza's Factory\r\n3 Void Shatter\r\n4 Whispers of the Muse\r\n\r\nSideboard:\r\n2 Encroaching Wastes\r\n2 Engulf the Shore\r\n4 Horribly Awry\r\n2 Invasive Surgery\r\n2 Overwhelming Denial\r\n2 Steel Sabotage\r\n1 Telemin Performance"}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: AU
X-Forwarded-For: 203.30.93.5, 108.162.215.126
Cf-Ray: 496327f579457936-LAX
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Cache-Control: max-age=0
Origin: https://pennydreadfulmagic.com
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer: https://pennydreadfulmagic.com/signup/
Accept-Language: en-US,en;q=0.9
Cookie: __cfduid=d1351f73a7aeb3563975bb196471521cc1540423293; _ga=GA1.2.1472614523.1540423296; _gid=GA1.2.775017357.1546599152; _gat_gtag_UA_109131120_1=1; session=.eJx9UV1Pg0AQ_C_7TAzg8dG-aayNEmv6kRo1hlxhoRfgoHeHhTb97y5Nah9MfLlkZ_dmZmePEDeoKi5RGhgb1aIFPK2EhHHGS01VipWo6vRaC53UKo0FQcB83_FHI-a5bhCE4a0TggX_dGSct6JML0plneeYDg50Lc-Mrh3YFlQmr-NWo5K8QiLT-I2SBcRQ89Zs3VgbboZGuV3MdnNnyvYf60qJp-Sl69v1a-FvosOyuM6bukBa6Qg8SVDrSw17Ge6afLLkDS66qb57dB60epOTpF2FUUT_sWuEQh1zSsfxmGP7AT03zPUYC7xrfwjMt1lok3uFGUHbX5FsjsWmY-G7XUZ9NlqlxUzl4vC87vrpZhChQBva5pOSozOIrCfsnJOGLwvONLHphxG4R65QwcmCP6EZrnIkm7Ity9MP53aZcQ.Dxbg3w.BMuCDfK86a_ROLxoqXG5YlgaUEA
Via: HTTPS/1.1 ausydclu20.au.kworld.kpmg.com 0A65B80E
Cf-Connecting-Ip: 203.30.93.5
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 593

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [31119, 'Confirm Suspicions', 1, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [31162, 'Court Homunculus', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'__cfduid': 'df05fcdee203a0d8150f4491a36f946301542818278', '_ga': 'GA1.2.799752258.1542818280', '_gid': 'GA1.2.788110339.1547149134', '_gat_gtag_UA_109131120_1': '1'}
            Endpoint: add_signup
            View Args: {}
            Person: logged_out
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'NASCA', 'name': 'Tempered Steel', 'decklist': '<?xml version="1.0" encoding="utf-8"?>\r\n<Deck xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r\n  <NetDeckID>0</NetDeckID>\r\n  <PreconstructedDeckID>0</PreconstructedDeckID>\r\n  <Cards CatID="31819" Quantity="4" Sideboard="false" Name="Court Homunculus" />\r\n  <Cards CatID="59878" Quantity="2" Sideboard="false" Name="Declaration in Stone" />\r\n  <Cards CatID="61879" Quantity="4" Sideboard="false" Name="Toolcraft Exemplar" />\r\n  <Cards CatID="61569" Quantity="4" Sideboard="false" Name="Chief of the Foundry" />\r\n  <Cards CatID="39776" Quantity="4" Sideboard="false" Name="Spined Thopter" />\r\n  <Cards CatID="37965" Quantity="4" Sideboard="false" Name="Glint Hawk Idol" />\r\n  <Cards CatID="61891" Quantity="4" Sideboard="false" Name="Servo Exhibition" />\r\n  <Cards CatID="38103" Quantity="4" Sideboard="false" Name="Tempered Steel" />\r\n  <Cards CatID="62071" Quantity="3" Sideboard="false" Name="Fleetwheel Cruiser" />\r\n  <Cards CatID="62609" Quantity="3" Sideboard="false" Name="Sram\'s Expertise" />\r\n  <Cards CatID="35797" Quantity="3" Sideboard="false" Name="Dread Statuary" />\r\n  <Cards CatID="64138" Quantity="2" Sideboard="false" Name="Watchers of the Dead" />\r\n  <Cards CatID="69347" Quantity="19" Sideboard="false" Name="Plains" />\r\n  <Cards CatID="39930" Quantity="1" Sideboard="true" Name="Marrow Shards" />\r\n  <Cards CatID="65042" Quantity="1" Sideboard="true" Name="Inspiring Cleric" />\r\n  <Cards CatID="26245" Quantity="2" Sideboard="true" Name="Sunlance" />\r\n  <Cards CatID="59878" Quantity="2" Sideboard="true" Name="Declaration in Stone" />\r\n  <Cards CatID="59493" Quantity="2" Sideboard="true" Name="Make a Stand" />\r\n  <Cards CatID="64138" Quantity="2" Sideboard="true" Name="Watchers of the Dead" />\r\n  <Cards CatID="57122" Quantity="3" Sideboard="true" Name="Celestial Purge" />\r\n  <Cards CatID="63395" Quantity="2" Sideboard="true" Name="Sundering Growth" />\r\n</Deck>'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: JP
X-Forwarded-For: 2403:7800:b481:d400:bc92:5832:a63c:a6e6, 162.158.6.48
Cf-Ray: 497febedac93ae99-KIX
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Cache-Control: max-age=0
Origin: https://pennydreadfulmagic.com
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer: https://pennydreadfulmagic.com/signup/
Accept-Language: ja,en-US;q=0.9,en;q=0.8
Cookie: __cfduid=df05fcdee203a0d8150f4491a36f946301542818278; _ga=GA1.2.799752258.1542818280; _gid=GA1.2.788110339.1547149134; _gat_gtag_UA_109131120_1=1
Cf-Connecting-Ip: 2403:7800:b481:d400:bc92:5832:a63c:a6e6
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 2805

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [31162, 'Court Homunculus', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [31265, 'Blighted Gorge', 2, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by ambienceinvoker

            --------------------------------------------------------------------------------
            Request Method: POST
            Path: /signup/?
            Cookies: {'__cfduid': 'd1d7e6f7824eaffc5bc73eb493e8483981547151850', '_ga': 'GA1.2.783013179.1547151852', '_gid': 'GA1.2.116284842.1547663867', 'deck_id': '31256', '_gat_gtag_UA_109131120_1': '1', 'session': '.eJx9kdtqwzAMht_F12HYOba9a2kLPW6DMcbGCG6sJG5ju9hOD5S--5RC14vBLiX9-iV9upB8D1ZxDdqTgbctBIQLJTUZlLxxGAlQUhnxiKUrjBW5xBRhSRr2wl6U0jDusX7GQhKQfyo6r1rZiPukxlQViG4DZ_TNMUwiGhDlK5O3DqzmCtCMq40EXYDUB7MDi06Gt74Oc-e57wT1QlMb08PxyJizIoaDHY_CYVaOWXmuH3qP7XjahfCiAOfuMfkQq-28_iiH46lX3p3epsto1U6WId3Jd4n9cNpLCy7nSIklcZYlacbiJ0rTlNH-o96BS2nco3iFhRJT9e-QzeT1eSuG65fPQs3W-2TGFqmZT0S0NsrscAiC3eM1X0gQ3yHLM-ZuvBz5DsjNJvfnTkJGwC2CuAbkDzzPbQW4pm6b5voDP2-a8A.DyI_AQ.-q1vdTTuamX-XNrNLNGHp6RbCRg'}
            Endpoint: add_signup
            View Args: {}
            Person: 156282836024819712
            Referrer: https://pennydreadfulmagic.com/signup/
            Request Data: {'mtgo_username': 'ambienceinvoker', 'name': 'Reddish', 'decklist': '2 Blighted Gorge\r\n1 Brimstone Volley\r\n3 Browbeat\r\n3 Chain of Plasma\r\n4 Falkenrath Gorger\r\n2 Goldnight Castigator\r\n2 Implement of Combustion\r\n3 Incendiary Flow\r\n1 Keldon Necropolis\r\n17 Mountain\r\n4 Perilous Myr\r\n4 Quest for Pure Flame\r\n4 Scourge Wolf\r\n4 Sin Prodder\r\n2 Staggershock\r\n4 Village Messenger\r\n\r\nSideboard:\r\n4 Blood Knight\r\n3 Brimstone Volley\r\n4 Granulate\r\n4 Skullscorch'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 96.31.208.171, 172.69.69.234
Cf-Ray: 49aa3427dd92c81c-DFW
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Cache-Control: max-age=0
Origin: https://pennydreadfulmagic.com
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.116
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer: https://pennydreadfulmagic.com/signup/
Accept-Language: en-US,en;q=0.9
Cookie: __cfduid=d1d7e6f7824eaffc5bc73eb493e8483981547151850; _ga=GA1.2.783013179.1547151852; _gid=GA1.2.116284842.1547663867; deck_id=31256; _gat_gtag_UA_109131120_1=1; session=.eJx9kdtqwzAMht_F12HYOba9a2kLPW6DMcbGCG6sJG5ju9hOD5S--5RC14vBLiX9-iV9upB8D1ZxDdqTgbctBIQLJTUZlLxxGAlQUhnxiKUrjBW5xBRhSRr2wl6U0jDusX7GQhKQfyo6r1rZiPukxlQViG4DZ_TNMUwiGhDlK5O3DqzmCtCMq40EXYDUB7MDi06Gt74Oc-e57wT1QlMb08PxyJizIoaDHY_CYVaOWXmuH3qP7XjahfCiAOfuMfkQq-28_iiH46lX3p3epsto1U6WId3Jd4n9cNpLCy7nSIklcZYlacbiJ0rTlNH-o96BS2nco3iFhRJT9e-QzeT1eSuG65fPQs3W-2TGFqmZT0S0NsrscAiC3eM1X0gQ3yHLM-ZuvBz5DsjNJvfnTkJGwC2CuAbkDzzPbQW4pm6b5voDP2-a8A.DyI_AQ.-q1vdTTuamX-XNrNLNGHp6RbCRg
Cf-Connecting-Ip: 96.31.208.171
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 516

DatabaseException Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [31265, 'Blighted Gorge', 2, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction') Stack Trace:

  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./decksite/cache.py", line 79, in decorated_function
    response = make_response(f(*args, **kwargs))
  File "./decksite/main.py", line 307, in add_signup
    d = lg.signup(form)
  File "./decksite/league.py", line 180, in signup
    return deck.add_deck(form)
  File "./decksite/data/deck.py", line 356, in add_deck
    add_cards(deck_id, params['cards'])
  File "./decksite/data/deck.py", line 388, in add_cards
    insert_deck_card(deck_id, name, n, False)
  File "./decksite/data/deck.py", line 405, in insert_deck_card
    db().execute(sql, [deck_id, name, n, in_sideboard])
  File "./shared/database.py", line 45, in execute
    [n, _] = self.execute_anything(sql, args, False)
  File "./shared/database.py", line 60, in execute_anything
    raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))

Exception_hash: cff506f44cb8946fe5cfc4de66287163ed2ebef0

Labels: decksite; DatabaseException