Skip to content

ngrok tunnel not working, and cannot pass audit. #3

@btbxbob

Description

@btbxbob

when setup with ngrok cli tool, the ngrok http 80 it self is ok.
but opencode won't give me any qrcode.
and audit return strange result:

============================================================
  OpenCode Mobile Plugin - Endpoint Audit
============================================================

[Audit] Starting comprehensive endpoint audit...
[Audit] Starting server...
[Audit] Starting server on port 4096 (proxy: 4097)
[Audit] Server started on port 4096
[Audit] Testing tunnel providers...

[Diagnostics] Checking ngrok configuration...
[Diagnostics] Installed: ✓
[Diagnostics] Config: /root/.config/ngrok/ngrok.yml
[Diagnostics] Authtoken: ✓
[Diagnostics] Ngrok appears configured, attempting connection...
[Tunnel] Killed ngrok process

[Tunnel] Starting ngrok...
[Tunnel] Config: none
[Tunnel] Format: unknown
[Tunnel] Token: ✗
[Tunnel] Connecting to port 4096...
[Tunnel] Strategy 1: ngrok.forward() with direct token...
[Tunnel] Strategy 1 failed: No valid authtoken available for Strategy 1
[Tunnel] Auth error detected in strategy 1: No valid authtoken available for Strategy 1
[Tunnel] Trying next strategy...
[Tunnel] Connecting to port 4096...
[Tunnel] Strategy 2: SessionBuilder with explicit session...
[Tunnel] Killed ngrok process
[Tunnel] Strategy 2 failed: No valid authtoken available for Strategy 2
[Tunnel] Trying next strategy...
[Tunnel] Connecting to port 4096...
[Tunnel] Strategy 3: ngrok binary...
[Tunnel] Killed ngrok process
[Tunnel] Config: (default)
[Tunnel] Running: ngrok http 4096
[Tunnel] Strategy 3 failed: require is not defined
[Tunnel] All strategies exhausted. Last error: require is not defined
[Tunnel] Original auth error: No valid authtoken available for Strategy 1
[Tunnel] URL: https://two-points-sip.loca.lt
[Audit] Cleaning up...
[Audit] Server stopped
[Audit] Audit completed in 5.12s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions