Project

General

Profile

Error running hello.wt example

Added by David Cummings over 1 year ago

I downloaded WT and used the INSTALL instructions to get everything setup. I tried running the hello.wt (hello.C) example using FastCGI and I get the following error:

[Thu Nov 03 13:38:07.496446 2022] [fcgid:warn] [pid 35989:tid 139980126266944] (104)Connection reset by peer: [client 127.0.0.1:45330] mod_fcgid: error reading data from FastCGI server
[Thu Nov 03 13:38:07.496551 2022] [core:error] [pid 35989:tid 139980126266944] [client 127.0.0.1:45330] End of script output before headers: hello.wt

The error suggests that requisite headers are missing however I suspect I simply have this misconfigured. Any suggestions on what I may be doing wrong are appreciated. Thank you.


Replies (2)

RE: Error running hello.wt example - Added by David Cummings over 1 year ago

I believe the issue here is that docroot is not set. How do I configure docroot for FCGI?

RE: Error running hello.wt example - Added by Plug Gulp over 1 year ago

In the installation guide here(assuming you are on Unix-like platforms): https://www.webtoolkit.eu/wt/doc/reference/html/InstallationUnix.html the section B.2 provides some information.

    (1-2/2)