| Author |
Message |
|
| Guest |
Posted: Sun Jan 27, 2008 1:44 pm |
|
|
|
Guest
|
ALL,
I have been receiving the following error message probably due to
"trace=traffic" in my config file.
=ERROR REPORT==== 27-Jan-2008::06:17:21 ===
Yaws process died: {{badmatch,undefined},
[{yaws_api,reformat_request,1},
{yaws,http_get_headers,2},
{yaws_server,aloop,3},
{yaws_server,acceptor0,2},
{proc_lib,init_p,5}]}
I've looked at the source and I'm dumbfounded. One interesting
artifact is that I read this post and looking at the code it appears
to be /2 version. But then the syntax is a bit strange too.
[R12B0 release notes]
OTP-6845 Functions that have long been deprecated have now been
removed from the following modules: dict, erl_eval, erl_pp,
io, io_lib, lists, orddict, ordsets, sets, and string.
The undocumented function lists:zf/3 has also been removed
(use a list comprehension or lists:zf/2 instead).
/r
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Jan 27, 2008 8:17 pm |
|
|
|
Guest
|
Richard Bucker wrote:
> ALL,
>
> I have been receiving the following error message probably due to
> "trace=traffic" in my config file.
>
> =ERROR REPORT==== 27-Jan-2008::06:17:21 ===
> Yaws process died: {{badmatch,undefined},
> [{yaws_api,reformat_request,1},
> {yaws,http_get_headers,2},
> {yaws_server,aloop,3},
> {yaws_server,acceptor0,2},
> {proc_lib,init_p,5}]}
>
It is some semi-broken, or maybe slightly odd request that arrives.
Just add an io:format in yaws_api:reformat_request/1 and see what
you get. It may be buggy code in yaws, or it may be a bad client, we
can't tell untill we get to see what arrives to the server. So, print
out the request.
/klacke
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| rbucker881 |
Posted: Sun Feb 22, 2009 9:49 pm |
|
|
|
User
Joined: 11 Oct 2007
Posts: 17
|
I ran into this exact same issue again but this time I decided to follow the code. Looking at my client request, some well placed debug and the source code; I found my problem.
Code: reformat_request(Req) ->
{abs_path, Path} = Req#http_request.path,
{Maj,Min} = Req#http_request.version,
[yaws:to_list(Req#http_request.method), " ", Path," HTTP/",
integer_to_list(Maj),".", integer_to_list(Min)].
I was submitting the following to the server:
Code: POST /heartbeat HTTP 1.1
. . .
The problem with the code is that I was missing the '/' between the 'HTTP' and the '1.1'. While this is my fault for the server failure it would have been nice if there were a better error.
If there is any interest I'll make some recommendations otherwise I'll simply format my headers better.
/r |
|
|
| Back to top |
|
| wuji |
Posted: Thu Aug 23, 2012 7:27 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
in the meat.In addition to the Minneapolis flight, a needle needle [h2]replica designer *beep*[/h2] needle was discovered by a teenage passenger aboard a Delta
from Amsterdam to Atlanta. The teen would not surrender the the cheap Ralph Lauren the needle to authorities, who noted he told them that
planned to use it as evidence in a lawsuit.In a a [h4]cheap replica *beep*[/h4] a federal report on the incidents, it was noted that
teen was the son of a passenger aboard the flight flight [h4]replica Christian Louboutin[/h4] flight to Minneapolis who also found a needle in his
needles were reported found on two other flights, one by by Cheap Ralph Lauren Shirts by a crew member and another by a federal air |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|