<div dir="ltr"><div>Hi Colin</div><div>Could that be a problem with your slave password?</div><div>   </div><div><br></div><div> def failedToGetPerspective(self, why):</div><div>        """The login process failed, most likely because of an authorization</div><div>        failure (bad password), but it is also possible that we lost the new</div><div>        connection before we managed to send our credentials.</div><div>        """</div><div>        log.msg("ReconnectingPBClientFactory.failedToGetPerspective")</div><div>        if why.check(pb.PBConnectionLost):</div><div>            log.msg("we lost the brand-new connection")</div><div>            # retrying might help here, let clientConnectionLost decide</div><div>            return</div><div>        # probably authorization</div><div>        self.stopTrying()  # logging in harder won't help</div><div>        log.err(why)</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 20, 2017 at 9:18 AM Colin Chargy <<a href="mailto:Colin.Chargy@bentley.com">Colin.Chargy@bentley.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
Before I start describing my issue, let me say to we have dozen of slaves (Win, Mac and Linux platform perfectly working right now), only one is problematic :<br>
We are facing an issue with slave connection to master. Here is the log on the slave side (see enclosed twisted.log for complete log) :<br>
[Broker,client] message from master: attached [Broker,client] ReconnectingPBClientFactory.failedToGetPerspective<br>
[Broker,client] we lost the brand-new connection [Broker,client] Lost connection to <a href="http://192.168.0.1:9989" rel="noreferrer" target="_blank">192.168.0.1:9989</a> [Broker,client] <twisted.internet.tcp.Connector instance at 0x03471918> will retry in 3 seconds<br>
<br>
And it starts it again.<br>
On the server side, the following log is produced :<br>
2017-06-19 16:11:27+0200 [Broker,9423,192.168.0.254] slave 'lrttestauto-test' attaching from IPv4Address(TCP, '192.168.0.254', 35524)<br>
2017-06-19 16:11:27+0200 [Broker,9423,192.168.0.254] Starting buildslave keepalive timer for 'lrttestauto-test'<br>
2017-06-19 16:11:27+0200 [Broker,9423,192.168.0.254] Peer will receive following PB traceback:<br>
2017-06-19 16:11:27+0200 [Broker,9423,192.168.0.254] Unhandled Error<br>
        Traceback (most recent call last):<br>
        Failure: twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.<br>
        ]<br>
<br>
I've checked that the login and password are correct and Buildbot version are the following :<br>
On the server-side (which is a Debian):<br>
Buildbot version: 0.8.8<br>
Twisted version: 12.3.0<br>
<br>
On the slave side (which is a Windows 10, buildslave installed via pip):<br>
Buildslave version: 0.8.14<br>
Twisted version: 17.5.0<br>
<br>
I've enclosed the slave log, the slave tac file and a tcpdump showing data transfer between slave and server (I've tried to debug it with Wireshark with no luck).<br>
<br>
What can I do to debug or to solve this issue ?<br>
<br>
Best regards,<br>
Colin Chargy<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div>