Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  Process die when POSTing data in revproxy mode

Guest
Posted: Mon May 17, 2010 5:36 pm Reply with quote
Guest
Hi,

I'm posting (POST) a file to an application behind a reverse proxy
managed by Yaws, the connection is reset by Yaws. There is no problem
when browsing the web site (GET).

Here is my configuration file for the virtual host :

<server dev.euphorik.ch>
port = 8081
listen = 0.0.0.0
revproxy = / http://localhost:8083
</server>


And here is the message output in /var/log/yaws/report.log (I'v cut
the posted data) :

=ERROR REPORT==== 15-May-2010::13:14:08 ===
Bad value on output port 'tcp_inet'


=ERROR REPORT==== 15-May-2010::13:14:08 ===
Yaws process died: {badarg,
[{erlang,iolist_size,
[{partial,
<<45,45,45,45,45,45,45,45,45,45,45,45,45,
45,45,45,45,45,45,45,45,45,45,45,45,45,
45,45,45,49,48,53,57,57,49,54,52,55,52,
55,49,57,53,13,10,67,111,110,116,101,110,
----------------------------------------------------------------------------
213,152,19,43,6,175,222,119,193,231,211,
166,85,108,131,112>>}]},
{yaws,gen_tcp_send,2},
{yaws_revproxy,init,6},
{yaws_server,aloop,3},
{yaws_server,acceptor0,2},
{proc_lib,init_p_do_apply,3}]}


Is this a regression because I never experience a such error previously ?

/Greg

------------------------------------------------------------------------------

_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Mon May 17, 2010 6:42 pm Reply with quote
Guest
On Mon, May 17, 2010 at 1:35 PM, Greg Burri <greg.burri@gmail.com> wrote:
> Hi,
>
> I'm posting (POST) a file to an application behind a reverse proxy
> managed by Yaws, the connection is reset by Yaws. There is no problem
> when browsing the web site (GET).
>
> Here is my configuration file for the virtual host :
>
> <server dev.euphorik.ch>
>
colm
Posted: Tue May 18, 2010 12:05 am Reply with quote
User Joined: 19 May 2008 Posts: 33
On Mon, May 17, 2010 at 11:42 AM, Steve Vinoski <vinoski@ieee.org> wrote:
> On Mon, May 17, 2010 at 1:35 PM, Greg Burri <greg.burri@gmail.com> wrote:
>> Hi,
>>
>> I'm posting (POST) a file to an application behind a reverse proxy
>> managed by Yaws, the connection is reset by Yaws. There is no problem
>> when browsing the web site (GET).
>>
>> Here is my configuration file for the virtual host :
>>
>> <server dev.euphorik.ch>
>>
View user's profile Send private message
Guest
Posted: Tue May 18, 2010 5:27 am Reply with quote
Guest
On Mon, May 17, 2010 at 8:04 PM, Colm Dougan <colm.dougan@gmail.com> wrote:
>
> I was able to replicate this with a trivial yaws setup:
>
>
Guest
Posted: Wed May 19, 2010 10:07 pm Reply with quote
Guest
Re,

Thanks for your advices, with partial_post_size = nolimit all is working fine.

/Greg

On Tue, May 18, 2010 at 7:27 AM, Steve Vinoski <vinoski@ieee.org> wrote:
> On Mon, May 17, 2010 at 8:04 PM, Colm Dougan <colm.dougan@gmail.com> wrote:
>>
>> I was able to replicate this with a trivial yaws setup:
>>
>>

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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