Near-infrared and optical studies of the highly obscured nova V1831 Aquilae (Nova Aquilae 2015)