Last modified: 2014-08-27 22:58:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62201, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60201 - [NewWeb] First few requests always return 404 after lighttpd restart
[NewWeb] First few requests always return 404 after lighttpd restart
Status: RESOLVED WORKSFORME
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-18 13:16 UTC by Liangent
Modified: 2014-08-27 22:58 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2014-01-18 13:16:12 UTC
With that "Four hundred and four!" error page. One or more reloads fix that.

Note: In case this helps: if my .lighttpd.conf is not loaded, the path requested is really a 404, because I'm rewriting almost everything to a FastCGI handler.
Comment 1 Marc A. Pelletier 2014-01-18 14:23:04 UTC
I'm not sure I understand the report.  I can tell you that it takes several seconds before the lighttpd is started (and might take up to ~30s or so if the grid is really loaded), so while restarting you'll get the default apache for that period.

Perhaps that is what you are experiencing?
Comment 2 Liangent 2014-01-18 14:45:00 UTC
(In reply to comment #1)
> I'm not sure I understand the report.  I can tell you that it takes several
> seconds before the lighttpd is started (and might take up to ~30s or so if
> the
> grid is really loaded), so while restarting you'll get the default apache for
> that period.
> 
> Perhaps that is what you are experiencing?

Yes :) my public_html is almost empty and everything is handled by the FastCGI webapp configured in lighttpd, so when Apache is handing requests for me everything is 404.

But if so, can't the webservice command wait until the server is really started? Having a "started" message outputted with the server still being started seems misleading.
Comment 3 Marc A. Pelletier 2014-08-27 22:58:05 UTC
Sorry, it's not really possible to do so (the script can know when the job has been submitted, not when the process is ready to accept connections).

That said, with the new webservice scheme, the error is not ambiguous: the error displayed is that there is no running webservice.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links