The error message appears if line vty is configured with transport input ssh.
When line vty is configured with transport input ssh, then HTTP access is restricted. This is a known issue in Cisco IOS Software Release 12.2.
As a workaround, enable transport input all as this example shows:
Hostname(config)#line vty <0 15>
Hostname(config-Line)#transport input all
As an alternative to this workaround, you can also upgade to Cisco IOS Software Release 12.3 or later in order to resolve this issue.
Go to the Software Center in order to download Cisco IOS Software Release 12.3 and later.
The same error is coming for Cisco 2950 switch with ios c2950-i6k2l2q4-mz.121-22.EA13.tar
As after enabling ssh, http is not working.
could u please confirm that ssh & http wont work together.