Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socketexception: connection reset by peer (os error: connection reset by peer, errno = 104), address = xxxxx #2118

Closed
kjxbyz opened this issue Feb 20, 2024 · 1 comment

Comments

@kjxbyz
Copy link

kjxbyz commented Feb 20, 2024

Package

dio

Version

5.4.0

Operating-System

Android

Output of flutter doctor -v

[✓] Flutter (Channel stable, 3.16.9, on macOS 14.3.1 23D60 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.16.9 on channel stable at /Users/ying/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (4 周前), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/ying/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/ying/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 78.1.1
    • Dart plugin version 233.13763.5

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (3 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • macOS (desktop)              • macos         • darwin-x64     • macOS 14.3.1 23D60 darwin-x64
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 121.0.6167.184
    ! Error: Kimmy's iPhone is not available because it is unpaired. Pair with the device in the Xcode Devices Window,
      and respond to any pairing prompts on the device. (code -29)
    ! Error: Browsing on the local area network for Kimmy's Apple Watch. Ensure the device is unlocked and discoverable
      via Bluetooth. (code -27)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Dart Version

No response

Steps to Reproduce

It runs normally after running hot reload

Expected Result

It runs normally after running hot reload

Actual Result

An error is reported after hot reload, but hot restart is normal.

@kjxbyz kjxbyz added h: need triage This issue needs to be categorized s: bug Something isn't working labels Feb 20, 2024
@AlexV525
Copy link
Member

You didn't provide valuable information, unfortunately.

@kjxbyz kjxbyz closed this as completed Feb 22, 2024
@AlexV525 AlexV525 removed h: need triage This issue needs to be categorized s: bug Something isn't working labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants