500 Server Error after adding a new anouncement
straight-shoota opened this issue · 2 comments
straight-shoota commented
After writing an announcement and after posting it I got a 500 on https://crystal-ann.com/announcements
The announcement was created anyway.
veelenga commented
Yup, problem with redis connection:
2017-07-13T18:27:07.273003+00:00 app[web.1]: 0x73fac0: ??? at /tmp/build_160e17f9efe0fc38b8057b1b354fe0b3/lib/redis/src/redis/strategy/transaction.cr 78:5
2017-07-13T18:27:07.266875+00:00 app[web.1]: RedisError: Disconnected (Redis::DisconnectedError)
2017-07-13T18:27:07.273006+00:00 app[web.1]: 0x72a3e5: create at /tmp/build_160e17f9efe0fc38b8057b1b354fe0b3/src/controllers/announcement_controller.cr 37:7
2017-07-13T18:27:07.273006+00:00 app[web.1]: 0x8bf2e3: ??? at /tmp/build_160e17f9efe0fc38b8057b1b354fe0b3/lib/amber/src/amber/router/route.cr 255:3
2017-07-13T18:27:07.273007+00:00 app[web.1]: 0x8d8893: call at /tmp/build_160e17f9efe0fc38b8057b1b354fe0b3/lib/amber/src/amber/router/pipe/session.cr 64:9
2017-07-13T18:27:07.273013+00:00 app[web.1]: 0x8df982: call at /tmp/build_160e17f9efe0fc38b8057b1b354fe0b3/lib/amber/src/amber/router/pipe/pipeline.cr 22:11
2017-07-13T18:27:07.273008+00:00 app[web.1]: 0x8e984c: call at /tmp/crystal/src/http/server/handler.cr 24:7
2017-07-13T18:27:07.273014+00:00 app[web.1]: 0x8c490d: process at /tmp/crystal/src/http/server/request_processor.cr 39:11
2017-07-13T18:27:07.273015+00:00 app[web.1]: 0x4261f8: ??? at /tmp/crystal/src/fiber.cr 255:3
2017-07-13T18:27:07.273008+00:00 app[web.1]: 0x8e5727: call at /tmp/crystal/src/http/server/handler.cr 24:7
2017-07-13T18:27:07.273016+00:00 app[web.1]: 0x0: ??? at ??
veelenga commented
I changed a redis provided on heroku and forgot to restart dyno :(. Now it works. Thanks for reporting