FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Debugging Filestash 'Invalid Account': How Response Time Led Me to a Swapped Config Field
How-ToTools

Debugging Filestash 'Invalid Account': How Response Time Led Me to a Swapped Config Field

via Dev.toJohnson3h ago

The Problem Filestash's passthrough auth returns "Invalid account" on login. The backend is configured to forward credentials to the local SSH server (OpenSSH on the same machine). SSH works fine when tested directly. Password auth is enabled. SYST INFO [auth] status=failed user=myuser backend=sftp err=Invalid+account HTTP 307 POST 4.7ms /api/session/auth/?label=sftp Environment: Filestash running in Docker (bridge network 172.20.0.0/16 ) SSH server on host: 192.168.1.x:22 , listening on 0.0.0.0:22 UFW active on host identity_provider.type = passthrough , attribute_mapping.related_backend = sftp Diagnostic Step 1: Read the Response Time Before touching config, the response time is the first clue. Time What it means < 5ms Pre-connection failure — params missing/invalid, DNS failure ~5–50ms TCP connection refused (immediate RST) 100–500ms SSH handshake + auth failure (wrong password) 3000ms+ TCP timeout (UFW DROP, no route) 4.7ms → we never attempted a TCP connection. The error is thrown

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

Building DNS query tool from scratch using C
How-To

Building DNS query tool from scratch using C

Reddit Programming • 1d ago

How to build .NET obfuscator - Part I
How-To

How to build .NET obfuscator - Part I

Reddit Programming • 1d ago

How to Use Traceroute and MTR to Diagnose Network Issues
How-To

How to Use Traceroute and MTR to Diagnose Network Issues

DigitalOcean Tutorials • 1w ago

apt-key Deprecation: Add Repositories with GPG on Ubuntu
How-To

apt-key Deprecation: Add Repositories with GPG on Ubuntu

DigitalOcean Tutorials • 1w ago

How To Use Variadic Functions in Go
How-To

How To Use Variadic Functions in Go

DigitalOcean Tutorials • 2w ago

Discover More Articles