I have tried to use brower to connect "http://X.X.X.X/afe"; in non-local
machine(O.O.O.O), it could show front-end page successfully.

But, "autotest/cli/atest test list -w X.X.X.X"  in non-local
machine(O.O.O.O) still get the "HTTP Error 404: Not Found".

After that, I try to review the codes in /autotest/cli/ folder.

Interesting, I modify codes in file (/autotest/cli/rpc.py) in non-local
machine(O.O.O.O).

AFE_RPC_PATH = '/afe/server/noauth/rpc/'  =>  AFE_RPC_PATH =
'/afe/server/rpc/

The "autotest/cli/atest test list -w X.X.X.X" show the result successfully
in non-local machine(O.O.O.O) !!!

Could you please tell me why I modify the AFE_RPC_PATH could get successful
result??

Thank you :)
Dennis





2010/8/27 Lucas Meneghel Rodrigues <[email protected]>

> On Thu, 2010-08-26 at 19:48 +0800, Dennis Liu wrote:
> > Hi, all
> >
> > When I typed "autotest/cli/atest test list -w X.X.X.X"  in non-local
> > machine(O.O.O.O), I got the following error message
> >
> > =============================
> > Error received from web server:
> >     HTTP Error 404: Not Found
> > =============================
> >
> > However, I typed the same command text in local machine(X.X.X.X), it
> > showed the all tests name successfully.
> >
> > The following show the successful and fail requests in appache log.
> >
> =====================================================================================
> >
> > Fail request:
> > O.O.O.O - - [26/Aug/2010:19:39:52 +0800] "POST /afe/server/noauth/rpc/
> > HTTP/1.1" 404 3019 "-"  "Python-urllib/2.6"
> > Successful request:
> > X.X.X.X - - [26/Aug/2010:19:39:43 +0800] "POST /afe/server/rpc/
> > HTTP/1.1" 200 42715 "-" "Python-urllib/2.6"
> >
> >
> =====================================================================================
> >
> > It really confuse me, could any one help me to solve my problem?
>
> Well, I am also finding it weird. Maybe your server box is running super
> restrictive firewall rules that would be preventing communication on
> port 80 from other boxes? I'd try flushing the firewall rules on your
> server box first, so you can rule out this possibility. If after
> flushing the rules it starts working, you just have to figure how to
> tweak the rules to suit your usage pattern. If not, then more thinkering
> will be needed.
>
> Are the boxes running different operating systems with slightly
> different/buggy versions of python 2.6?
>
> > Thank you,
> > Dennis
> >
> > _______________________________________________
> > Autotest mailing list
> > [email protected]
> > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>
>
>
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to