Skip to content

Android: "Endpoint unreachable" when testing Google Gemini and OpenRouter API connections #87

Description

@epicvps

Environment

  • PicoClaw App Version: 0.1.4
  • PicoClaw Core Version: 0.2.9
  • Platform: Android
  • Installed from the latest GitHub release

Problem

I cannot connect to any online AI provider.

Both Google Gemini and OpenRouter fail with the error:

Endpoint unreachable

The connection test returns:

{
"error": "Endpoint unreachable",
"latency_ms": 11,
"status": "unreachable",
"success": false
}

What I tried

  • Generated a new Google Gemini API key from Google AI Studio.
  • Used the Google Gemini provider.
  • Model: gemini-2.5-flash
  • API Base URL: https://generativelanguage.googleapis.com/v1beta
  • Also tried leaving the Base URL empty.
  • Tested with a valid OpenRouter API key.
  • Both providers return the same "Endpoint unreachable" error.

Network

  • Internet connection is working.
  • Opening https://generativelanguage.googleapis.com in a browser works (returns HTTP 404, which is expected).
  • The problem only occurs inside PicoClaw.
  • The same issue happens whether I access PicoClaw locally or through its public mode.

Expected Behavior

The connection test should succeed with a valid API key.

Actual Behavior

All online providers return "Endpoint unreachable".

Additional Information

If needed, I can provide screenshots, logs, and the Network tab response from the browser developer tools.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions