ESP8266 And Arduino Uno unable to connect

I am having problems connecting to the blynk servers using an ESP8266 as a shield for arduino uno:

I am getting the following response in the serial monitor:

[19] Blynk v0.3.7 on Arduino Uno
[520] Connecting to AKs
[5671] IP: +CIFSR:STAIP,“192.168.0.57”
+CIFSR:STAMAC,“5c:cf:7f:81:9f:72”

OK
[5806] Connected to WiFi

Nothing happens afterwards and on my mobile application it says your arduino UNO is not in network!

Please help

Thanks in advance!

Code used:

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "***";


// Hardware Serial on Mega, Leonardo, Micro...
//#define EspSerial Serial1

// or Software Serial on Uno, Nano...
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX

// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600

ESP8266 wifi(&EspSerial);

void setup()
{
  // Set console baud rate
  Serial.begin(9600);
  delay(10);
  // Set ESP8266 baud rate
  EspSerial.begin(ESP8266_BAUD);
  delay(10);

  Blynk.begin(auth, wifi, "***", "***");
}

void loop()
{
  Blynk.run();
}

What AT firmware version is your ESP running?

Sir, this is the output while checking the firmware version-

AT+GMR

AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
OK

Please reply ASAP !

Thanks in advance!

If you read the example comments carefully, it is stated that it works with AT v 0.22