Server 127.0.0.1 rejected from address root@localhost

277 views
Skip to first unread message

xav...@gmail.com

unread,
Nov 2, 2009, 11:10:33 AM11/2/09
to Repo and Gerrit Discussion
Hey guys,

I get the following error when I click publish comments or submit
patch: "Server 127.0.0.1 rejected from address root@localhost".

It doesn't seem to have any consequences other to annoy users every
time they click publish or submit. (The commits go through, the
comments get published. )

I'm using:
- gerrit-2.0.23.war
- jetty-6.1.21
- MySQL
- mysql-connector-java-5.0.8
- commons-pool-1.5.3.jar
- commons-dbcp-1.2.2.jar
- c3p0-0.9.1.2.jar

Thanks for your help.

Greg

xav...@gmail.com

unread,
Nov 2, 2009, 11:11:42 AM11/2/09
to Repo and Gerrit Discussion
And I forgot to mention, we are using OpenID with google only, for
logging.

Shawn Pearce

unread,
Nov 2, 2009, 11:34:44 AM11/2/09
to repo-d...@googlegroups.com
On Mon, Nov 2, 2009 at 08:10, xav...@gmail.com <xav...@gmail.com> wrote:
> I get the following error when I click publish comments or submit
> patch: "Server 127.0.0.1 rejected from address root@localhost".
>
> It doesn't seem to have any consequences other to annoy users every
> time they click publish or submit. (The commits go through, the
> comments get published. )

Hmm. I have never seen this error message before.

- What browser(s)?
- Anything else displayed in the error window? Any chance you can
share a screenshot of it?
- Any messages available in your browser's JavaScript error console?
- What URL are you using to access your Gerrit server? Is it
http://127.0.0.1/? The server's hostname?

Brad Larson

unread,
Nov 2, 2009, 11:39:29 AM11/2/09
to Repo and Gerrit Discussion


On Nov 2, 10:10 am, "xav...@gmail.com" <xav...@gmail.com> wrote:
> Hey guys,
>
> I get the following error when I click publish comments or submit
> patch: "Server 127.0.0.1 rejected from address root@localhost".
>
> It doesn't seem to have any consequences other to annoy users every
> time they click publish or submit. (The commits go through, the
> comments get published. )

Do users get emails about their changes? I suspect an SMTP config
error...

Shawn Pearce

unread,
Nov 2, 2009, 11:43:45 AM11/2/09
to repo-d...@googlegroups.com
On Mon, Nov 2, 2009 at 08:39, Brad Larson <bkla...@gmail.com> wrote:
> Do users get emails about their changes?  I suspect an SMTP config
> error...

Doh, that's exactly what this is.

This message is coming out of the SMTP client code. Your local SMTP
server is refusing to deliver a message sent by "root@localhost".

xav...@gmail.com

unread,
Nov 2, 2009, 11:52:44 AM11/2/09
to Repo and Gerrit Discussion
I see, you are correct, the users aren't getting the emails. I get the
following JSON from the POST response:

{"version":"1.1","error":{"name":"JSONRPCError","code":
999,"message":"Server 127.0.0.1 rejected from address
root@localhost"}}

Thanks for the help!

On Nov 2, 11:43 am, Shawn Pearce <s...@google.com> wrote:

Shawn Pearce

unread,
Nov 2, 2009, 11:59:29 AM11/2/09
to repo-d...@googlegroups.com
On Mon, Nov 2, 2009 at 08:52, xav...@gmail.com <xav...@gmail.com> wrote:
>
> I see, you are correct, the users aren't getting the emails. I get the
> following JSON from the POST response:
>
> {"version":"1.1","error":{"name":"JSONRPCError","code":
> 999,"message":"Server 127.0.0.1 rejected from address
> root@localhost"}}

Look at the sendemail section in the configuration documentation. You
should be able to reconfigure it to be more acceptable to your local
SMTP server, or disable email sending altogether if that is the
preferred route.

xav...@gmail.com

unread,
Nov 2, 2009, 1:11:18 PM11/2/09
to Repo and Gerrit Discussion
Will do! Thanks allot!

Greg
Reply all
Reply to author
Forward
0 new messages