Skip to content

Cannot pair Android App with self-hosted instance #151

@fenech

Description

@fenech

Running the app using docker-compose up, I can access the management interface at http://192.168.1.202:8095/manage/

If I try to add a remote POS, I cannot get past the authentication step. I have tried:

  • scanning the QR code
  • copying the connection URL and entering it manually
    • the URL shown in the UI is hard-coded to use the domain https://drinks.catlab.eu/ (bug?), so I have tried editing the URL to use the same LAN IP:port where the server is running.
    • I also noticed that the token decodes to something like
      {"api":"http:\/\/192.168.1.202:8095","token":"hkjPP0ZjnEw7ihQdrb9YZR1SarRzIKrA"}
      note the backslash-escaped forward slashes. I tried to edit this URL and re-encode the result (base64 + percent-encoding) but it still didn't work

The result is that I am stuck on the initial "Connect Device" page and cannot proceed. Any ideas?

I successfully managed to use the "Open POS on this device" button and pair the laptop where I am testing, so the issue seems to be between the Android App and the server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions