# Finding Geutebruck Server Credentials The SDK Bridge is failing to connect with error: **`connectRemoteUnknownUser`** This means the username/password combination is invalid. ## Servers Running ✅ - **GeViServer** (PID 5212) - GeViSoft server - **GSCServer** (PID 10852) - GeViScope server ## Credentials Tried ❌ - Username: `sysadmin` / Password: `` (empty) - Username: `sysadmin` / Password: `masterkey` ## Where to Find Correct Credentials ### Option 1: Check GeViSet Configuration 1. Open **GeViSet** (Geutebruck configuration tool) 2. Look for connection settings or user management 3. Check what username is configured for SDK access 4. Note the username and password ### Option 2: Check GeViScope Configuration Files Look for configuration files in: - `C:\GEVISOFT\` - `C:\Program Files\Geutebruck\` - `C:\Program Files (x86)\Geutebruck\` Common config file names: - `GeViScope.ini` - `GSCServer.ini` - `config.xml` - `users.xml` ### Option 3: Check GeViAPI Test Client If you have GeViAPI Test Client working: 1. Open the client 2. Check what credentials it's using to connect 3. Use the same credentials in `appsettings.json` ### Option 4: Try Common Default Users Common Geutebruck default usernames: - `administrator` / `admin` - `admin` / `admin` - `root` / `root` - `geviscope` / `geviscope` - `gevisoft` / `gevisoft` ### Option 5: Check Your Previous Working Configuration From the conversation history, the system was working before. Check: 1. Previous `appsettings.json` backups 2. Your notes about what credentials worked 3. System documentation you may have ## How to Test Credentials ### Quick Test Script Create a file `test_credentials.ps1`: ```powershell # Test different credentials $users = @("sysadmin", "admin", "administrator", "root", "geviscope") $passwords = @("", "masterkey", "admin", "password", "geviscope") foreach ($user in $users) { foreach ($pass in $passwords) { Write-Host "Testing: $user / $pass" -ForegroundColor Yellow # Update appsettings.json $config = Get-Content 'C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\appsettings.json' | ConvertFrom-Json $config.GeViScope.Username = $user $config.GeViScope.Password = $pass $config | ConvertTo-Json | Set-Content 'C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\appsettings.json' # Try to connect $result = & 'C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\bin\Release\net8.0\GeViScopeBridge.exe' 2>&1 if ($result -match "Successfully connected") { Write-Host "SUCCESS! Working credentials: $user / $pass" -ForegroundColor Green break } Start-Sleep -Seconds 2 } } ``` ## Once You Find Working Credentials ### Update Configuration Edit: `C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\appsettings.json` ```json { "GeViScope": { "Host": "localhost", "Username": "YOUR_WORKING_USERNAME", "Password": "YOUR_WORKING_PASSWORD" }, "GeViSoft": { "Host": "localhost", "Username": "YOUR_WORKING_USERNAME", "Password": "YOUR_WORKING_PASSWORD" }, "GrpcServer": { "Port": 50051 } } ``` ### Then Start Services ```powershell # Terminal 1: SDK Bridge cd C:\DEV\COPILOT\geutebruck-api\src\sdk-bridge\GeViScopeBridge\bin\Release\net8.0 .\GeViScopeBridge.exe # Terminal 2: Python API cd C:\DEV\COPILOT\geutebruck-api\src\api & 'C:\DEV\COPILOT\geutebruck-api\.venv\Scripts\python.exe' main.py ``` ### Test the API Open: http://localhost:8000/docs --- **Everything else is ready - just need the right credentials!**