It seems like you are not using the default inform script. The connection request username and password are set by the inform script.
You can comment off this in your script.
Click on Provisions.
You should see three scripts there: bootstrap, default and inform.
This is de code of inform
// Device ID as user name
const username = declare(âDeviceID.IDâ, {value: 1}).value[0]
// Password will be fixed for a given device because Math.random() is seeded with device ID by default.
const password = Math.trunc(Math.random() * Number.MAX_SAFE_INTEGER).toString(36);
const informInterval = 300;
// Refresh values daily
const daily = Date.now(86400000);
// Unique inform offset per device for better load distribution
const informTime = daily % 86400000;
declare(âInternetGatewayDevice.ManagementServer.ConnectionRequestUsernameâ, {value: daily}, {value: username});
declare(âInternetGatewayDevice.ManagementServer.ConnectionRequestPasswordâ, {value: daily}, {value: password});
declare(âInternetGatewayDevice.ManagementServer.PeriodicInformEnableâ, {value: daily}, {value: true});
declare(âInternetGatewayDevice.ManagementServer.PeriodicInformIntervalâ, {value: daily}, {value: informInterval});
declare(âInternetGatewayDevice.ManagementServer.PeriodicInformTimeâ, {value: daily}, {value: informTime});
declare(âDevice.ManagementServer.ConnectionRequestUsernameâ, {value: daily}, {value: username});
declare(âDevice.ManagementServer.ConnectionRequestPasswordâ, {value: daily}, {value: password});
declare(âDevice.ManagementServer.PeriodicInformEnableâ, {value: daily}, {value: true});
declare(âDevice.ManagementServer.PeriodicInformIntervalâ, {value: daily}, {value: informInterval});
declare(âDevice.ManagementServer.PeriodicInformTimeâ, {value: daily}, {value: informTime});
You can comment off the PeriodicInformTime statement in the Inform script to prevent the error above.
Delete the device again and reboot the device.
Allow it to register again.
Then check to see if the connection request username and password gets changed.
Two things:
-
comment this line:
//declare(âInternetGatewayDevice.ManagementServer.PeriodicInformTimeâ, {value: daily}, {value: informTime});
Delete the device and reboot it. -
Does all of those âIncorrect connection request credentialsâ pop up on their own?
I delete the ont in the ACS and restart ont
It doesnât work, the same connection error with the ont
- No, it only appears once, itâs just me with a lot of anger clicking on summon (Initiate session and refresh basic parameters) a lot
Something is still wrong as the InformTime fault should not be present if you commented off the declare statement.
Did you add anything else in Admin>Config?
Do you have any faults in the Faults tab?
Nothing
These are the lines of code I have
ui.device.0.type | âtagsâ |
---|---|
ui.device.1.type | âpingâ |
ui.device.2.parameters.0.components.0.type | âparameterâ |
ui.device.2.parameters.0.components.1.chart | âonlineâ |
ui.device.2.parameters.0.components.1.type | âoverview-dotâ |
ui.device.2.parameters.0.components.2.parameters.0 | InternetGatewayDevice.DeviceInfo.HardwareVersion |
ui.device.2.parameters.0.components.2.parameters.1 | InternetGatewayDevice.DeviceInfo.SoftwareVersion |
ui.device.2.parameters.0.components.2.parameters.2 | InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.MACAddress |
ui.device.2.parameters.0.components.2.parameters.3 | InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.ExternalIPAddress |
ui.device.2.parameters.0.components.2.parameters.4 | InternetGatewayDevice.LANDevice..WLANConfiguration..SSID |
ui.device.2.parameters.0.components.2.parameters.5 | InternetGatewayDevice.LANDevice..WLANConfiguration..KeyPassphrase |
ui.device.2.parameters.0.components.2.parameters.6 | InternetGatewayDevice.LANDevice..Hosts.Host..HostName |
ui.device.2.parameters.0.components.2.parameters.7 | InternetGatewayDevice.LANDevice..Hosts.Host..IPAddress |
ui.device.2.parameters.0.components.2.parameters.8 | InternetGatewayDevice.LANDevice..Hosts.Host..MACAddress |
ui.device.2.parameters.0.components.2.type | âsummon-buttonâ |
ui.device.2.parameters.0.element | âspan.informâ |
ui.device.2.parameters.0.label | âLast informâ |
ui.device.2.parameters.0.parameter | DATE_STRING(Events.Inform) |
ui.device.2.parameters.0.type | âcontainerâ |
ui.device.2.parameters.1.label | âSerial numberâ |
ui.device.2.parameters.1.parameter | DeviceID.SerialNumber |
ui.device.2.parameters.10.label | âWLAN passphraseâ |
ui.device.2.parameters.10.parameter | InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.KeyPassphrase |
ui.device.2.parameters.2.label | âProduct classâ |
ui.device.2.parameters.2.parameter | DeviceID.ProductClass |
ui.device.2.parameters.3.label | âOUIâ |
ui.device.2.parameters.3.parameter | DeviceID.OUI |
ui.device.2.parameters.4.label | âManufacturerâ |
ui.device.2.parameters.4.parameter | DeviceID.Manufacturer |
ui.device.2.parameters.5.label | âHardware versionâ |
ui.device.2.parameters.5.parameter | InternetGatewayDevice.DeviceInfo.HardwareVersion |
ui.device.2.parameters.6.label | âSoftware versionâ |
ui.device.2.parameters.6.parameter | InternetGatewayDevice.DeviceInfo.SoftwareVersion |
ui.device.2.parameters.7.label | âMACâ |
ui.device.2.parameters.7.parameter | InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.MACAddress |
ui.device.2.parameters.8.label | âIPâ |
ui.device.2.parameters.8.parameter | InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress |
ui.device.2.parameters.9.label | âWLAN SSIDâ |
ui.device.2.parameters.9.parameter | InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID |
ui.device.2.type | âparameter-listâ |
ui.device.3.childParameters.0.label | âHost nameâ |
ui.device.3.childParameters.0.parameter | HostName |
ui.device.3.childParameters.1.label | âIP addressâ |
ui.device.3.childParameters.1.parameter | IPAddress |
ui.device.3.childParameters.2.label | âMAC addressâ |
ui.device.3.childParameters.2.parameter | MACAddress |
ui.device.3.label | âLAN hostsâ |
ui.device.3.parameter | InternetGatewayDevice.LANDevice.1.Hosts.Host |
ui.device.3.type | âparameter-tableâ |
ui.device.4.components.0.components.0 | âFaultsâ |
ui.device.4.components.0.element | âh3â |
ui.device.4.components.0.type | âcontainerâ |
ui.device.4.components.1.type | âdevice-faultsâ |
ui.device.4.element | âdivâ |
ui.device.4.type | âcontainerâ |
ui.device.5.components.0.components.0 | âAll parametersâ |
ui.device.5.components.0.element | âh3â |
ui.device.5.components.0.type | âcontainerâ |
ui.device.5.components.1.type | âall-parametersâ |
ui.device.5.element | âdiv.container-full-widthâ |
ui.device.5.type | âcontainerâ |
ui.device.6.type | âdevice-actionsâ |
ui.filters.0.label | âSerial numberâ |
ui.filters.0.parameter | DeviceID.SerialNumber |
ui.filters.0.type | âstringâ |
ui.filters.1.label | âProduct classâ |
ui.filters.1.parameter | DeviceID.ProductClass |
ui.filters.1.type | âstringâ |
ui.filters.2.label | âTagâ |
ui.filters.2.type | âtagâ |
ui.index.0.components.0.type | âparameterâ |
ui.index.0.label | âSerial numberâ |
ui.index.0.parameter | DeviceID.SerialNumber |
ui.index.0.type | âdevice-linkâ |
ui.index.1.label | âProduct classâ |
ui.index.1.parameter | DeviceID.ProductClass |
ui.index.2.label | âSoftware versionâ |
ui.index.2.parameter | InternetGatewayDevice.DeviceInfo.SoftwareVersion |
ui.index.3.label | âIPâ |
ui.index.3.parameter | InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress |
ui.index.4.label | âSSIDâ |
ui.index.4.parameter | InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID |
ui.index.5.label | âSSID2â |
ui.index.5.parameter | InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.SSID |
ui.index.6.components.0.type | âparameterâ |
ui.index.6.components.1.chart | âonlineâ |
ui.index.6.components.1.type | âoverview-dotâ |
ui.index.6.element | âspan.informâ |
ui.index.6.label | âLast informâ |
ui.index.6.parameter | DATE_STRING(Events.Inform) |
ui.index.6.type | âcontainerâ |
ui.index.7.label | âTagsâ |
ui.index.7.parameter | Tags |
ui.index.7.type | âtagsâ |
ui.index.7.unsortable | true |
ui.index.7.writable | false |
ui.overview.charts.online.label | âOnline statusâ |
ui.overview.charts.online.slices.1_onlineNow.color | â#31a354â |
ui.overview.charts.online.slices.1_onlineNow.filter | Events.Inform > NOW() - 5 * 60 * 1000 |
ui.overview.charts.online.slices.1_onlineNow.label | âOnline nowâ |
ui.overview.charts.online.slices.2_past24.color | â#a1d99bâ |
ui.overview.charts.online.slices.2_past24.filter | Events.Inform > (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000) AND Events.Inform < (NOW() - 5 * 60 * 1000) |
ui.overview.charts.online.slices.2_past24.label | âPast 24 hoursâ |
ui.overview.charts.online.slices.3_others.color | â#e5f5e0â |
ui.overview.charts.online.slices.3_others.filter | Events.Inform < (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000) |
ui.overview.charts.online.slices.3_others.label | âOthersâ |
ui.overview.groups.online.charts.0 | âonlineâ |
ui.overview.groups.online.label | ââ |
Itâs safe to delete those faults as theyâre related to the InformTime action that you commented off.
Do any of the other devices have the same Connection Request error?
2 ONTs for now, both ZTE.
Im going to probe with C-Data and Huawei
As you can see, in the ZTE, the parameters of:
- InternetGatewayDevice.ManagementServer.URL
- InternetGatewayDevice.ManagementServer.Username
- InternetGatewayDevice.ManagementServer.Password
It is not reading them from the ONT, therefore, the ONT can communicate with the ACS but the ACS does not know how to reach it to make changes
The ACS uses the ConnectionRequestUsername, ConnectionRequestPassword and ConnectionRequestURL to communicate with the device.
When you click summon, those are used, not the ManagementServerURL.
It also shows that your ACS is not changing the ConnectionRequestUsername and ConnectionRequestPassword. Either your device is blocking it or one of your scripts are incorrect.
That is correct, the ACS uses the data sent by the ONT in the first connection with the ACS server, where it sends the 3 parameters necessary for the connection, to itself (ONT).
- InternetGatewayDevice.ManagementServer.ConnectionRequestPassword
- InternetGatewayDevice.ManagementServer.ConnectionRequestURL
- InternetGatewayDevice.ManagementServer.ConnectionRequestUsername
For the connection to work, on the ONT I had to delete the Connection Request Password
Ok. Progress.
What fault is that shown in the screenshot?