-
Notifications
You must be signed in to change notification settings - Fork 14
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
Badge turns from green to red all the time #1
Comments
Thank you for your report. Yes, it already uses the new address (see the DEFAULT_FACILITATOR_URL constant on the top of flashproxy.js). I am looking forward to implement a way to make this easier to look at but could you look up the error in the Error Console (CTRL+SHIFT+J)? |
This is the only error available, the others are "just" warnings issued for visiting this website: I translated the [German word(s)]: Time stamp: 30.05.2013 13:02:46 I'm not sure if this error is created by your add-on. BTW: I use NoScript, which allows "about:blank" and "fp-facilitator.org". I had the badge on Stanford working (with the new host for the facilitator) with FF 21 and NoScript. Your add-on worked as well. EDIT/UPDATE: Time stamp: 30.05.2013 13:10:51 UPDATE2: UPDATE3: |
It turned red again, but the error console is empty. No error, no warnings or messages. On update3 from above: I'm not entirely sure that the badge was used. I was away for lunch and saw it as I came back. It looked like it were switching from active to passive. |
I got Firefox Portable (English) version 22. (Built from http://hg.mozilla.org/releases/mozilla-beta/rev/1b5782f637b3) and get this error, while the icon remains green. Timestamp: 30.05.2013 15:38:40 Line 240 contains The error appears twice with the same "server". Update: It happened again on the portable version. With a different "server". The icon is still green. It even says I served two people (I know there's an update fixing the information shown, but that is not available yet). (please note that the UI appears in the middle of Firefox 22 (beta) portable; but as this is a) a portable version and b) not the final product I will not file a ticket unless you say I should in which case I can provide a screenshot) |
I'm a bit spammy, but the same error appears for the regular badge on Stanford. (The badge stays active, just like your icon stays still green) Time: 30.05.2013 16:43:52 The line appears to be the same as yours. I don't know why this happens and I don't know what impact it has (beside that a client doesn't get served). |
So it stays green? Hmm, maybe the problem lies somewhere else. I am not sure what is going on, but could you maybe use a new Firefox Profile without NoScript and see how it is related? I know people with similar setups, even using NoScript, so it actually shouldn't cause a problem, but it would be interesting to see, if a default profile causes the same behavior for you. See: http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows Also when it turned red, could you filter for "exception while connecting" and tell me, if you find something? |
FF(portable) 22 beta is a fresh profile with no other add-ons, the icon remains green and I got: Timestamp: 30.05.2013 18:09:27 and Timestamp: 30.05.2013 18:04:08 Firefox 21 (installed) stayed green the whole time. I did not turn red, so no error. Once it turns red on either Firefox I'll report it with an error if I find one. I it turns red again on the installed Firefox, I'm trying a fresh profile. |
So, it stays green with a fresh profile? Does it work? Do you receive connections? I am sorry for it being hard. Thanks so much for helping with debugging though. Your help is greatly appreciated. |
Strange I commented 3 hours ago, but the comment is not shown.... "So, it stays green with a fresh profile?" "Does it work?" The only set-up leading to turning from green to red is with FF 21 (dirty). I'm using FF 21 (dirty) right now. Let's see how it works. The add-on reports a connection, something that it hasn't done before. "I am sorry for it being hard" "Thanks so much for helping with debugging though. Your help is greatly appreciated." Sure. Don't look into this. If it works with FF 21 (dirty), I'll report back. If it fails with (dirty) I'll try FF 21 (clean) and if that works I blame the profile (in which case I call this "not a bug") I'll report back or if it fails with it I'll also report back. |
Alright, I may found what caused this to happen. It's another add-on called RequestPolicy. It blocks resources from cross-sites being requested unless the source is allowed to request everything or the target is white-listed or the source is allowed to request resource xzy. My request policy is 0.5.x Well I knew how it worked and had allowed as and this worked for your add-on as well. However your changes affected this. I allowed as (beside that I allowed other sources from FF internals like chrome://, but I don't think this is necessary, they might be not even monitored) However, the icon (of version 0.1.1) stays green with FF 21 (dirty) and I can confirm it is working, since the icon switched to active (changing it's color) and the add-on itself says 4 connections have been made. I conclude it's working. I planned to create a wiki-page (provided github let's me do that) called 'compatibility' and list what could be conflicting and that RequestPolicy users have to allow new sources. It turns out that RequestPolicy is hosted on GitHub, should I create a ticket there? It's not a compatibility issue of RequestPolicy since it does what it does. I'm letting this open for the moment, you can close it. I'm waiting for your input anyway. |
Nice! Well, I am not sure, but in my opinion it would make sense to allow about:blank, like NoScript does. The reason for all of this is that I need a DOM-Tree, so I can access window.WebSocket. I wonder if there is another way to get to it, but I'd suggest allowing about:blank in RequestPolicy per default, but I am not sure. You could ask them and if they reject this they might have a better idea. I am fairly new to extension development, but I'll check if I can find a way to create it in a different way from another context. |
Well, I created a ticket (see their #377) and maybe it's reasonable and it will be added to the allowed sources or not. Maybe there'll be help from other people. I know you are working alone on this add-on and I'm not able to help you out. |
Is this still relevant after your refactoring of the addon, @reezer ? |
It is because of JavaScript being blocked (by NoScript or RequestPolicy). It's not |
With Firefox 21.0 (32bit) on Windows 7 (64bit) and 0.1.0 the badge turns from green to red, every single time. It always reports "...having a problem. If you keep reading this after browser restart, please report this. " and never received a connection based on what the add-on says.
I tried yesterday and today. The badge on http://crypto.stanford.edu/flashproxy/ doesn't turn black (or gray) it just sits there and waits. So far I have not seen it working, but it may does.
I'm not sure if your add-on points to the new facilitator "fp-facilitator.org" or not.
The text was updated successfully, but these errors were encountered: