satisfactorymodding / satisfactorymodding/ficsit-cli

Avoid confusion in error message when remote server cannot be reached

Open
#56 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
69
Forks
11
PR merge metrics
No merged PRs in 30d

Description

What happened?

When connecting to the remote (e.g. FTP) server fails, the error message confusingly mentions failed reading FactoryGame.exe before failed to dial host since reading the file is the first operation that ficsit-cli performs on the remote:

image

Context:
https://discord.com/channels/555424930502541343/555782140533407764/1194108885267656715
https://discord.com/channels/555424930502541343/555782140533407764/1194198329865801790

Version

No idea, latest at the time of writing?

What OS are you seeing the problem on?

Linux

What architecture are you seeing the problem on?

None

Relevant log output

No response

Any extra info:

No response

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 a failed connection to a remote server on Linux and trace the initial remote operations that produce the error message. Done means an unreachable server reports the connection failure clearly instead of first presenting a misleading failure to read FactoryGame.exe.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.