post-review error Unable to find root /api/

445 views
Skip to first unread message

Jigar Sutaria

unread,
Dec 8, 2011, 11:42:20 AM12/8/11
to reviewboard
I am running post-review and receiving the error root /api/ not found

I am using

reviewboard 1.6
apache 2.0
python25
postgre9

my root folder is reviews

I am stucked with this since few days and no clue how to move forward.
Please help. If I am trying the URL in the browser, it not working
there. How can I make sure that http://localhost/reviews/api exists.

Christian Hammond

unread,
Dec 9, 2011, 2:56:08 PM12/9/11
to revie...@googlegroups.com
Can you show me the output of post-review when also using --debug?

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com



--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en

Jigar

unread,
Dec 12, 2011, 1:58:45 AM12/12/11
to reviewboard
<b>If I am using jigars02v </b>
C:\Python25\Scripts>post-review -d --server=http://jigars02v/reviews --
summary=533900 --description=533900 --username=admin --password=admin
--p4-cl
ient=jigars_JIGAR02V --p4-port=p4server:1666 --p4-passwd=01Nov2011 --
http-username=admin --http-password=admin 533900
>>> RBTools 0.3.4
>>> Home = C:\Users\jigars\AppData\Roaming
>>> p4 info
>>> repository info: Path: illin660:1666, Base path: None, Supports changesets: True
>>> HTTP GETting api/
>>> Got HTTP error: 503: <TITLE>503 Service Unavailable</TITLE>
<H1>503 Service Unavailable</H1>
Failed to resolve the name of server <B>jigars02v</B> to connect

Unable to access the root /api/ URL on the server.

C:\Python25\Scripts>

<b>If I am using localhost </b>


C:\Python25\Scripts>post-review -d --server=http://localhost/reviews --
summary=533900 --description=533900 --username=admin --password=admin
--p4-cl
ient=jigars_JIGAR02V --p4-port=p4server:1666 --p4-passwd=01Nov2011 --
http-username=admin --http-password=admin 533900
>>> RBTools 0.3.4
>>> Home = C:\Users\jigars\AppData\Roaming
>>> p4 info
>>> repository info: Path: illin660.corp.amdocs.com:1666, Base path: None, Supports changesets: True
>>> HTTP GETting api/
>>> Got HTTP error: 502: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-
family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="http://localhost/reviews/api/">http://localhost/reviews/api/</
A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Zero Sized Reply
</STRONG>
</UL>

<P>
Squid did not receive any data for this request.
<P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</
A>.

<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Mon, 12 Dec 2011 06:56:21 GMT by iproxy2n (squid/
2.7.STABLE2)
</ADDRESS>
</BODY></HTML>

Unable to access the root /api/ URL on the server.

C:\Python25\Scripts>


On Dec 9, 9:56 pm, Christian Hammond <chip...@chipx86.com> wrote:
> Can you show me the output of post-review when also using --debug?
>
> Christian
>
> --

> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com


>
> On Thu, Dec 8, 2011 at 8:42 AM, Jigar Sutaria <jigarsuta...@gmail.com>wrote:
>
>
>
> > I am running post-review and receiving the error root /api/ not found
>
> > I am using
>
> > reviewboard 1.6
> > apache 2.0
> > python25
> > postgre9
>
> > my root folder is reviews
>
> > I am stucked with this since few days and no clue how to move forward.
> > Please help. If I am trying the URL in the browser, it not working
> > there. How can I make sure thathttp://localhost/reviews/apiexists.
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/

> > Happy user? Let us know athttp://www.reviewboard.org/users/


> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > reviewboard...@googlegroups.com
> > For more options, visit this group at

> >http://groups.google.com/group/reviewboard?hl=en- Hide quoted text -
>
> - Show quoted text -

Jigar

unread,
Dec 16, 2011, 4:20:32 AM12/16/11
to reviewboard
Hi Chris,

Can you tell what could be the reason for this error?

~JIGAR

> > On Thu, Dec 8, 2011 at 8:42 AM,JigarSutaria <jigarsuta...@gmail.com>wrote:
>
> > > I am running post-review and receiving the error root /api/ not found
>
> > > I am using
>
> > > reviewboard 1.6
> > > apache 2.0
> > > python25
> > > postgre9
>
> > > my root folder is reviews
>
> > > I am stucked with this since few days and no clue how to move forward.
> > > Please help. If I am trying the URL in the browser, it not working
> > > there. How can I make sure thathttp://localhost/reviews/apiexists.
>
> > > --
> > > Want to help the Review Board project? Donate today at
> > >http://www.reviewboard.org/donate/
> > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > -~----------~----~----~----~------~----~------~--~---
> > > To unsubscribe from this group, send email to
> > > reviewboard...@googlegroups.com
> > > For more options, visit this group at

> > >http://groups.google.com/group/reviewboard?hl=en-Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -

Jigar

unread,
Dec 18, 2011, 1:07:44 AM12/18/11
to reviewboard
Hi,

I sent you details with debug options

On Dec 10, 12:56 am, Christian Hammond <chip...@chipx86.com> wrote:
> Can you show me the output of post-review when also using --debug?
>
> Christian
>
> --

> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org

> VMware, Inc. -http://www.vmware.com


>
> On Thu, Dec 8, 2011 at 8:42 AM, Jigar Sutaria <jigarsuta...@gmail.com>wrote:
>
>
>
>
>
>
>
> > I am running post-review and receiving the error root /api/ not found
>
> > I am using
>
> > reviewboard 1.6
> > apache 2.0
> > python25
> > postgre9
>
> > my root folder is reviews
>
> > I am stucked with this since few days and no clue how to move forward.
> > Please help. If I am trying the URL in the browser, it not working
> > there. How can I make sure thathttp://localhost/reviews/apiexists.
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/

> > Happy user? Let us know athttp://www.reviewboard.org/users/

Christian Hammond

unread,
Dec 18, 2011, 4:17:03 PM12/18/11
to revie...@googlegroups.com, reviewboard
It's the Squid proxy running. It's interfering with the communication. You'll need to access Review Board directly without the proxy.

Christian

> Happy user? Let us know at http://www.reviewboard.org/users/

Jigar

unread,
Jan 11, 2012, 11:34:30 PM1/11/12
to reviewboard
Hi Chrisitan,

C:\Python25\Scripts>post-review -d --server=http://127.0.0.1/reviews --
summary=533900 --description=533900 --username=jigars --
password=jigars --p4-
client=jigars_JIGAR02V --p4-port=p4jira:1666 --p4-
passwd=EAF62925210A08CC4896D0B80E026501 533900
>>> RBTools 0.3.4
>>> Home = C:\Users\jigars\AppData\Roaming
>>> p4 info
>>> repository info: Path: illin660:1666, Base path: None, Supports changesets: True
>>> HTTP GETting api/
>>> HTTP GETting http://127.0.0.1/reviews/api/info/
>>> Using the new web API
>>> Generating diff for changenum 533900
>>> p4 -P EAF62925210A08CC4896D0B80E026501 describe -s 533900
>>> Processing edit of //depot/Applications/SE/v80_0_SP2/product/product.epcimport/src/com/company/product/epcimport/ant/AntStep.java
>>> Writing "//depot/Applications/SE/v80_0_SP2/product/product.epcimport/src/com/company/product/epcimport/ant/AntStep.java#26" to "c:\us
ers\jigars\appdata\local\temp\tmpgwvxzu"
>>> p4 print -o c:\users\jigars\appdata\local\temp\tmpgwvxzu -q //depot/Applications/SE/v80_0_SP2/product/product.epcimport/src/com/company/product/epcimport/ant/AntStep.java#26
Client 'jigars_JIGAR02V' unknown - use 'client' command to create it.

Failed to execute command: ['p4', '-G', 'where', '//depot/Applications/
SE/v80_0_SP2/company/product/src/com/company/product/epc
import/ant/AntStep.java']


~JIGAR

On Dec 18 2011, 11:17 pm, Christian Hammond <chip...@gmail.com> wrote:
> It's the Squid proxy running. It's interfering with the communication. You'll need to access Review Board directly without the proxy.
>
> Christian
>
> On Dec 17, 2011, at 22:07,Jigar<jigar23m...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I sent you details with debug options
>
> > On Dec 10, 12:56 am, Christian Hammond <chip...@chipx86.com> wrote:
> >> Can you show me the output of post-review when also using --debug?
>
> >> Christian
>
> >> --
> >> Christian Hammond - chip...@chipx86.com
> >> Review Board -http://www.reviewboard.org
> >> VMware, Inc. -http://www.vmware.com
>
> >> On Thu, Dec 8, 2011 at 8:42 AM,JigarSutaria <jigarsuta...@gmail.com>wrote:
>
> >>> I am running post-review and receiving the error root /api/ not found
>
> >>> I am using
>
> >>> reviewboard 1.6
> >>> apache 2.0
> >>> python25
> >>> postgre9
>
> >>> my root folder is reviews
>
> >>> I am stucked with this since few days and no clue how to move forward.
> >>> Please help. If I am trying the URL in the browser, it not working
> >>> there. How can I make sure thathttp://localhost/reviews/apiexists.
>
> >>> --
> >>> Want to help the Review Board project? Donate today at
> >>>http://www.reviewboard.org/donate/
> >>> Happy user? Let us know athttp://www.reviewboard.org/users/
> >>> -~----------~----~----~----~------~----~------~--~---
> >>> To unsubscribe from this group, send email to
> >>> reviewboard...@googlegroups.com
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/reviewboard?hl=en
>
> > --
> > Want to help the Review Board project? Donate today athttp://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to reviewboard...@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/reviewboard?hl=en- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages