Connection request over NBI slower than via GUI

Hello everyone,

I’m using Genieacs 1.2.13. What I have found out is that Connection Request call via NBI takes about 3 seconds longer than Connection Request call via UI. I’m not taking about collecting the data from the device. Only http get to the cpe. I have done some investigation and it’s seen that CNR via GUI connects and authorize in one single TCP session while via NBI it takes two TCP sessions to authorize.

This is an image showing CNR via UI. You can see it is all in one stream and it takes 0.1 seconds.

This is an image showing CNR via NBI. You can see it is in two streams and it takes 3.2 seconds.

I know that in version 1.2.5 this was not the case, because based on that version I did a proof of concept for my devices and it was working flawlessly.

My knowledge of Node.js is limited. I have checked the nbi.ts and ui/api.ts scripts but I have no idea what to change, to fix this issue. It seems that it hangs somewhere for 3 seconds and after that it adds the authentication headers to proceed.

Thanks!

BR,
Bayo

It seems that this is a problem only on one of two NBI servers. They are both configured the same, but it is not a general issue. You can disregard this thread.