jpd236 / Big-Board

2 stars 1 forks source link

Puzzle info page was inaccessible to certain users #14

Open jpd236 opened 5 months ago

jpd236 commented 5 months ago

Once or twice during the hunt, a puzzle's edit page (e.g. https://ange-management.herokuapp.com/puzzle/17) failed to load for some users, but I had no problems with it and was able to submit answers, make edits etc. We never got to the bottom of it, but here are logs from the server:

2024-01-13T16:57:33.604162+00:00 app[worker.1]: PHP Notice:  Undefined offset: 1 in /app/generated-classes/Puzzle.php on line 124
2024-01-13T16:57:44.595742+00:00 app[web.1]: 10.1.91.180 - - [13/Jan/2024:16:57:44 +0000] "GET /puzzle/17 HTTP/1.1" 302 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0
2024-01-13T16:57:44.595928+00:00 heroku[router]: at=info method=GET path="/puzzle/17" host=ange-management.herokuapp.com request_id=4139690a-e8b7-4773-88ef-b7187ccfaa68 fwd="24.147.118.52" dyno=web.1 connect=0ms service=8ms status=302 bytes=276 protocol=https
2024-01-13T16:57:44.654665+00:00 app[web.1]: 10.1.91.180 - - [13/Jan/2024:16:57:44 +0000] "GET / HTTP/1.1" 200 17334 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0

It seemed like logic to read some info from the spreadsheet was failing, but this should be using service account credentials IIRC, so I don't know why it would be different per user.

No need to investigate if we drop Big Board.