Why the Event Manager is trying to connect to the wrong port and schema of Portal host
search cancel

Why the Event Manager is trying to connect to the wrong port and schema of Portal host

book

Article ID: 279703

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

The following error was found the EMService.log file:

In the /CA/PerformanceCenter/EM/logs/EMService.log file:

ERROR | pool-6-thread-6          | 2024-02-09 15:49:12,729 | com.ca.im.portal.em.inv.NPCInventoryPoller                       
      | Exception during poll.
javax.xml.ws.WebServiceException: Could not send Message.

Caused by: java.net.ConnectException: ConnectException invoking https://<Portal_FQHN>:8182/dm/inventory2: Connection refused (Connection refused)

Environment

DX NetOps Performance Management

Cause

Wrong port and schema configured in SsoConfig

In the following snip there is still the wrong information (8182/https):

curl -u admin -v -s -k -X GET http://<Data_Aggregator_IP>:8581/rest/dataaggregator

<NpcWebServicePort>8182</NpcWebServicePort>
<NpcWebServiceScheme>https</NpcWebServiceScheme>

 

In the following snip there is the wrong information (8182/https):

mysql> select * from netqosportal.performance_center_properties;

| NpcWebServicePort                       |        0 | 8481
| NpcWebServicePort                       |        1 | 8182 
| NpcWebServicePort                       |        2 | 8481
| NpcWebServiceScheme                     |        0 | http 
| NpcWebServiceScheme                     |        1 | https
| NpcWebServiceScheme                     |        2 | http   

Resolution

Use SsoConfig to set Web Service Port for remote value to 8481, and Web Service Scheme for remote value to http.

a) Launch SsoConfig

/opt/CA/PerformanceCenter/SsoConfig

SSO Configuration:
1. DX NetOps
Choose an option > 1

b) Select 1 (DX NetOps)

SSO Configuration/DX NetOps:

  1. LDAP Authentication
  2. SAML2 Authentication
  3. Performance Center
  4. Single Sign-On
  5. Test LDAP
  6. Export SAML2 Service Provider Metadata
  7. Enable FIPS
  8. Performance Center Local Password Authentication
  9. Enable or Disable a user account.

Choose an option > 3

c) Select 3 (Performance Center)

SSO Configuration/DX NetOps/Performance Center:
Web Service Scheme: http
Web Service Host: <Portal_FQHN>
Web Service Port: 8481
Web Service Inventory (Version 1): /dm/inventory
Web Service Data Source Admin: /dm/ds
Web Site Scheme: http
Web Site Host: <Portal_FQHN>
Web Site Port: 8181
Web Site Path: /pc/desktop/page
SMTP Enabled: Enabled
SMTP Server Address: 
SMTP Ports: 25
SMTP SSL: Disabled
Email Reply Address: 
Email Format: HTML
Enable Emailing Scheduled Reports: Enabled
Enable Archived Scheduled Reports: Disabled
SMTP Username: 
SMTP Password: 
Web Service Inventory (Version 2): /dm/inventory2
SMTP Authentication: Disabled
Use base tags control relative URLs: Enabled
Users may have multiple concurrent sessions: Disabled
Custom HTTP headers to be added to our responses: Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; base-uri 'self'; font-src 'self'; frame-src *|X-Content-Type-Options: nosniff|X-XSS-Protection: 1; mode=block|Referrer-Policy: strict-origin|Feature-Policy: 'none'|Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
SameSite attribute on a cookie: Lax

  1. Remote Value
  2. Local Override

Choose an option > 1

d) Select 1 (Remote Value)

SSO Configuration/DX NetOps/Performance Center/Remote Value:

  1. Web Service Scheme: 
  2. Web Service Host:
  3. Web Service Port: 
  4. Web Service Inventory (Version 1):
  5. Web Service Data Source Admin:
  6. Web Site Scheme: 
  7. Web Site Host:
  8. Web Site Port: 
  9. Web Site Path:
  10. SMTP Enabled:
  11. SMTP Server Address:
  12. SMTP Ports:
  13. SMTP SSL:
  14. Email Reply Address:
  15. Email Format:
  16. Enable Emailing Scheduled Reports:
  17. Enable Archived Scheduled Reports:
  18. SMTP Username:
  19. SMTP Password:
  20. Web Service Inventory (Version 2):
  21. SMTP Authentication:
  22. Use base tags control relative URLs:
  23. Users may have multiple concurrent sessions: Enabled
  24. Custom HTTP headers to be added to our responses:
  25. SameSite attribute on a cookie:

Select a Property >