Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to inventree server through mobile app #547

Open
HannesMorre opened this issue Nov 5, 2024 · 6 comments
Open

Cannot connect to inventree server through mobile app #547

HannesMorre opened this issue Nov 5, 2024 · 6 comments

Comments

@HannesMorre
Copy link

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.

@SchrodingersGat
Copy link
Member

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

@HannesMorre
Copy link
Author

Works perfectly fine on other mobile devices.

@SchrodingersGat
Copy link
Member

  • 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?

@HannesMorre
Copy link
Author

  • 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'}]

@SchrodingersGat
Copy link
Member

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

@HannesMorre
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants