I had issues w/ my 19.4.0 agents having their
/var/lib/go-agent/config/token file deleted so it wouldn't connect back to
the server.  I had to remove the guid.txt file and re-accept/enable the
agent on the server (getting a new guid) and then had to update all my
environments to use the new agent guids.

I initially thought it was when upgrading the go-agent from 19.4.0 to
19.8.0, but even rebooting an existing 19.4.0 agent after the server
upgrade would cause the issue.  I was not able to get a 19.4.0 back to that
state where it would happen though since I had already upgraded the
server.

Something to check at least.

On Tue, Sep 24, 2019 at 3:09 PM Ankit Srivastava <[email protected]>
wrote:

> Hi Michael,
>
> Do you see any error in the GoCD agent logs? Can you check below log files:
>
> go-agent-bootstrapper-wrapper.log go-agent-bootstrapper.log
> go-agent-launcher.log             go-agent-stderr.log
> go-agent-stdout.log               go-agent.log
>
> On Tue, Sep 24, 2019 at 12:00 PM Michael Trafficante <[email protected]>
> wrote:
>
>> Upgrading and reinstalling existing agents has not resolved the issue.
>> Seeing this in the go-server.log:
>>
>> 2019-09-24 01:19:03,104 WARN  [qtp1995616381-48] HttpChannel:590 -
>> /go/admin/latest-agent.status
>> javax.servlet.ServletException:
>> org.springframework.web.util.NestedServletException: Request processing
>> failed; nested exception is java.lang.NullPointerException
>>         at
>> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
>>         at
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>>         at org.eclipse.jetty.server.Server.handle(Server.java:502)
>>         at
>> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
>>         at
>> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
>>         at
>> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
>>         at
>> org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
>>         at
>> org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:411)
>>         at
>> org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:305)
>>         at
>> org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
>>         at
>> org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
>>         at
>> org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
>>         at
>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
>>         at
>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
>>         at
>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
>>         at
>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
>>         at
>> org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
>>         at java.lang.Thread.run(Thread.java:748)
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "go-cd" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/go-cd/064ab94f-e5b1-446e-b09b-ab0fe3edb498%40googlegroups.com
>> <https://groups.google.com/d/msgid/go-cd/064ab94f-e5b1-446e-b09b-ab0fe3edb498%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Regards,
> Ankit
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/CAFC4iTXgYbHhEW5GK8yUOJQ00wUF7doEDadzbXGx0U_Ck-ugJA%40mail.gmail.com
> <https://groups.google.com/d/msgid/go-cd/CAFC4iTXgYbHhEW5GK8yUOJQ00wUF7doEDadzbXGx0U_Ck-ugJA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAPJK9%3DLQPaRgedv%3Dsy4pKuiN1YFHEyNqOPjWxJ0JbmFpp2kgsA%40mail.gmail.com.

Reply via email to