Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

windows - Connection terminated during handshake flutter

It's really frustrating, wasted 3 days to get rid of but still on stuck problem showing on macos catalina version 10.15.1 and windows 7 also. My two PC's showing same error. First when i tried to 'get packages'

it's showing this '/Users/mamun/Developer/flutter/bin/flutter --no-color packages get Waiting for another flutter command to release the startup lock...'

after few moments it's showing..

'/Users/mamun/Developer/flutter/bin/flutter --no-color packages get Running "flutter pub get" in flutterx...
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...,

tried this Waiting for another flutter command to release the startup lock

& https://github.com/dart-lang/pub/issues/1729 also.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This is a country-specific problem. In some countries, you got this error like Bangladesh and some African countries. I got a solution to this problem, that is use VPN software when you want to get Packages. VPN software uses other country's IP addresses where this google service works perfectly, So you can easily download packages.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...