Regarding the issue of reporting errors on certain CPE models

I’m experiencing errors when reporting to GenieACS on a Nokia G-1425-MA CPE. I’ve identified a problem in the “get” method in lib/config.ts. To address this issue, I made the following changes to accommodate multiple “-” characters in the ProductClass name.

huawei has the problem with HG8145X6-10. I am forced to double url encode the devid before doing a http query to port 7557, otherwise I get a blank response or an error.

There is no error with the parser, you need to encode your ACS ID properly. Please refer to the API documentation.

My ONU is a CMCC customized version, so this might be the problem.

The device’s cookie also doesn’t match. I captured the following packets using Wireshark:
Cookie: $Version=0;JSESSIONID=54D71757322803;$Path=“/”

The problem isn’t with querying the NBI interface; it’s with the ONU reporting an “information” request. If there are matching presets, the error “to_many_commits” is reported; if there aren’t, the error “invalid session” is reported. If an RPC is initiated to refresh parameters, the error “CPE already in session” is reported. After several days of investigation, I discovered that the ProductClass contains multiple “-” characters, causing the default parameter request to always return null.