Request large error

Hello friends,

<%= link_to “Generate Report”, {:action => ‘generate_report’ ,:users =>
all_users.map{|u| u.id}.join(",")}%>

The above action generates report for the users.
As per the filter results the all_users array length would be vary.
if the all_users array length is 3500.
when i click the above link to genearte report for the 3500 users it
gives me error like below

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: [no URL]

The following error was encountered:

* The request or reply is too large.

  If you are making a POST or PUT request, then your request body

(the thing you are trying to upload) is too large. If you are making a
GET request, then the reply body (what you are trying to download) is
too large. These limits have been established by the Internet Service
Provider who operates this cache. Please contact them directly if you
feel this is an error.

Your cache administrator is root.

Thanks for any helps.

Looks that you are behind a proxy (maybe transparent one). It is
working on localhost?

Newb N. wrote:

Hello friends,

<%= link_to “Generate Report”, {:action => ‘generate_report’ ,:users =>
all_users.map{|u| u.id}.join(",")}%>

The above action generates report for the users.
As per the filter results the all_users array length would be vary.
if the all_users array length is 3500.
when i click the above link to genearte report for the 3500 users it
gives me error like below

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: [no URL]

The following error was encountered:

* The request or reply is too large.

  If you are making a POST or PUT request, then your request body

(the thing you are trying to upload) is too large. If you are making a
GET request, then the reply body (what you are trying to download) is
too large. These limits have been established by the Internet Service
Provider who operates this cache. Please contact them directly if you
feel this is an error.

Your cache administrator is root.

Thanks for any helps.

Hi all,

I have set No Proxy in my Fire Fox Browser Settings.
After changing the browser settings,when click on the link to generate
report
it has not shown the errors it just worked fine.
But in IE browser it gives me like “IE cannot display this web page”
i don’t know why its happening in IE ?
Any helps or suggestions on this…

Eduard M. wrote:

Looks that you are behind a proxy (maybe transparent one). It is
working on localhost?

In Fire Fox behind Proxy it is not working but when it has got no Proxy
it works.
But in IE it works behind Proxy and without Proxy settings.but in IE the
link to helper passes id 1 to 351 only
but actually it has to pass 3375 ids.Firefox passes it properly.
what could be the problem.
any ideas and suggestions Please.

On Jan 15, 9:47Â am, Newb N. [email protected] wrote:

any ideas and suggestions Please.

Sounds like http://support.microsoft.com/kb/208427

Fred

2010/1/15 Newb N. [email protected]:

Hello friends,

<%= link_to “Generate Report”, {:action => ‘generate_report’ ,:users =>
all_users.map{|u| u.id}.join(",")}%>

Instead of sending all the ids, which as you note below ends up with a
request that is too large, send other information that you can use in
the controller to determine the list of users, for example in the
given case you could say
:users => ‘all’

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs