Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 07:52:25

dmin@vpspipit1368:~/Downloads/gue-gold-venv/server$ ss -lntp | head -30 State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess LISTEN 0 5 0.0.0.0:8080 0.0.0.0:* users:(("python3",pid=7477,fd=3)) LISTEN 0 4096 0.0.0.0:5355 0.0.0.0:* LISTEN 0 4096 127.0.0.54:53 0.0.0.0:* LISTEN 0 2048 0.0.0.0:18068 0.0.0.0:* users:(("python",pid=12085,fd=12)) LISTEN 0 5 127.0.0.1:6112 0.0.0.0:* users:(("Xtigervnc",pid=293,fd=9)) LISTEN 0 4096 127.0.0.1:22346 0.0.0.0:* users:(("wineserver64",pid=1590,fd=350)) LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* LISTEN 0 4096 [::]:5355 [::]:* LISTEN 0 5 [::1]:6112 [::]:* users:(("Xtigervnc",pid=293,fd=10)) admin@vpspipit1368:~/Downloads/gue-gold-venv/server$

Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 08:02:16

admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ curl -i http://127.0.0.1:18068/health HTTP/1.1 200 OK date: Tue, 06 Oct 2026 08:00:16 GMT server: uvicorn content-length: 93 content-type: application/json {"ok":true,"service":"GUE GOLD Trader Pro VPS API","time":"2026-10-06T08:00:17.491091+00:00"}admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ admin@vpspipit1368:~/Downloads/gue-gold-venv/servess -lntp | grep 18068 LISTEN 0 2048 0.0.0.0:18068 0.0.0.0:* users:(("python",pid=12085,fd=12)) admin@vpspipit1368:~/Downloads/gue-gold-venv/server$

Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 08:19:28

dmin@vpspipit1368:~/Downloads/gue-gold-venv/server$ ip -4 -br addr show; ip route show default lo UNKNOWN 127.0.0.1/8 eth0@if71 UP 10.17.39.152/24 default via 10.17.39.1 dev eth0 proto dhcp src 10.17.39.152 metric 100 default via 10.17.39.1 dev eth0 proto dhcp src 10.17.39.152 metric 1024 admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ dmin@vpspipit1368:~/Downloads/gue-gold-venv/server$ curl -4 -s --max-time 5 https://api.ipify.org; echo; curl -4 -s --max-time 5 https://ifconfig.me; echo 51.79.229.239 51.79.229.239 admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ ss -tn state established '( sport = :6112 or sport = :8080 )'; ps -o pid,args -p 7477,293 | cut -c1-160 Recv-Q Send-Q Local Address:Port Peer Address:Port 0 0 127.0.0.1:6112 127.0.0.1:54136 PID COMMAND 293 /usr/bin/Xtigervnc :1 -UseBlacklist=0 -localhost=1 -desktop vpspipit1368:1 (admin) -rfbport 6112 -PasswordFile /home/admin/.config/tigervnc/passwd -Secu 7477 python3 ./gue_mt5_bridge_server.py admin@vpspipit1368:~/Downloads/gue-gold-venv/server$

Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 08:27:21

admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ ~/bin/cloudflared tunnel --no-autoupdate --url http://127.0.0.1:18068 2026-10-06T08:25:04Z INF Thank you for trying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out. However, be aware that these account-less Tunnels have no uptime guarantee, are subject to the Cloudflare Online Services Terms of Use (https://www.cloudflare.com/website-terms/), and Cloudflare reserves the right to investigate your use of Tunnels for violations of such terms. If you intend to use Tunnels in production you should use a pre-created named tunnel by following: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps 2026-10-06T08:25:04Z INF Requesting new quick Tunnel on trycloudflare.com... 2026-10-06T08:25:09Z INF +--------------------------------------------------------------------------------------------+ 2026-10-06T08:25:09Z INF | Your quick Tunnel has been created! Visit it at (it may take some time to be reachable): | 2026-10-06T08:25:09Z INF | https://omaha-content-hydrocodone-commercial.trycloudflare.com | 2026-10-06T08:25:09Z INF +--------------------------------------------------------------------------------------------+ 2026-10-06T08:25:09Z INF Cannot determine default configuration path. No file [config.yml config.yaml] in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared] 2026-10-06T08:25:09Z INF Version 2026.10.0 (Checksum d33ff2d14475178d2012c2c56beba87389ac5ded27649519f198a7d3134a99db) 2026-10-06T08:25:09Z INF GOOS: linux, GOVersion: go1.26.8, GoArch: amd64 2026-10-06T08:25:09Z INF Settings: map[ha-connections:1 no-autoupdate:true protocol:quic url:http://127.0.0.1:18068] 2026-10-06T08:25:09Z INF cloudflared will not automatically update when run from the shell. To enable auto-updates, run cloudflared as a service: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configure-tunnels/local-management/as-a-service/ 2026-10-06T08:25:09Z INF Generated Connector ID: 6eca2367-f19c-487e-ad80-a3341e18b4c5 2026-10-06T08:25:09Z INF Initial protocol quic 2026-10-06T08:25:09Z INF ICMP proxy will use 10.17.39.152 as source for IPv4 2026-10-06T08:25:09Z INF ICMP proxy will use fe80::216:3eff:fee3:39ba in zone eth0 as source for IPv6 2026-10-06T08:25:09Z WRN The user running cloudflared process has a GID (group ID) that is not within ping_group_range. You might need to add that user to a group within that range, or instead update the range to encompass a group the user is already in by modifying /proc/sys/net/ipv4/ping_group_range. Otherwise cloudflared will not be able to ping this network error="Group ID 1000 is not between ping group 65534 to 65534" 2026-10-06T08:25:09Z WRN ICMP proxy feature is disabled error="cannot create ICMPv4 proxy: Group

Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 08:32:45

2026-10-06T08:30:35Z INF Metrics server stopped admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ nohup ~/bin/cloudflared tunnel --no-autoupdate --url http://127.0.0.1:18068 > ~/cloudflared.log 2>&1 & sleep 8; grep -o 'https://[a-z0-9-]*\.trycloudflare\.com' ~/cloudflared.log | tail -1 [1] 12293 https://graphs-lie-electronics-remaining.trycloudflare.com admin@vpspipit1368:~/Downloads/gue-gold-venv/server$

Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 08:40:33

admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ cd ~/Downloads/gue-gold-venv/server && cp app.py app.py.backup && sed -n '1,100p' app.py import os, json, sqlite3 from datetime import datetime, timezone from typing import Any, Dict, Optional from fastapi import FastAPI, Header, HTTPException from pydantic import BaseModel, Field API_KEY = os.getenv("GUE_API_KEY", "CHANGE_ME") DB_PATH = os.getenv("GUE_DB_PATH", os.path.expanduser("~/gue-gold-server/gue_gold.db")) os.makedirs(os.path.dirname(DB_PATH), exist_ok=True) app = FastAPI(title="GUE GOLD Trader Pro VPS API", version="1.0.0") def now(): return datetime.now(timezone.utc).isoformat() def db(): c = sqlite3.connect(DB_PATH) c.row_factory = sqlite3.Row return c def init_db(): c = db() c.execute("CREATE TABLE IF NOT EXISTS mt5_snapshots (id INTEGER PRIMARY KEY AUTOINCREMENT, received_at TEXT NOT NULL, payload TEXT NOT NULL)") c.execute("CREATE TABLE IF NOT EXISTS signal_releases (id INTEGER PRIMARY KEY AUTOINCREMENT, created_at TEXT NOT NULL, symbol TEXT NOT NULL, timeframe TEXT NOT NULL, signal TEXT NOT NULL, payload TEXT NOT NULL)") c.commit(); c.close() init_db() def auth(key): if API_KEY == "CHANGE_ME": raise HTTPException(500, "GUE_API_KEY belum dikonfigurasi") if key != API_KEY: raise HTTPException(401, "Invalid API key") class Snapshot(BaseModel): account: Dict[str, Any] = Field(default_factory=dict) positions: list[Dict[str, Any]] = Field(default_factory=list) orders: list[Dict[str, Any]] = Field(default_factory=list) symbols: Dict[str, Any] = Field(default_factory=dict) timestamp: Optional[str] = None class Signal(BaseModel): symbol: str = "XAUUSD" timeframe: str = "M15" signal: str payload: Dict[str, Any] = Field(default_factory=dict) @app.get("/health") def health(): return {"ok": True, "service": "GUE GOLD Trader Pro VPS API", "time": now()} @app.post("/v1/mt5/snapshot") def snapshot(x: Snapshot, x_api_key: Optional[str] = Header(None)): auth(x_api_key) payload = x.model_dump() c = db(); c.execute("INSERT INTO mt5_snapshots(received_at,payload) VALUES(?,?)", (now(), json.dumps(payload, ensure_ascii=False))); c.commit(); c.close() return {"ok": True, "received_at": now(), "positions": len(x.positions), "orders": len(x.orders)} @app.get("/v1/mt5/latest") def latest(x_api_key: Optional[str] = Header(None)): auth(x_api_key) c = db(); r = c.execute("SELECT received_at,payload FROM mt5_snapshots ORDER BY id DESC LIMIT 1").fetchone(); c.close() return {"ok": True, "snapshot": None} if r is None else {"ok": True, "received_at": r["received_at"], "snapshot": json.loads(r["payload"])} @app.post("/v1/signals/release") def release(x: Signal, x_api_key: Optional[str] = Header(None)): auth(x_api_key) t = now(); c = db() c.execute("INSERT INTO signal_releases(created_at,symbol,timeframe,signal,payload) VALUES(?,?,?,?,?)", (t,x.symbol,x.timeframe,x.signal,json.dumps(x.payload, ensure_ascii=False))) c.commit(); c.close() return {"ok": True, "created_at": t} @app.get("/v1/signals/release") def releases(timeframe: Optional[str]=None, limit: int=50, x_api_key: Optional[str]=Header(None)): auth(x_api_key); limit=max(1,min(limit,200)); c=db() if timeframe: rows=c.execute("SELECT * FROM signal_releases WHERE timeframe=? ORDER BY id DESC LIMIT ?",(timeframe,limit)).fetchall() else: rows=c.execute("SELECT * FROM signal_releases ORDER BY id DESC LIMIT ?",(limit,)).fetchall() c.close() return {"ok":True,"items":[{"id":r["id"],"created_at":r["created_at"],"symbol":r["symbol"],"timeframe":r["timeframe"],"signal":r["signal"],"payload":json.loads(r["payload"])} for r in rows]} @app.post("/v1/devices/register") def register(device: Dict[str, Any], x_api_key: Optional[str]=Header(None)): auth(x_api_key) return {"ok":True,"registered_at":now(),"device":device}

Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 08:58:06

admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ /home/admin/gue-gold-venv-python/bin/python -m uvicorn app:app --host 0.0.0.0 --port 18068 INFO: Started server process [12454] INFO: Waiting for application startup. INFO: Application startup complete. ERROR: [Errno 98] error while attempting to bind on address ('0.0.0.0', 18068): address already in use INFO: Waiting for application shutdown. INFO: Application shutdown complete. admin@vpspipit1368:~/Downloads/gue-gold-venv/server$ /home/admin/gue-gold-venv-python/bin/python -m uvicorn app:app --host 0.0.0.0 --port 18068 INFO: Started server process [12462] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:18068 (Press CTRL+C to quit)

Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 09:53:26

https://graphs-lie-electronics-remaining.trycloudflare.com

Payung Teduh
Участник
Присоединились: 2026-08-28 15:15:01
2026-10-06 10:16:18

export GUE_API_KEY=C4m6tdoARJ6Y8VLeyvMgz7sgAUzEFv765j-WJu7YN-g

loekepo CONNECT https://connect.loekepo.com