inventree/inventree-app

Cannot connect to inventree server through mobile app

Opened this issue · 6 comments

When I am trying to connect to our Inventree server through the mobile app on a new phone, I get the "error: permission denied" message and 3 notifications pop up:

  • Format Exception (403 forbidden)
  • Authentication error (Invalid username / password combination)
  • Missing token (Access token missing from response)

What am I doing wrong here? The link to the server is correct and username and password are definitely correct as well.

Does it currently work on your setup, but with a different mobile device, and the same credentials/

Works perfectly fine on other mobile devices.

  • Any differences between devices you can think of?
  • Is it a https or http server?
  • Can you try to log out / log in on one of the other devices?
  • What version of inventree server are you running?
  • The current device is an iPhone, the other one is an android device, but on my previous iPhone it did work.
  • https server
  • I can log out / log in without any problems
  • version information:
  • Version Information:

InvenTree-Version: 0.16.1
Django Version: 4.2.15
Commit Hash: 4c15e5c
Commit Date: 30-08-2024

Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-5.4.0-196-generic-x86_64-with
Installer: DOC

Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.1.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.1.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}, {'name': 'SupplierCart', 'slug': 'suppliercart', 'version': '0.4.0.dev'}]

Can you view the logs on the server, and see if the login request is making it through to the proxy server?

Our server admin is on holiday this week. I will check with him when he's back.