Ecognium
Ecognium

Reputation: 2076

How to display a 404 page in deployed Yesod / Keter App

When I use yesod devel and go to a non-existent page I get a Not Found page (404). However, when I deploy the app with Keter, I get this

Error connecting to gateway:

InternalIOException connect: does not exist (Connection refused)

Since Keter (https://github.com/snoyberg/keter) manages the Nginix configuration, I am not sure what's the best way to resolve this.

Thanks!

Upvotes: 1

Views: 238

Answers (1)

Michael Snoyman
Michael Snoyman

Reputation: 31315

That looks like a bug in Keter. Can you file an issue on the tracker?

EDIT

@Ecognium opened this issue on the tracker. The problem appears to be a bug in GHC 7.4.1 manifesting in the underlying application, not a bug in Keter itself.

Upvotes: 2

Related Questions