What could cause a
Mojolicious::Lite app started with
morbo to continuously
reload for no apparent reason, as if it was receiving requests, until it gets an actual request?
For example, these 9 lines repeat over and over until the app is loaded in a browser, then it stops spewing these lines and works as expected:
Web application available at http://127.0.0.1:3000
GET "/"
Routing to a callback
200 OK (0.204005s, 4.902/s)
GET "/%3C!DOCTYPE%20html%3E%3Chead%3E ...
Template "not_found.development.html.ep" not found
Template "not_found.html.ep" not found
Rendering template "mojo/debug.html.ep"
Your secret passphrase needs to be changed (see FAQ for more)
404 Not Found (0.017273s, 57.894/s)
That 4th line is somehow appending a string of html, which the app builds up and renders, to a get request. I have no idea how that's happening at all, let alone autonomously without loading it in a browser. This is an old working app with no known problems. After restarting morbo a few times all is well, and I can't reproduce it, but am curious if this is a known issue when someone like me does something stupid with the code? Thanks
Tonight at 11...DOOOOOOOOOOOOOOOM!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.