πŸ‡ΊπŸ‡¦ We stand with Ukraine! πŸ‡ΊπŸ‡¦

Can't connect to octoprint from several clients

What is the problem? I cannot login (tells me incorrect UN/PW on login when I attempt to login from various macs. I can however connect via my iPad, iPhone and one chrome box. Note I have multiple users in the house so I have tried on 3 macs and my ubuntu box and can't login to any of the user accounts. The Macs, iPads and iPhone are all wifi, while the ubuntu box and chrome box are on ethernet. the rpi4 is also on ethernet. One thing that is strange is the macs that can't log in have no problem uploading a job via PrusaSlicer with the API key... (not sure if that last bit helps)

What did you already try to solve it? I have attempted to connect via Safari, Chrome, chromium and firefox. All fail. I created a stupid account to test (Chrome.Chrome) and that also fails. I have tried connection via zero-conf or actual ip address, both fail. I am clearly connected in general since I get the login form.

Logs (syslog, dmesg, ... no logs, no support) - So the log file is 50mb, so here are the most recent entries in the octoprint.log:

2021-02-23 16:08:14,844 - octoprint.server.heartbeat - INFO - Server heartbeat <

3

2021-02-23 16:08:14,851 - octoprint.server - INFO - --- Log roll over detected -

--------------------------------------------------

2021-02-23 16:08:14,852 - octoprint.server - INFO - OctoPrint 1.5.3

2021-02-23 16:08:14,855 - octoprint.plugin.core - INFO - 27 plugin(s) registered

with the system:

| Access Anywhere - The Spaghetti Detective (1.5.2) = /home/pi/oprint/local/lib

/python2.7/site-packages/octoprint_thespaghettidetective

| Action Command Notification Support (bundled) = /home/pi/oprint/lib/python2.7

/site-packages/octoprint/plugins/action_command_notification

| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-

packages/octoprint/plugins/action_command_prompt

| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/o

ctoprint/plugins/announcements

| Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packa

ges/octoprint/plugins/tracking

| Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packag

es/octoprint/plugins/appkeys

| Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octo

print/plugins/backup

| Bed Visualizer (1.0.0) = /home/pi/oprint/local/lib/python2.7/site-packages/oc

toprint_bedlevelvisualizer

| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint

/plugins/corewizard

| Dashboard (1.17.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octopr

int_dashboard

| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/p

lugins/discovery

| DisplayLayerProgress Plugin (1.25.4) = /home/pi/oprint/local/lib/python2.7/si

te-packages/octoprint_DisplayLayerProgress

| Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octopr

int/plugins/errortracking

| File Check (2020.8.7) (bundled) = /home/pi/oprint/local/lib/python2.7/site-pa

ckages/octoprint_file_check

| Firmware Check (2021.2.4) (bundled) = /home/pi/oprint/local/lib/python2.7/sit

e-packages/octoprint_firmware_check

| GCode Viewer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprin

t/plugins/gcodeviewer

| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plu

gins/logging

| Navbar Temperature Plugin (0.14) = /home/pi/oprint/local/lib/python2.7/site-p

ackages/octoprint_navbartemp

| Octolapse (0.4.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octopri

nt_octolapse

| OctoPrint-Mmu2filamentselect (1.0.1) = /home/pi/oprint/local/lib/python2.7/si

te-packages/octoprint_mmu2filamentselect

| OctoVox Plugin (0.1.6) = /home/pi/oprint/local/lib/python2.7/site-packages/oc

toprint_octovox

| Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/oct

oprint/plugins/pi_support

| Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octopr

int/plugins/pluginmanager

| Resource Monitor (0.3.0) = /home/pi/oprint/local/lib/python2.7/site-packages/

octoprint_resource_monitor

| Simple Filament Change Buttons (1.1) = /home/pi/oprint/local/lib/python2.7/si

te-packages/octoprint_simple_filament_change_buttons

| Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octop

rint/plugins/softwareupdate

| Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octop

rint/plugins/virtual_printer

Prefix legend: ! = disabled, # = blacklisted, * = incompatible

2021-02-23 16:08:14,864 - octoprint.environment - INFO - Detected environment is

Python 2.7.16 under Linux (linux2). Details:

| hardware:

| cores: 4

| freq: 1500.0

| ram: 1903988736

| os:

| bits: 32

| id: linux

| platform: linux2

| plugins:

| pi_support:

| model: Raspberry Pi 4 Model B Rev 1.1

| octopi_version: 0.17.0

| throttle_state: '0x0'

| python:

| pip: 19.1.1

| version: 2.7.16

| virtualenv: /home/pi/oprint

2021-02-23 16:08:14,865 - octoprint.server - INFO - ----------------------------

--------------------------------------------------

2021-02-23 16:08:22,575 - octoprint.plugins.tracking - INFO - Sent tracking even

t pong, payload: {u'python': '2.7.16', u'os': u'linux', u'ram': 1903988736, u'oc

topi_version': u'0.17.0', u'version': u'1.5.3', u'plugins': u'displaylayerprogre

ss:1.25.4,simple_filament_change_buttons:1.1,octovox:0.1.6,resource_monitor:0.3.

0,bedlevelvisualizer:1.0.0,thespaghettidetective:1.5.2,navbartemp:0.14,dashboard

:1.17.0,octolapse:0.4.1,mmu2filamentselect:1.0.1', u'pip': '19.1.1', u'cores': 4

, u'freq': 1500.0, u'pi_model': u'Raspberry Pi 4 Model B Rev 1.1', u'bits': 32}

2021-02-23 16:08:25,363 - octoprint.plugins.tracking - INFO - Sent tracking even

t ping, payload: {'octoprint_uptime': 1123212}

2021-02-23 16:23:14,845 - octoprint.server.heartbeat - INFO - Server heartbeat <

3

2021-02-23 16:23:25,382 - octoprint.plugins.tracking - INFO - Sent tracking even

t ping, payload: {'octoprint_uptime': 1124112}

2021-02-23 16:38:14,847 - octoprint.server.heartbeat - INFO - Server heartbeat <

3

2021-02-23 16:38:25,171 - octoprint.plugins.tracking - INFO - Sent tracking even

t ping, payload: {'octoprint_uptime': 1125012}

2021-02-23 16:53:14,848 - octoprint.server.heartbeat - INFO - Server heartbeat <

3

2021-02-23 16:53:25,140 - octoprint.plugins.tracking - INFO - Sent tracking even

t ping, payload: {'octoprint_uptime': 1125912}

2021-02-23 17:08:14,849 - octoprint.server.heartbeat - INFO - Server heartbeat <

3

2021-02-23 17:08:25,168 - octoprint.plugins.tracking - INFO - Sent tracking even

t ping, payload: {'octoprint_uptime': 1126812}

2021-02-23 17:23:14,851 - octoprint.server.heartbeat - INFO - Server heartbeat <

3

2021-02-23 17:23:25,180 - octoprint.plugins.tracking - INFO - Sent tracking even

t ping, payload: {'octoprint_uptime': 1127712}

2021-02-23 17:38:14,852 - octoprint.server.heartbeat - INFO - Server heartbeat <

3

Could you do us a favour? Please format the log with the </> in the editor tool bar.

OK I applied the formatting

1 Like

I think you have to grab a lot AFTER you have tried to log in and been unable to. Then the log might show what the problem is.

Have you tried multiple browsers on each machine? Chrome? Or just Safari?

You may also share the complete log as a zipped file.

As noted in the OP I have tried FireFox, Chrome, Chromium and Safari (platform wise MacOS Big Sur, Ubuntu 20.04 and Windows 10). I can log in via Chrome on my ChromeBox and Safari on my iPad/iPhone only.

I agree except that was the latest in the log (in fact nothing was logged about my failure. The rest of the 50mb is all in the distant past, if anyone really cares to sort through many months of crap)