-
Notifications
You must be signed in to change notification settings - Fork 147
Description
I can't figure out what I'm doing wrong. I can't launch the container correctly.
Errors in logs:
2026-01-23 20:14:00.302 | info: Updating Game Files...
2026-01-23 20:14:00.326 | info: Logging in vladimir_selivanov291
2026-01-23 20:14:00.326 | debug: vladimir_selivanov291 Generating TOTP Code from shared_secret
2026-01-23 20:14:00.326 | debug: vladimir_selivanov291 About to connect
2026-01-23 20:14:00.327 | debug: vladimir_selivanov851 Generating TOTP Code from shared_secret
2026-01-23 20:14:00.327 | info: Logging in vladimir_selivanov851
2026-01-23 20:14:00.327 | debug: vladimir_selivanov851 About to connect
2026-01-23 20:14:00.378 | info: Listening for HTTP on port: 80
2026-01-23 20:14:00.391 | /usr/src/csgofloat/node_modules/pg-pool/index.js:45
2026-01-23 20:14:00.391 | Error.captureStackTrace(err);
2026-01-23 20:14:00.391 | ^
2026-01-23 20:14:00.391 |
2026-01-23 20:14:00.391 | Error: connect ECONNREFUSED 127.0.0.1:5432
2026-01-23 20:14:00.391 | at /usr/src/csgofloat/node_modules/pg-pool/index.js:45:11
2026-01-23 20:14:00.391 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
2026-01-23 20:14:00.392 | errno: -111,
2026-01-23 20:14:00.392 | code: 'ECONNREFUSED',
2026-01-23 20:14:00.392 | syscall: 'connect',
2026-01-23 20:14:00.392 | address: '127.0.0.1',
2026-01-23 20:14:00.392 | port: 5432
2026-01-23 20:14:00.392 | }
2026-01-23 20:14:00.392 |
2026-01-23 20:14:00.392 | Node.js v18.15.0
cfg file
module.exports = {
// Configuration for the HTTP API server
'http': {
'port': 80
},
// Whether to trust a forwarding proxy's IP (trust X-Forwarded-For)
'trust_proxy': false,
// List of usernames and passwords for the Steam accounts
'logins': [
{
'user': 'vladimir_selivanov291',
'pass': 'rk543gfdgfj57291',
// You can either use a 2FA email/mobile token (5 letters/digits), or the shared_secret of mobile 2FA
'auth': 'vsnW9xt8ZcSPx2qjOJZ5jCXcBrM='
},
{
'user': 'vladimir_selivanov851',
'pass': 'rk543gfdgfj57851',
'auth': 'xejnEXtR3F09SC9l0sYcYXkCM3U='
}
],
// Optional HTTP/SOCKS5 proxies to auto-rotate for each bot in a round-robin
'proxies': [],
// Bot settings
'bot_settings': {
// Amount of attempts for each request to Valve
'max_attempts': 1,
// Amount of milliseconds to wait between subsequent requests to Valve (per bot)
'request_delay': 1100,
// Amount of milliseconds to wait until a request to Valve is timed out
'request_ttl': 2000,
// OPTIONAL: Settings for Steam User (https://github.com/DoctorMcKay/node-steam-user#options-)
'steam_user': {}
},
// Origins allowed to connect to the HTTP/HTTPS API
'allowed_origins': [
'http://example.com',
'https://example.com',
'chrome-extension://jjicbefpemnphinccgikpdaagjebbnhg',
'http://steamcommunity.com',
'https://steamcommunity.com'
],
// Origins allowed to connect to the HTTP/HTTPS API with Regex
'allowed_regex_origins': [
'https://.*\.steamcommunity\.com'
],
// Optionally configure a global rate limit across all endpoints
'rate_limit': {
'enable': false,
'window_ms': 60 * 60 * 1000, // 60 min
'max': 10000
},
// Logging Level (error, warn, info, verbose, debug, silly)
'logLevel': 'silly',
// Max amount of simultaneous requests from the same IP (incl. WS and HTTP/HTTPS), -1 for unlimited
'max_simultaneous_requests': 1,
// Bool to enable game file updates from the SteamDB Github tracker (updated item definitions, images, names)
'enable_game_file_updates': true,
// Amount of seconds to wait between updating game files (0 = No Interval Updates)
'game_files_update_interval': 3600,
// Postgres connection string to store results in (ex. postgres://user:pass@127.0.0.1:5432/postgres?sslmode=disable)
'database_url': 'postgres://user:12345@127.0.0.1:5432/postgres?sslmode=disable',
// OPTIONAL: Enable bulk inserts, may improve performance with many requests
'enable_bulk_inserts': false,
// OPTIONAL: Key by the caller to allow inserting price information, required to use the feature
'price_key': '',
// OPTIONAL: Key by the caller to allow placing bulk searches
'bulk_key': '',
// OPTIONAL: Maximum queue size allowed before dropping requests
'max_queue_size': -1,
};