#### Hoppscotch Agent is a cross-platform HTTP request relay for Hoppscotch built with [Tauri V2](https://v2.tauri.app/) that adds capabilities like custom headers, certificates, proxies, and local access typically restricted in browsers.
The agent runs as a local system service on port `9119`, acting as an intermediary between the Hoppscotch web application and target APIs. It establishes an encrypted communication channel authenticated via an OTP registration process.
1.**"Agent not detected" popup**: Verify the agent is running by checking the system tray for the Hoppscotch icon
2.**Switching interceptors blocked**: If the "Agent not detected" popup prevents switching interceptors, restart your browser and stop the agent before changing interceptor settings
3.**Port accessibility**: Check that no firewall is blocking port `9119`
4.**Browser compatibility**: Safari on macOS may have CORS issues with localhost:9119 due to access control checks, try Chrome/Firefox for agent registration
### Registration Failures
1.**"Failed to initiate the registration"**: This error may occur due to browser security policies or extension conflicts
2.**Missing OTP input field**: Verify the agent window is focused and displaying a 6-digit verification code
3.**OTP expiration**: Registration codes have limited lifetime, restart the registration process if the code expires
4.**Network connectivity**: Verify browser can reach localhost:9119/handshake
5.**Version compatibility**: Some agent versions may be incompatible with specific Hoppscotch web app versions. For self-hosted setups, make sure Agent version in the release matches, see https://github.com/hoppscotch/hoppscotch/issues/4936#issuecomment-2756981053
### Certificate Issues
1. Verify certificate format is supported (.pem or .pfx/.pkcs12)
4. Verify domain configuration matches target API hostname
5. Confirm certificate password is correct (for .pfx/.pkcs12)
6. Check CA certificate inclusion status (toggle on/off)
### Request Processing Issues
1.**Custom headers not applied**: Verify the agent is selected as interceptor, browsers may override headers like User-Agent when using default HTTP methods
2.**CORS errors**: Confirm agent interceptor is active and requests are routing through localhost:9119
3.**SSL/TLS verification**: Check verify host/peer settings for the target domain
4.**Proxy routing**: Verify proxy URL format includes protocol (http:// or https://)
### System-Specific Issues
#### Windows
1. Check WebView2 Runtime is installed (auto-installed with standard version)
2. Check Windows Defender or antivirus exclusions for the agent executable
3. Verify agent has network permissions through Windows Firewall
#### macOS
1. Safari browser may block agent connections due to CORS policies, try Chrome or Firefox instead
2. Check macOS Gatekeeper settings if agent fails to start
3. Verify agent is allowed in System Preferences → Security & Privacy
#### Linux
1. Check WebKit2GTK dependencies are installed
2. Check systemd logs if agent fails to start as service
3. Verify GLIBC version compatibility (requires 2.38+)
### Portable Version Issues
1. Manual WebView2 installation - may be required on older versions of Windows
2. No auto-start capability - must launch manually after system restart
3. No automatic updates - download new versions manually
4. Verify executable permissions on Unix-like systems
5. Check that portable version is extracted to a writable directory