rfpludwick / unifi-phantom-clients-cleanup

Application to clean up phantom clients in the UniFi Controller
Apache License 2.0
3 stars 3 forks source link

Getting an error. #1

Closed sminker81 closed 2 years ago

sminker81 commented 3 years ago

After running ./unifi i get the following error.

Error decoding UniFi login response: invalid character 'B' looking for beginning of value

rfpludwick commented 3 years ago

@sminker81 can you post the whole response HTTP payload, headers & body? Please make sure to remove any sensitive credentials, access tokens, etc.

Also, what version of the UniFi Controller are you running?

sminker81 commented 3 years ago

I got this working. I just recompiled with GO and made another config file with fresh files. It doesnt find anything though. Latest firmware in the controller. I think its something on my end. I used a python file also that completes successfully but doesnt find anything to delete either.

rfpludwick commented 3 years ago

Are there any phantom clients in your controller? If there's any traffic at all on a client, this script won't remove it, and it also won't remove a client if it has any custom name.

rfpludwick commented 2 years ago

Closing due to inactivity