Job Agent Not Connecting to Server
Hi everyone,
I'm experiencing a strange situation where I did a full install of Server from 8.0.1 to 8.1 (on a Windows machine) and reconnected the old PostgreSQL database to it. That worked fine and Server comes up when I run it from Windows Services.
The problem is when I download and try to install a new Job Agent and run it, it will not connect (see image).
Now, nothing's changed as far as I know OS wise so I'm scratching my head here. I've also attached my server log here. Please advise, thanks!
Best Answer
-
Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
@Thomas_Ott I had almost exactly the same problem when I did my own install of RapidMiner Server 8.0. It appears to be somehow related to mismatches between the internal configuration of the job agents vs the Server database that is carried over from a prior version. After working with RM tech support I was able to clear it up by dropping the tables jobservice_job, jobservice_job_error, ra_ent_jobsubmissionfailure, and jobservice_job_agent from the RapidMiner Server database schema, then reinstalling Server and letting those tables get recreated during setup db migration. Hopefully that clears up the problem for you. If not, I'd suggest a ticket into support as well.
2
Answers
@Telcontar120 thanks. I will try this after I back up the DB.
if that does not work, tag Edin. He's my go-to for all things Server here on the community.
Scott
@Telcontar120 thanks. I did a clean install and moved over my processes. Job Agent started right up.
That said, I hope this issue gets 'fixed' for future upgrades.
2019-02-21 15:56:55.104 ERROR 17696 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Binding to target AuthConfig(audience=rapidminer, issuer=rapidminer.com, tokenExpiration=3600000) failed:
Property: jobagent.auth.secret
Value: null
Reason: darf nicht null sein
Action:
Update your application's configuration
2019-02-21 15:59:48.860 ERROR 17795 --- [taskScheduler-2] c.r.e.jobagent.scheduled.JobAgentTasks : Could not send Job Agent status message: Exception while sending job agent status message
2019-02-21 15:59:53.782 WARN 17795 --- [tTaskExecutor-1] o.s.j.l.DefaultMessageListenerContainer : Setup of JMS message listener invoker failed for destination '__agentCommand' - trying to recover. Cause: Stopped.
2019-02-21 15:59:53.788 WARN 17795 --- [tTaskExecutor-2] o.s.j.l.DefaultMessageListenerContainer : Setup of JMS message listener invoker failed for destination '__agentCommand' - trying to recover. Cause: Stopped.
2019-02-21 15:59:53.789 ERROR 17795 --- [tTaskExecutor-1] o.s.j.l.DefaultMessageListenerContainer : Could not refresh JMS Connection for destination '__agentCommand' - retrying using FixedBackOff{interval=5000, currentAttempts=0, maxAttempts=unlimited}. Cause: User name [yahx-um8apowCE908tPbVzBu] or password is invalid.
2019-02-21 15:59:53.797 WARN 17795 --- [tTaskExecutor-3] o.s.j.l.DefaultMessageListenerContainer : Setup of JMS message listener invoker failed for destination '__agentCommand' - trying to recover. Cause: The JMS connection has failed: Force close due to SecurityException on connect
2019-02-21 15:59:53.799 ERROR 17795 --- [tTaskExecutor-2] o.s.j.l.DefaultMessageListenerContainer : Could not refresh JMS Connection for destination '__agentCommand' - retrying using FixedBackOff{interval=5000, currentAttempts=0, maxAttempts=unlimited}. Cause: User name [yahx-um8apowCE908tPbVzBu] or password is invalid.
2019-02-21 15:59:53.803 ERROR 17795 --- [tTaskExecutor-3] o.s.j.l.DefaultMessageListenerContainer : Could not refresh JMS Connection for destination '__agentCommand' - retrying using FixedBackOff{interval=5000, currentAttempts=0, maxAttempts=unlimited}. Cause: User name [yahx-um8apowCE908tPbVzBu] or password is invalid.
It says the username or password is invalid, but this is the auth key generated during installation, it should be ok.
The problem happened when migrating from 9.1 to 9.2.