Node-Red, other browsers can log in, firefox can't
This is not a simple question to ask and is not very easy to explain. But I shall try.
I am running a program suite called "Node-Red" on another machine. Access is done via the "web". (http). Usually you just enter the IP address and you are into the edit screen. This is obviously not a good idea on a machine exposed to the net. So, you activate security settings. (See a bit later)
I am using Firefox as my main browser and I have activated security settings in Node-Red. Subsequently I can't log in. BUT! Other browsers can. (From other people) I have tried it and seen it once work. Sorry but that's all I have at this time. The information attached about my system is unedited, because as I said: I don't know what is needed at this stage.
I can get the "name" entered, but every time I click on the Password field, the cursor jumps back to the name field.
(Documents for what I am doing) https://nodered.org/docs/security.html
See attached image for what I see in FF. Please forgive the red arrows. I was talking to the Node-Red people about it also. "Luckily" someone else is having problems when using FireFox. But they can if they use another browser - as stated.
I don't know exactly what information (at this time) is needed. Alas it may require someone in here to install Node-Red and try it them selves.
I also appreciate that is a big ask. But it would seem I am not the only person with this problem and someone else has recently posted that they have the same problem.
What further complicated me asking here is I have a couple of other programs installed for password management and I had to go through the process of eliminating them.
So I am now at the point where it is pointing to FireFox and it not playing the game.
Thanks in advance for any help in resolving the problem.
Alle Antworten (20)
teeny_weeny said
I can get the "name" entered, but every time I click on the Password field, the cursor jumps back to the name field.
Have you tried pressing the <Tab> key instead?
Many site issues can be caused by corrupt cookies or cache.
- Clear the Cache and
- Remove Cookies
Warning ! ! This will log you out of sites you're logged in to. You may also lose any settings for that website.
- Cookies; Delete cookies to remove the information websites have stored on your computer {web link}
- Cache; How to clear the Firefox cache {web link}
If there is still a problem, Start Firefox in Safe Mode {web link} by holding down the <Shift> (Mac=Options) key, and then starting Firefox.
A small dialog should appear. Click Start In Safe Mode (not Refresh). Did this help?
While you are in safe mode;
Try disabling graphics hardware acceleration in Firefox. Since this feature was added to Firefox it has gradually improved but there are still a few glitches.
How to disable Hardware Acceleration {web link}
Well, wouldn't one way to (otherwise) test this is for me to open a PRIVATE BROWSER SESSION and go to it that way?
That way there wouldn't be any cookies as far as I know.
It is I am suggesting that because (it isn't a perfect world) and I have a LOT of windows/tabs open in FF.
Just tried <tab> key on a VM.
Same result: Originally the cursor (very briefly) jumps to the password field then straight back to the name field.
Geändert am
teeny_weeny said
Well, wouldn't one way to (otherwise) test this is for me to open a PRIVATE BROWSER SESSION and go to it that way?
If you had corrupt cookies or cache, the above would remove them. As to trying Private Browsing, go ahead.
I can't think of any reason for Firefox to move the cursor out of a field on its own. Hopefully the developer/vendor can think of a reason for that. If they've left you to figure it out for yourself, you could try using Firefox's developer tools to investigate further.
As the first step, you could check for messages in Firefox's Web Console. After displaying the login page, open the Web Console in the lower part of the tab using either:
- "3-bar" menu button > Web Developer > Web Console
- (menu bar) Tools > Web Developer > Web Console
- (Windows) Ctrl+Shift+k
Then reload the page in the upper part of the tab and watch for error or security messages. (The lines with blue triangles generally are not significant unless you suspect a style rule problem.) Anything that sounds like it could be relevant?
Next, try using the login form and see whether any messages appear when typing the username or moving to the password field.
I'm not sure we'll be able to interpret the results, but you could give us try.
GREAT NEWS!
Kinda!
Did what you said.
Got this error!
(See attached)
Geändert am
Fantastic, there is an XML parsing error. However, I don't know if that is fatal to how the page works. If you compare with another browser at the same point (same steps taken up to that point), do you notice any visual differences between the two?
Any new errors if you engage with the login form?
Haven't tried that just yet.
Wanted to share the "good" news.
ITMT (sorry) I tried to install Opera on my Ubuntu VM.
BAD IDEA!
Try to run it and it complains about memory something. (Ok, not FF's problem. But just to get another Browser in the equation and help work out "who" is causing the error.) "Failed to FORK! Can't allocate memory" Ok, I maybe added the uppercase and !......
But WT* does that message mean?
I'll try the log in and see what the FF window says.
(New post)
But just to keep the information flowing.
Ok, back to FF and on the page (as shown in previous screen shot) I can enter the name, but can't get the cursor to stay in the password field.
Dead end.
Until I get another browser working, I can't supply more info. (But am working on it. Have other VM's and may try IE. Though I will need help using IE to get the stuff like I am getting from FF in earlier post with the XML error)
Wow!
Update: FINALLY got Chrome working on VM as an alternative browser.
Enter same URL (local) for Node-red - set for password log in.
IT WORKS!
Not good news for FireFox though.
But I want to share the information so someone who is capable can work on fixing the problem.
teeny_weeny said
"Failed to FORK! Can't allocate memory"
https://ubuntuforums.org/showthread.php?t=1062573
' ' All your available RAM and swap-space is used up. ' '
teeny_weeny said
FINALLY got Chrome working on VM as an alternative browser.
That's good to hear. Hopefully, someone can get Firefox to work for you.
FredMcD said
teeny_weeny said"Failed to FORK! Can't allocate memory"https://ubuntuforums.org/showthread.php?t=1062573
' ' All your available RAM and swap-space is used up. ' '
Thanks.
I am still getting up to speed with Ubuntu/Linux.
Yeah, it is easy to google answers. But as I have found: Sometimes that is ANOTHER can of worms that - at that time - doesn't need to be opened.
But on the bigger problem: Yeah. I hope someone can nut it out.
teeny_weeny said
Yeah, it is easy to google answers. But as I have found: Sometimes that is ANOTHER can of worms that - at that time - doesn't need to be opened.
Don't I know it. ;-)
I am WAY out of my comfort zone.
I have NO IDEA what I am doing to try and solve this problem.
But looking at the error there are things I see which are basically "dog's bollocks" (to so put it)
Oh and from other stuff I have read about this error, FF and stuff: I have NO addons installed.
The ONLY thing is I have a H264 codec installed.
```
window.controllers/controllers is deprecated. Do not use for UA detection.
```
WHO is using that?
NR or FF?
Also, it says the error is `line number 1 column number 1` I am opening the page source but that doesn't make sense. ``` ```
How do I get closer to finding where this error is?
Geändert am
After MORE digging, I have this:
From the machine with the Node-Red error.
(Re-cap of the system:)
VM. Ubuntu 18.04 FireFox - no addons. Node-Red set up and set for log in with username and password. Can't get to PASSWORD field when loading web page.
Other browsers seem to be able to log in.
Opening the WebDeveloper/WebConsole and attempt to load. Ok, can't attach .txt file. 531.8 KB is a bit big to load as text file in this part.
teeny_weeny said
531.8 KB is a bit big to load as text file in this part.
Open a text / word program and load the file. Left-click once. Now <Control> A to highlight everything, then <Control> C to copy it.
Next, have your web browser go to; https://pastebin.com/
Paste <Control> P the content of the file in the window. Note: On the bottom, fill out the boxes as best you can.
Now press Create A New Paste. The page will reload. Copy the new web address, and post it here.
You have exceeded the maximum paste size of 512 kilobytes per paste. PRO users don't have this limit!
ARGH!
I'm working on it.
Try these: https://pastebin.com/MEDrDrMD
DISCLAIMER!
I do NOT understand what this is, or if it is really useful.
Geändert am
Good work. I called for more help.
Hi teeny_weeny, your two pastes have scripts in them, possibly from the Debugger tab of the developer tools. Could you switch to the "Web Console" (Console tab) where Firefox lists the errors and warnings related to the scripts?