Amcrest camera issues

I’ve problem connecting Amcrest IP3M-956W to HA.
I’m running HA ver 0.62.1 on raspberry-Pi within virtual environment.
I’ve few more IP cameras among also Amcrest IP2M-844E(works ok).
I’ve set the newer one in a similar way
amcrest:

  • host: IP_ADDRESS
    username: USERNAME
    password: PASSWORD

I get the following error ending with the line :
‘requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://10.0.0.153:9000/cgi-bin/magicBox.cgi?action=getMachineName

The interesting point is when running within development environment 0.62 dev 0 (Ubuntu machine) it works fine.

Appreciate your advice.

Try the generic camera. It’s working with my IP2M-841.

camera:
  platform: generic
  still_image_url: 'http://< IP ADDRESS>/cgi-bin/snapshot.cgi'  
  username: <USERNAME>
  password: <PASSWORD>
  authentication: digest

I have same issue. It seems to work for hassio but not for hassbian. Anyone has solution?