I turned off onvif on the camera (still it does not work as it should) and things immediately changed to online.
And the picture also appeared