(Solved) After Update and creating a Login, no other Computer can connect?

What is the problem?

After Update, Login fails on other Computers.

What did you already try to solve it?

Tried another password, did not help.

Have you tried running in safe mode and if so did it solve the issue?

safe mode?

Complete Logs

octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)

no

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

made the first Login via iPhone.

'no' is not an answer to this question.

Please, please, look at it from our perspective - we have no idea what's going on from the little information provided.

Open the browser error console, and copy & paste it's output. Download the octoprint.log and upload it.

1 Like

Hello,
sry, what do you mean with browser error? I only get a user an password incorrect

For the log on my pc I get a forbidden to download.
On my iPhone I press download, it opens the logging file. How do I get the text inside a mail or other??

Thx

found a Chrom Browser Console:
Failed to load resource: the server responded with a status of 403 (FORBIDDEN) /api/login:1

XHR failed loading: POST "http://192.168.0.155/api/login". jquery.min.js:2

send @ jquery.min.js:2
ajax @ jquery.min.js:2
OctoPrintClient.ajax @ packed_client.js?8f609640:7
OctoPrintClient.ajaxWithData @ packed_client.js?8f609640:7
OctoPrintClient.post @ packed_client.js?8f609640:7
OctoPrintClient.postJson @ packed_client.js?8f609640:7
OctoPrintBrowserClient.login @ packed_client.js?8f609640:38
(anonymous) @ login.js:32
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

POST http://192.168.0.155/api/login 403 (FORBIDDEN) jquery.min.js:2

send @ jquery.min.js:2
ajax @ jquery.min.js:2
OctoPrintClient.ajax @ packed_client.js?8f609640:7
OctoPrintClient.ajaxWithData @ packed_client.js?8f609640:7
OctoPrintClient.post @ packed_client.js?8f609640:7
OctoPrintClient.postJson @ packed_client.js?8f609640:7
OctoPrintBrowserClient.login @ packed_client.js?8f609640:38
(anonymous) @ login.js:32
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

tried to get a short debug on octoprint, so I deleted all old. saved the
octoprint
octoprint.access.groups
octoprint.access.users
(something else)

how do I get a new log now?

via Terminal (Mac), if I would like to change the (correct) password:

(oprint) pi@octopi : ~ $ octoprint user password Richard with Richard

Password:

Repeat for confirmation:

Usage: octoprint user password [OPTIONS] USERNAME

Try 'octoprint user password --help' for help.

Error: Got unexpected extra arguments (with Richard)

(oprint) pi@octopi : ~ $

maybe, is there a code to correct all permissions to octoprint?

Is you username really "Richard with Richard"? If so

octoprint user password "Richard with Richard"

oh sorry, I misunderstood the wiki

(oprint) pi@octopi : ~ $ octoprint user password Richard

Password:

Repeat for confirmation:

User Richard does not exist!

(oprint) pi@octopi : ~ $

on my iPhone I am logged in with Richard (user)

Found the difference !!
user name "Richard" has a blanc "Richard " ... why?

You probably created it that way. Which means I need to make sure trailing whitespace is stripped on user creation in future versions, that can be hard to find.

1 Like