zhanghai / zhanghai/MaterialFiles

SMB connects to different ip

Open
#1,320 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

In search results, the ip is beginning with 192. When connect and add it, I got "failed to connect to /172...". It seems MaterialFiles tries to connect to a differrent ip. The Hostname is filled with computer name by default. If I replace it with the ip that I see at first, I'm able to connect.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the SMB search and connection flow described in the issue, comparing the discovered 192.x IP with the 172.x address used after the hostname is filled. Done means connecting the discovered result uses the same IP or otherwise avoids switching to the different address.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.