I've started to get some strange output in my developer console. I was wondering if there was a way to turn it off.
Net state changed from IDLE to BUSY
That outputs whenever anything server side is called, you can imagine that it might cause a lot of clutter.
I was faced out with this issue also, tried to google, but no results.
Do not worry. This output appears when you call add-on back-end by calling google.script.run. It is default output for debugging the state of a connection.
Probably you have a loop that gets information from the add-on backend infinitely.
I'm assuming the messages are coming from warden source.
To solve this, you can simply right click (Windows) or double click (Mac) to bring up the help menu. Then access Filter and click the source of the element you want to filter out of your console. It should then disappear.
Let me know how that works
Related
EDIT 2: Using fiddler I was able to find out that I'm getting a 504 error, but it makes no sense to me how that could possibly be happening.
EDIT: It seems to have something to do with connecting to SQL Server. I found I can export reports that don't use a SqlDataSource just fine, but when I add one then I get this error. But I still have no idea how to debug beyond this.
My Telerik reports are exporting just fine in explorer, but in Chrome I am getting an error page that says "This webpage is not available" and below that it says "ERR_CONNECTION_RESET".
When I hit F12 and look at the network activity, this is the request that is causing the problem:
https://ourwebsite.com/api/reportresolver/clients/112517-7243/instances/112518-d54c/documents/112531-33fe?response-content-disposition=attachment
The odd thing is that I can take the above link and copy/paste it into Explorer and it will open the PDF I just tried to export from Chrome.
Has anyone else run into this? I have no idea how to even proceed in troubleshooting this further :/
When I export to PDF programmatically using the sample code provided by Telerik (http://www.telerik.com/support/kb/reporting/styling-and-formatting-reports/details/exporting-a-report-to-pdf-programmatically) I get similar results. However if I remove Response.End() then it works great.
The odd thing is that it works properly in test projects the way it's supposed to from the toolbar; it's only when it's integrated into the application I need to use it in that I have to export it programmatically (without Response.End()) in order to get it to work in browsers other than IE.
Still wish I could figure out how to get it to work from the toolbar, but at this point I don't expect any answers so this will have to do :/
EDIT: I later found that the amount of data being passed had something to do with it. If there was very little data being passed then it worked okay but as soon as the amount of data increased a little then the above solution of removing Response.End() was required.
I have been trying to get the chrome commands api to work, with no success.
I know about both common problems that people are having:
If you change the command keys in the manifest file you need to remove and reinstall it for the changes to take effect.
Even if you do this, you may also need to scroll down on the extensions page, click the keyboard shortcuts link, and set the commands manually.
I have tried both solutions, even though I'm not sure that the second is still necessary. When I first load the extension, the commands are already loaded and set to the keys I specified in my manifest file.
I have even downloaded the sample commands extension, and tried the commands there.
https://developer.chrome.com/extensions/examples/api/commands.zip
The only even that triggers correctly is the browser action. The other command in the example does not work. It does not trigger a console log as far as I can see.
Anybody know whats up?
Edit:
It seems logical to me that the console log would happen in the tab that I had active, but apparently not.
Xan's comment got me thinking, so I added an alert to the command listener in the background.js file of the sample extension.
Sure enough, the alert was triggered. No console log though. No idea where my log is getting sent, but the API is working... just without console output.
Check out Xan's comments for where the log is actually being sent
What is this and why am i getting it when i try to login to my website? It looks like form injection warning but from where,how, and why. My computer doesnt have a virus or malware (that i know of) Im running an almost brand new mac os x 10.9 and the browser im using is Google Chrome.
The full error message is as follows:
Error Message:
A potentially dangerous Request.Form value was detected from the client (h_rm_pgs_ClientState="...rialGirls'","value":"1695...").
Where is this coming from and why?
Trace sent values by Google Chrome. Just right click and select Inspect Element then go to Network and after that open target page to trace and understand what happened.
I guess it happens when your browser has unwanted plugins or additional tools in your computer. Good Luck.
I'm guessing you have a password that contains "<".
ASP.NET returns that message from it's request validation in an attempt to stop XSS.
I am currently working in Flex 3.0 I am getting an error(screen shot is given below). I am using Flash Player Version 10.0
Currently I am calling the HTTPService and in the resultHandler of that HTTPService i am getting an error in method filereference.save() . because this method is called only when the MouseEvent or Keyboard event is occured.
Is there any solution to overcome this situation or in other words calling the filereference.save method in ResultHandler.
The reason for this is that you are no longer allowed to automatically trigger the display of file saving popups, except in the event of the user actually requesting this, via an event generated by the user. Here is some more info on the subject: http://www.bogdanmanate.com/2010/05/12/flex-error-2176-when-using-filereference/
I got around this problem using the solution described in the post, namely by using a Yes/No alert, to indicate to the user that the file has finished loading and it is ready for download and finally by asking him to confirm that he wants to save it locally. You might consider thins user-unfriendly, but it's really about security. And once you know how to trigger the event, you can figure out ways of bypassing this UI issue.
Have a great day!
You cannot. You need a click button of the user to get it done. Dispatching a MouseEvent is useless. Romi approach coud help you. But you need for security reasons to made it for a button click.
What I did.. was in the result retrive the file location and open it like an html page. Then you can download it. I see no other solution than forcing the user to click a button like Romi said.
var u:URLRequest = new URLRequest(event.result);
navigateToURL(u, "_blank");
An alternative solution might be to send the file to the server, then have the server send it back to the client which should trigger the browser's save/open dialog box. But if the file is created by flex then this is not ideal bandwidth-wise.
I have an unattended touch screen kiosk application which needs to be able to automatically reload the browser home page after a network outage has occurred. At the moment the browser will display an "Unable to connect to the internet" error and will wait for a manual reload to be carried out before proceeding. Can this be automated?
I've searched for plugins and have found some plugins which deal with auto-reload but they don't seem to work in this context. I am guessing that the plugin is only active when a page is loaded so in this case with an error condition, perhaps the plugin is not active.
One alternative might be to override the error page which is displayed by Chrome but I don't know if this is possible. I could then instantiate a Javascript timer to try a reload every n seconds for example. Is this possible?
I saw a suggestion to use frames to allow the outer frame (which is never refreshed) to keep trying the loading of an inner frame but I'm not keen to use frames unless there is no alternative. I also saw a suggestion to use AJAX calls to check if the network was working before attempting a page load but this seems overkill if there is a way to correct the error only when it has occurred rather than pre-empt an error for every page load.
Host system is Windows 7 by the way. I'm keen to keep the browser running if possible rather than kill and create a new browser process.
If you don't want to tackle chrome extension development, you could wrap your site in an iframe, and then periodically refresh the iframe from the parent frame. That way you don't need to worry about OS issues.
if the content were loaded from ajax from the start then the it could simply output a custom message on the page as it does a check via AJAX. Probably prevention over remedy is always recommended
Assuming linux, you could create an ifup script to simply relaunch the browser with something like
#!/bin/sh
killall google-chrome
DISPLAY=:0 google-chrome
On debian/ubuntu, edit /etc/network/interfaces to include a post-up line; Google ifupdown for other distros.
On windows, you'd do roughly the same with a PowerShell script.
If you really want the precise behaviour you describe (without restarting the whole browser), I suggest you develop a plugin/extension: http://code.google.com/chrome/extensions/getstarted.html
I know you are using Chrome, but in Firefox this is trivial by overriding the netError.xhtml page to do a setTimeout(location.reload, 10000);.