Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

k kestrel --verbose/debug #72

Closed
ricardoalcantara opened this issue Mar 4, 2015 · 6 comments
Closed

k kestrel --verbose/debug #72

ricardoalcantara opened this issue Mar 4, 2015 · 6 comments

Comments

@ricardoalcantara
Copy link

Hi I am creating a experimental website with most of the complexities I would use on my real world website, It runs on windows okay with Kestrel but on linux after I post the page nothing happens and I would like to see or debug this error. Does someone know how could I do it?

@ThatRendle
Copy link
Contributor

I use a combination of Logging and a request-tracing middleware to output debug information on Linux, with an environment variable setting to turn it on in development.

@ricardoalcantara
Copy link
Author

I tried to log something but when I Request POST the connection gets closed and I receive only one header: Connection: close. Seems like nothing is happening for some internal error.

@Tragetaschen
Copy link
Contributor

Is it aspnet/HttpAbstractions#168?
I have to start ASP.NET 5 with TEMP=something … for POST requests to work.

Did you already activate the error page app.UseErrorPage(…)?

@ricardoalcantara
Copy link
Author

Thank you very much @Tragetaschen , this TEMP situation was my problem about the POST request. And also I hadn't activated the app.UseErrorPage(), it was what I wanted about the 'debug/verbose'.

@felipepaixao
Copy link

hi @Tragetaschen , could you please explain how do you set the Temporary folder?
I'm having trouble when my application is trying to access the default temporary folder on Lnux.

@Tragetaschen
Copy link
Contributor

TEMP=/tmp sh kestrel

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants