Email Notification Missing

93 views
Skip to first unread message

Andrew Huston

unread,
Jan 24, 2024, 10:28:40 AMJan 24
to rundeck-discuss
Hello,

Now that I've got things up and running, I am noticing some odd behavior.   I'm unable to add email notifications to my jobs.  The screen comes up blank:

Screenshot 2024-01-24 at 10.24.09 AM.png
The notification type is blank when I go to add a notification.  It's almost like the email plugin isn't getting installed.  Anyone had this issue?

Thanks,
Andy

rac...@rundeck.com

unread,
Jan 24, 2024, 10:46:03 AMJan 24
to rundeck-discuss
Hi Andy,

Is your instance behind a proxy server? That's a common issue in that kind of environment, take a look at this similar issue.

Regards.

Andrew Huston

unread,
Jan 24, 2024, 10:53:37 AMJan 24
to rundeck-discuss
Hello,

Thanks for your help!  I really appreciate it!

It is running on a Windows server.  I have it setup as a standalone service with SSL, but don't believe I'm doing any proxying.  I will mention that I have an older Windows server setup with the same kind of configuration on an older version of Rundeck and things seem to be working.  Let me know if there is anything I can try to get this working.

Thanks,
Andy  

rac...@rundeck.com

unread,
Jan 24, 2024, 11:07:48 AMJan 24
to rundeck-discuss

Hey Andy,

Let’s try something:

  1. Take a look the service.log file, probably you can found a clue there.
  2. Try adding this config (add the server.useForwardHeaders=true line) on your rundeck-config.properties file, restart the service and check it out again.

Greetings!

Andrew Huston

unread,
Jan 24, 2024, 11:25:29 AMJan 24
to rundeck-discuss
Thanks,

I added the line to the runback-config.properties file, but it didn't make a difference.  I'm noticing that there isn't anything in the service.log file either.  I'm wondering if it's because I'm using a bat script to start the service.  I wasn't able to use the Apache Commons app like is in the instructions because I couldn't get it to start with SSL properly.  Is there a setting that I can add to make things log in the service.log file?

Thanks,
Andy

rac...@rundeck.com

unread,
Jan 24, 2024, 11:46:20 AMJan 24
to rundeck-discuss
I see,

You can get the service.log content on the standard output (terminal/powershell) at the moment of the launching rundeck. That's the real service.log content actually.

Regards.

Andrew Huston

unread,
Jan 24, 2024, 11:52:50 AMJan 24
to rundeck-discuss
I figured it out.  I added >> %CURDIR%\var\logs\service.log 2>&1 to the end of my command to launch Java.  I'm not seeing to much from the service.log file:

[2024-01-24T11:45:25,612] INFO  rundeckapp.Application [main] - The following 1 profile is active: "production"
[2024-01-24T11:46:03,217] INFO  liquibase.lockservice [main] - Successfully acquired change log lock
[2024-01-24T11:46:05,053] INFO  liquibase.change [main] - As of Liquibase 4.0, cannot set resource accessor on org.grails.plugins.databasemigration.liquibase.GroovyChange. Must add it to the Scope
[2024-01-24T11:46:06,584] INFO  liquibase.changelog [main] - Reading from rundeck.DATABASECHANGELOG
[2024-01-24T11:46:06,750] INFO  liquibase.servicelocator [main] - Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
[2024-01-24T11:46:06,782] INFO  liquibase.lockservice [main] - Successfully released change log lock
[2024-01-24T11:46:07,299] INFO  rundeckapp.BootStrap [main] - Starting Rundeck 5.0.1-20240115 (2024-01-15) ...
[2024-01-24T11:46:07,299] INFO  rundeckapp.BootStrap [main] - using rdeck.base config property: C:\rundeck
[2024-01-24T11:46:07,315] INFO  rundeckapp.BootStrap [main] - loaded configuration: C:\rundeck\etc\framework.properties
[2024-01-24T11:46:07,734] INFO  rundeckapp.BootStrap [main] - RSS feeds disabled
[2024-01-24T11:46:07,734] INFO  rundeckapp.BootStrap [main] - Using jaas authentication
[2024-01-24T11:46:07,734] INFO  rundeckapp.BootStrap [main] - Preauthentication is disabled
[2024-01-24T11:46:07,781] INFO  rundeckapp.BootStrap [main] - Rundeck is ACTIVE: executions can be run.
[2024-01-24T11:46:08,054] INFO  rundeckapp.BootStrap [main] - Rundeck startup finished in 926ms
[2024-01-24T11:46:08,063] INFO  rundeckapp.Application [main] - Started Application in 47.336 seconds (JVM running for 51.963)
Grails application running at https://tt-pshost01:4443 in environment: production
[2024-01-24T11:47:56,400] INFO  jaas.JettyCachingLdapLoginModule [qtp353289825-20] - Login attempts: 1, Hits: 0, Ratio: 0%.
[2024-01-24T11:47:56,401] DEBUG jaas.JettyCachingLdapLoginModule [qtp353289825-20] - Searching for users with filter: '(&(objectClass={0})({1}={2}))' from base dn: ou=People,ou=Kent,dc=Kent,dc=edu
[2024-01-24T11:47:56,405] DEBUG jaas.JettyCachingLdapLoginModule [qtp353289825-20] - Found user?: true
[2024-01-24T11:47:56,405] INFO  jaas.JettyCachingLdapLoginModule [qtp353289825-20] - Attempting authentication: CN=adhuston,OU=People,OU=Kent,DC=kent,DC=edu
[2024-01-24T11:47:56,445] WARN  jaas.JettyCachingLdapLoginModule [qtp353289825-20] - JettyCachingLdapLoginModule: User 'adhuston' has no role membership; role query configuration may be incorrect
[2024-01-24T11:47:56,744] DEBUG authentication.GrailsUsernamePasswordAuthenticationFilter [qtp353289825-20] - Set SecurityContextHolder to JaasAuthenticationToken [Principal=adhuston, Credentials=[PROTECTED], Authenticated=true, Details=WebAuthenticationDetails [RemoteIpAddress=10.244.10.67, SessionId=node0w1rnr9qmxgz01nwksaak5bs1m0], Granted Authorities=[]]

I'm wondering about the message that says I don't have a role assigned to me.  Could that be causing an issue?

Andy

rac...@rundeck.com

unread,
Jan 24, 2024, 12:07:48 PMJan 24
to rundeck-discuss

Alternatively, you can check the browser dev console. I’m still suspecting that the root cause is some HTTP config.

Also, check carefully your grails.ServerURL line on the rundeck-config.properties file. Checking your service.log output it seems different from the browser URL. Make sure to use the real exit URL (the URL used in your first capture).

Regards!

Andrew Huston

unread,
Jan 24, 2024, 1:43:07 PMJan 24
to rundeck-discuss
Thanks, I'll dig a little deeper.  Here is what I have in my sundeck-config.properties file for the grails server:

server.address=10.129.12.30
server.port=4443
grails.serverURL=http://tt-pshost01.kent.edu:4443
server.useForwardHeaders=true

I found a bunch or errors in the JavaScript Console:
Screenshot 2024-01-24 at 1.34.47 PM.png

Andrew Huston

unread,
Jan 24, 2024, 1:47:24 PMJan 24
to rundeck-discuss
I think I got it figured out.  Somehow I missed the S in https in the server url.  After updating the URL I believe things are working correctly.  I am pretty sure I had checked that previously, but must have missed it.

rac...@rundeck.com

unread,
Jan 24, 2024, 1:47:49 PMJan 24
to rundeck-discuss

Try changing the current server.address parameter to server.address=0.0.0.0 to be accessible from other machines.

rac...@rundeck.com

unread,
Jan 24, 2024, 1:52:31 PMJan 24
to rundeck-discuss
Glad to know that Andy! Cheers!
Reply all
Reply to author
Forward
0 new messages