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

Login button in Octoprint not responding #2320

Closed
PrintedAlaska opened this issue Dec 26, 2017 · 12 comments
Closed

Login button in Octoprint not responding #2320

PrintedAlaska opened this issue Dec 26, 2017 · 12 comments
Labels
not octoprint Issue is not on OctoPrint's end

Comments

@PrintedAlaska
Copy link

What were you doing?

Ideally provide exact steps to follow in order to reproduce your problem:

  1. I opened octoprint as usual (wirelessly from the same wifi network)
  2. I downloaded a new plugin called AstroPrint Cloud
  3. I rebooted octoprint after the plugin successfully downloaded and now I can't log in or connect

What did you expect to happen?

I expected to be able to use the Astroprint plugin through octoprint.

What happened instead?

When I open the octoprint page, I cant click the Login button in the top right. Instead, I click it and nothing happens.

Did the same happen when running OctoPrint in safe mode?

I cannot access safe mode without logging in.

Version of OctoPrint

1.3.4

Operating System running OctoPrint

Windows 10 (google chrome)

Printer model & used firmware incl. version

Original Prusa i3 MK2

Browser and Version of Browser, Operating System running Browser

Google Chrome with Windows 10 x64

Link to octoprint.log

I typed the line to get to the logs into the raspberry pi and it said access denied. I am guessing I did it wrong. I did check the contributing guideline

Link to contents of Javascript console in the browser

See attatched .jpeg

Screenshot(s)/video(s) showing the problem:

octoprinterrors

Thank you for your help!
Mitch T.

I have read the FAQ.

@GitIssueBot GitIssueBot added the triage This issue needs triage label Dec 26, 2017
@ntoff
Copy link
Contributor

ntoff commented Dec 26, 2017

If it stopped working after installing the astroprint plugin then it's probably safe to assume that plugin is to blame, might want to bring it up on their own issue tracker (if they have one).

To open octoprint in safe mode, close down octoprint and run it with octoprint serve --safe.

edit: wait..

I typed the line to get to the logs into the raspberry pi and it said access denied.

raspberry pi? you said you're running octoprint on windows 10

Operating System running OctoPrint
Windows 10 (google chrome)

so which is it? Are you running it on a raspberry pi using octopi, or windows 10 using a manual install?

@kantlivelong
Copy link
Contributor

kantlivelong commented Dec 27, 2017

Safe Mode documentation can be found here. Once you are in Safe Mode please disable the AstroPrint plugin and restart. If functionality is restored then open a ticket with the plugin developer.

@kantlivelong kantlivelong added needs information More information is needed to further process this issue or PR triage This issue needs triage and removed triage This issue needs triage labels Dec 27, 2017
@PrintedAlaska
Copy link
Author

@ntoff The raspberry pi is the one running the octoprint server, it is connected to the printer. My computer is just what I control it with wirelessly through chrome.

@ntoff
Copy link
Contributor

ntoff commented Dec 27, 2017

Then that is what you should put in the section where it asks for the device running octoprint (for future reference). Knowing how it's installed helps us determine whether it's a standard raspberry pi install or a custom install on some other OS, instructions differ based on install type.

Were you able to figure out how to enable safemode? If not, the basic steps are:

and when you're done, you can either reboot the entire pi with sudo shutdown -r now or stop octoprint with ctrl + c and sudo service octoprint start to start the service back up again. Rebooting isn't strictly necessary after uninstalling a plugin.

@PrintedAlaska
Copy link
Author

@ntoff That worked great! I restarted octorprint after deleting the astroprint plugin in safe mode and now everything is back to normal. Thank you for your help

@kantlivelong kantlivelong added not octoprint Issue is not on OctoPrint's end and removed needs information More information is needed to further process this issue or PR triage This issue needs triage labels Dec 27, 2017
@kantlivelong
Copy link
Contributor

kantlivelong commented Dec 27, 2017

@PrintedAlaska You can open an issue with the plugin developer here.

Closing.

@CoDanny
Copy link

CoDanny commented Dec 28, 2017

Sorry about this guys! It seems to be a javascript error in an edge case which prevents the rest of the javascript from being loaded. We're looking into it...

@CoDanny
Copy link

CoDanny commented Dec 28, 2017

This has now beed fixed in the plugin. Version 1.0.1 has this fix.

The cause of the problem was variables being used without first declaring them. This became a problem when "strict mode" was activated. Perhaps by another plugin.

@kantlivelong
Copy link
Contributor

Thanks @CoDanny

@ntoff
Copy link
Contributor

ntoff commented Dec 28, 2017

@CoDanny https://octoprint.org/blog/2017/12/01/heads-up-plugin-authors/ Just in case you weren't aware, that "use strict" clause was also the reason some changes were made to the way plugins are loaded. In case you haven't seen it, there's a blog post about it.

@gdachs
Copy link

gdachs commented Dec 30, 2017

for what reason is there a request to doubleclick.net in the picture above?

@foosel
Copy link
Member

foosel commented Jan 11, 2018

for what reason is there a request to doubleclick.net in the picture above?

I'd like to know that too.

What plugins do you have installed @PrintedAlaska? Because that certainly isn't coming from stock OctoPrint and if a plugin out there is embedding ads, I'd like to know which one so I can shout a bit at the author.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
not octoprint Issue is not on OctoPrint's end
Projects
None yet
Development

No branches or pull requests

7 participants