Pre-requisite

Update below webpa URL in /etc/partners_defaults.json, for community profile 

update webpa URL - http://webpa.rdkcentral.com:8080

"Device.X_RDK_WebPA_Server.URL" : "http://webpa.rdkcentral.com:8080",

we need to manually configure webPA url now, until the INFRA ticket is addressed.

Steps to validate

Restart tr69hostif or reboot the device once you made the above changes.

Restart parodus

sysetmctl restart parodus

Success Logs

Go to /opt/logs/parodus.log to see the logs

root@raspberrypi4-64-rdke:/opt/logs# ls -l parodus.log
-rw-rw-r--    1 root     root         13662 Dec 20 09:32 parodus.log

2024-12-05T11:21:38.296Z "parodus"[14903]:  241205-11:21:38.296193 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: webpa_backoff_max is 9
2024-12-05T11:21:38.296Z "parodus"[14903]:  241205-11:21:38.296228 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: cert_path is /etc/ssl/certs/ca-certificates.crt
2024-12-05T11:21:38.296Z "parodus"[14903]:  241205-11:21:38.296263 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: acquire jwt option is 1
2024-12-05T11:21:38.296Z "parodus"[14903]:  241205-11:21:38.296299 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: parodus dns-txt-url is webpa.rdkcentral.com
2024-12-05T11:21:38.297Z "parodus"[14903]:  241205-11:21:38.296395 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: 451 bytes read
2024-12-05T11:21:38.297Z "parodus"[14903]:  241205-11:21:38.296434 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: jwt_key is -----BEGIN PUBLIC KEY-----
2024-12-05T11:21:38.297Z "parodus"[14903]:  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkZeQUMqDkMu/dQgTcycJ
2024-12-05T11:21:38.297Z "parodus"[14903]:  /rrgqfKQkoYFTMO7GnK87/OWiftHmtDJYPgktlcHheOPfkGln5ay1WJSitmtWNaH
2024-12-05T11:21:38.297Z "parodus"[14903]:  +RvBFK/ZsXpIuGm7R6wdSc7e6g9fTaSAfNX/+a8VxHUo58AinXxcq4LnHbuaGjEz
2024-12-05T11:21:38.297Z "parodus"[14903]:  jw77TLuZGyUuHiany8O8tc+DbnYKvRquScsccI6z/QwZKFtXUjJZ91hJ97zC8o7N
2024-12-05T11:21:38.297Z "parodus"[14903]:  Ae7n/Jg+Bs0uz9c1/bf/Jqbu6OidFbCr2FN42UupuAZ8DiPp2fWD5Q9qmp1ADk+V
2024-12-05T11:21:38.297Z "parodus"[14903]:  +TeZPxTCq/WB4dzSCd5v/FvFmO8tH6Ptkltij4pke7Dsi80TVRlcMDXAWxSFXOQV
2024-12-05T11:21:38.297Z "parodus"[14903]:  qwIDAQAB
2024-12-05T11:21:38.297Z "parodus"[14903]:  -----END PUBLIC KEY-----
2024-12-05T11:21:38.297Z "parodus"[14903]:  241205-11:21:38.296494 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: jwt_algo is 1024
2024-12-05T11:21:38.297Z "parodus"[14903]:  241205-11:21:38.296535 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: record_jwt_file is /tmp/xmidt-jwt-payload.json
2024-12-05T11:21:38.297Z "parodus"[14903]:  241205-11:21:38.296571 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: crud_config_file is /opt/parodus_cfg.json
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.296605 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: hw_manufacturer is RaspberryPi
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.296639 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: fw_name is lib32-middleware-test-image-RPI4-20241205084445
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.296673 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: hw-model is RPI4
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.296709 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: hw_serial_number is 100000001ab96f17
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.296744 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: boot_time is 1733395663
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.296778 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: hw_last_reboot_reason is HARD_POWER
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.296813 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: client_cert_path is
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.296848 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: token_server_url is
2024-12-05T11:21:38.298Z "parodus"[14903]:  241205-11:21:38.298823 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: Received reboot_reason as:HARD_POWER
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.298883 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: Received reconnect_reason as:webpa_process_starts
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.298926 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: User-Agent: PARODUS-2.0-2.0.0-109-g7a3ebc6 (lib32-middleware-test-image-RPI4-20241205084445; RPI4/RaspberryPi;)
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299013 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: X-WebPA-Convey Header: [312]{"hw-model":"RPI4","hw-serial-number":"100000001ab96f17","hw-manufacturer":"RaspberryPi","fw-name
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299120 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: Device_id mac:d83add0aaa30
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299158 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: full url: http://webpa.rdkcentral.com:8080
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299191 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: server address copied from url
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299233 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: server webpa.rdkcentral.com, port 8080, http_match 1
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299267 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: default server_Address webpa.rdkcentral.com
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299300 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: default port 8080
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299356 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: dns_txt_record_id d83add0aaa30.webpa.rdkcentral.com
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299404 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: nsbuf (1) 0x1287af0
2024-12-05T11:21:38.299Z "parodus"[14903]:  241205-11:21:38.299561 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: nquery: domain : d83add0aaa30.webpa.rdkcentral.com
2024-12-05T11:21:38.303Z "parodus"[14903]:  241205-11:21:38.303765 [mod=PARODUS, lvl=ERROR] [tid=14909] PARODUS: Error in res_nquery: No address associated with name
2024-12-05T11:21:38.303Z "parodus"[14903]:  241205-11:21:38.303821 [mod=PARODUS, lvl=ERROR] [tid=14909] PARODUS: nquery returns error: l value is -1
2024-12-05T11:21:38.304Z "parodus"[14903]:  241205-11:21:38.303858 [mod=PARODUS, lvl=ERROR] [tid=14909] PARODUS: Failed in DNS query
2024-12-05T11:21:38.307Z "parodus"[14903]:  241205-11:21:38.306810 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: ../../git/src/nopoll_conn.c:336 IPv4 address of webpa.rdkcentral.com is 52.88.248.43
2024-12-05T11:21:38.307Z "parodus"[14903]:
2024-12-05T11:21:38.307Z "parodus"[14903]:  241205-11:21:38.306984 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: ../../git/src/nopoll_conn.c:382 Create socket with non blocking-mode
2024-12-05T11:21:38.564Z "parodus"[14903]:  241205-11:21:38.563771 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: ../../git/src/nopoll_conn.c:263 Result of wait after connect EINPROGRESS = 0
2024-12-05T11:21:38.564Z "parodus"[14903]:
2024-12-05T11:21:38.825Z "parodus"[14903]:  241205-11:21:38.825398 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: ../../git/src/nopoll_conn.c:5397 *****End nopoll_conn_wait_for_status_until_connection_ready ****
2024-12-05T11:21:38.825Z "parodus"[14903]:  241205-11:21:38.825469 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: Connected to server
2024-12-05T11:21:38.825Z "parodus"[14903]:  241205-11:21:38.825526 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: connect_time-diff-boot_time=2035
2024-12-05T11:21:38.826Z "parodus"[14903]:  241205-11:21:38.825722 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: cloud_status set as online after successful connection
2024-12-05T11:21:38.826Z "parodus"[14903]:  241205-11:21:38.825760 [mod=PARODUS, lvl=INFO] [tid=14913] PARODUS: Received cloud status signal proceed to event processing
2024-12-05T11:21:38.827Z "parodus"[14903]:  241205-11:21:38.827338 [mod=PARODUS, lvl=INFO] [tid=14922] PARODUS: No clients are registered, waiting ..
2024-12-05T11:21:38.827Z "parodus"[14903]:  241205-11:21:38.827371 [mod=PARODUS, lvl=INFO] [tid=14909] PARODUS: libseshat disabled, Hence proceeding without registration
2024-12-05T11:21:38.827Z "parodus"[14903]:  241205-11:21:38.827478 [mod=PARODUS, lvl=INFO] [tid=14918] PARODUS: nanomsg server gone into the listening mode...
2024-12-05T11:21:39.526Z "parodus"[14903]:  241205-11:21:39.524831 [mod=PARODUS, lvl=INFO] [tid=14918] PARODUS: Upstream message received from nanomsg client
2024-12-05T11:21:39.526Z "parodus"[14903]:  241205-11:21:39.525052 [mod=PARODUS, lvl=INFO] [tid=14919] PARODUS:
2024-12-05T11:21:39.526Z "parodus"[14903]:   Nanomsg client Registration for Upstream
2024-12-05T11:21:39.526Z "parodus"[14903]:  241205-11:21:39.526034 [mod=PARODUS, lvl=INFO] [tid=14919] PARODUS: Adding first client to list
2024-12-05T11:21:39.526Z "parodus"[14903]:  241205-11:21:39.526087 [mod=PARODUS, lvl=INFO] [tid=14919] PARODUS: client service config is added to list with url: tcp://127.0.0.1:6667
2024-12-05T11:21:39.526Z "parodus"[14903]:  241205-11:21:39.526124 [mod=PARODUS, lvl=INFO] [tid=14919] PARODUS: sending auth status to reg client
2024-12-05T11:21:39.526Z "parodus"[14903]:  241205-11:21:39.526181 [mod=PARODUS, lvl=INFO] [tid=14919] PARODUS: Client config Registered successfully. Sending Acknowledgement...
2024-12-05T11:21:39.526Z "parodus"[14903]:   241205-11:21:39.526267 [mod=PARODUS, lvl=INFO] [tid=14919] PARODUS: Sending ack:new_node->sock 1 service:config

Example for Get parameter


curl -H 'Authorization:Basic d3B1c2VyOndlYnBhQDEyMzQ1Njc4OTAK' -i 'http://webpa.rdkcentral.com:9003/api/v2/device/mac:D83ADD0AAA30/config?names=Device.DeviceInfo.ModelName'
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Scytale-Build: 0.1.4-1
X-Scytale-Flavor: mint
X-Scytale-Region: east
X-Scytale-Server: 54.148.37.189
X-Scytale-Start-Time: 29 Jul 24 09:14 UTC
X-Talaria-Build: 0.1.3-1
X-Talaria-Flavor: mint
X-Talaria-Region: east
X-Talaria-Server: 54.148.37.189
X-Talaria-Start-Time: 29 Jul 24 09:14 UTC
X-Tr1d1um-Build: 0.1.2-1
X-Tr1d1um-Flavor: mint
X-Tr1d1um-Region: east
X-Tr1d1um-Server: 54.148.37.189
X-Tr1d1um-Start-Time: 29 Jul 24 09:14 UTC
X-Webpa-Transaction-Id: us4_Rr2GgmembUXAfFs7Vg
X-Xmidt-Span: "http://localhost:8080/api/v2/device/send","2025-02-07T08:35:24Z","291.653885ms"
Date: Fri, 07 Feb 2025 08:35:24 GMT
Content-Length: 143

{"parameters":[{"name":"Device.DeviceInfo.ModelName","value":"RDKERPi4","dataType":0,"parameterCount":1,"message":"Success"}],"statusCode":200}


Open issues