[Genome] apache error message.

Brooke Rhead rhead at soe.ucsc.edu
Tue Apr 15 12:06:46 PDT 2008


Hello again Royden,

Another thing you might want to check is the mirror's "central.domain" 
and "central.cookie" settings in the cgi-bin/hg.conf file.  If these are 
configured incorrectly (for instance, if central.domain is still set to 
  ucsc.edu), carts (and sessions) will not be saved, and cookies will 
not work properly.

If the problem is only happening for a single user, be sure that the 
user's browser is set to accept cookies.

I hope this information is helpful.

--
Brooke Rhead
UCSC Genome Bioinformatics Group


Brooke Rhead wrote:
> Hello Royden,
> 
> I asked one of our developers about what is happening.  Here is his 
> response:
> 
> ---
> if (encoded->stringSize < 16*1024 || cart->userInfo->useCount > 0)
> 
> this means that it will only fail if both
> the useCount=0 and the initial cart size being saved is > 16K.
> 
> They could either hack their cart.c to allow a greater size,
> or alter their robot behavior to not trigger the limit.
> 
> If it's not a robot they are using,
> then is it a browser?, which browser?
> Does a cart reset fix the problem for the browser?
> ---
> 
> Please feel free to write back if you have further questions on the 
> above.  Additionally, you might want to post future mirror-related 
> questions to genome-mirror at soe.ucsc.edu instead of genome at soe.ucsc.edu. 
>  Sometimes others who run mirror sites respond to questions, if they 
> have encountered similar problems.
> 
> -- 
> Brooke Rhead
> UCSC Genome Bioinformatics Group
> 
> 
> 
> Subject: apache error message.
> From: Royden Clark <rac6c at virginia.edu>
> Date: Mon, 14 Apr 2008 16:18:27 -0400
> To: genome at soe.ucsc.edu
> To: genome at soe.ucsc.edu
> 
> 
> Greetings UCSC.
> 
> When we try to connect locally to a mirror we are using one of our users 
> is having some problems with his session tracking.
> 
> When I check the error logs I notice from each time he tries accessing 
> the local mirror:
> 
> error.log :
> [Mon Apr 14 12:41:36 2008] [error] [client 192.168.0.198] Cart stuffing 
> bot?  Not writing 22169 bytes to cart on first use of 8334 from 
> IP=192.168.0.198, referer: 
> http://192.168.0.200/cgi-bin/hgTracks?hgsid=5813&hgt.out3=10x&position=chr12%3A57612909-57630019 
> 
> 
> 
> Generated from:
> 
> cart.c
> 
> 
> Any advice on what could be causing this error? I suspect its why we are 
> having trouble with his settings.
> 
> 
> * Make up update statement unless it looks like a robot with
>  * a great bunch of variables. */
> if (encoded->stringSize < 16*1024 || cart->userInfo->useCount > 0)
>     {
>     updateOne(conn, "userDb", cart->userInfo, encoded->string, 
> encoded->stringSize);
>     updateOne(conn, "sessionDb", cart->sessionInfo, encoded->string, 
> encoded->stringSize);
>     }
> else
>     {
>     fprintf(stderr, "Cart stuffing bot?  Not writing %d bytes to cart on 
> first use of %d from IP=%s\n",
>         encoded->stringSize, cart->userInfo->id, cgiRemoteAddr());
>     }
> 
> /* Cleanup */


More information about the Genome mailing list