Enayet Hossain
Enayet Hossain

Reputation: 317

Flutter Connection terminated during handshake

I have been developing Flutter application with Android studio. but all of a sudden I am stuck with a strange issue which i cant solve . I cant run the application in anyway. it just shows:

Running "flutter pub get" in my_payment...                      
   Connection terminated during handshake

   pub get failed (server unavailable) -- attempting retry 1 in 1 second...

   Connection terminated during handshake

   pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...

I tried to restart my android studio/pc and the router as well but with no luck. My flutter doctor reports are all ok can anybody please help me to sort it out?

Upvotes: 2

Views: 5863

Answers (1)

Kerim Amanov
Kerim Amanov

Reputation: 242

Your company/ISP/country blocking pub.dev
Use VPN VPN - lets you to visit pub.dev with other coutry's IP.

Upvotes: 2

Related Questions