-
Notifications
You must be signed in to change notification settings - Fork 40
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
CV Request Generator: "Failed retrieving room name. Is it a valid room?" error #164
Comments
More details are needed to reproduce your problem. Currently, I have no idea what you are asking: maybe you mean that when a question is loaded, you get this message on the top of the page? |
yes exactly. I randomly get this error on the top of the page when a question is loaded. I will gather more data if it occurs again. May be room fetching AJAX request from userscript fails randomly. Chrome: v74.0.3729.131 (Official Build) (64-bit) You can close this issue for now if you like. |
I am closing this since it's no longer occurring. I have also tested it with greasemonkey on Firefox. May be it was my environment specific issue. |
@armujahid The error text you've included above is actually a different error on a different script, Magic Editor. For that problem, I've created issue #168 Magic Editor is not compatible with Greasemonkey 4.x. Your screenshot does show that the problem you've reported here in this issue did occur again. However, it also indicates that some of the information you've provided above is inaccurate. That screenshot is from Firefox, not Chrome, and that you are using Greasemonkey, not Tampermonkey. Please provide updated information as to which browser, userscript manager, and script version you are using. Note: It's not surprising that BTW: I recommend against using Greasemonkey 4. It just has too many incompatibilities with existing userscripts and it's likely that new scripts will be written without considering those incompatibilities. While some of those incompatibilities have been resolved or will be resolved over time, there are intentional incompatibilities which will never be resolved. If you choose to use Greasemonkey 4 you will have ongoing compatibility issues on random scripts for the foreseeable future. Currently, of the userscripts I use for Stack Exchange, 29 of them are known to be incompatible with Greasemonkey 4. |
Thank you for your detailed response. I didn't realize that console error was from Magic Editor. Yes you are right originally I faced this issue on chrome with tampermonkey at the time of reporting this issue (versions mentioned above). Currently I faced this issue Greasemonkey v4.9 on firefox with script v1.6.6. I didn't know that Greasemonkey has compatibility issues. I am now switching to Tampermonkey on firefox. You can recommend any other better user script manager. P.S: As mentioned in this comment it wasn't showing any warning on firefox before with Greasemonkey but I haven't properly tested this script functionality on firefox with Greasemonkey. |
I have migrated to Tampermonkey v4.9.5941 on Firefox. Console error is gone as you mentioned. but I am still getting this "Failed retrieving room name. Is it a valid room?" message without any console error. NoScript isn't blocking any script since it's disabled for this tab. |
To get the error that you are seeing, the URL that it's using for the chat room has to at least look like it should be valid (the URL is tested to match a RegEx prior to use; failure would produce a different error), but an error has to have occurred when the script tried to fetch data from that URL. Assuming you haven't changed the room URL, the default URL it would use on Stack Overflow is:
What extensions do you have installed? Do any of them block cross-site requests? |
Just found that Sorry for wasting your time @makyen |
Well, that would definitely cause the problem you are seeing. Unfortunately, there isn't anything we can do about that. Your only real options are to get your corporate firewall changed, use a proxy, or use a VPN. The latter two could violate policies at your place of employment, so probably are not a good idea. If you do use a proxy, it's trivial to set Firefox to use a specific proxy just in one profile. |
I am using Stack Exchange CV Request Generator v1.6.6. I randomly get this error message
"Failed retrieving room name. Is it a valid room?" whenever a question is opened.
The text was updated successfully, but these errors were encountered: