Flutter Connection reset by peer pub finished with exit code 69

7 min read

This error message usually indicates a network connectivity issue. It could be caused by various factors, such as network congestion, server overload, firewall issues, or network disruption.

To resolve the issue, you can try the following solutions:

  1. Check your internet connection: Make sure that your device is connected to a stable and reliable network. You can also try resetting your router or modem.

  2. Disable your firewall: Sometimes, your firewall can block certain connections and cause connection issues. Try disabling your firewall temporarily to see if that resolves the problem.

  3. Restart your device: Restarting your device can help clear any temporary glitches that may be causing the connection issue.

  4. Check your Flutter version and dependencies: Make sure that you are using the latest version of Flutter and that all your dependencies are up-to-date.

  5. Test on a different device: Try running your app on a different device or emulator to see if the issue persists.

If none of these solutions work, you may need to seek further assistance or contact Flutter support for further troubleshooting.