Telerik Reporting - can't export in Chrome when using SqlDataSource - google-chrome

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.

Related

Extension and argv.json showing on Chrome after lunching a code with live server in VS code

I am new to coding.Have got a few line of code i am working on and anytime time i try to open it with a live server i encounter a problem as shown in the image. I have tried to solve the issue with by looking it up on Google but could not. I need you all to come to my rescue as soon as possible. Thanks
I expected the code to run smoothly on live server but it would not.

Unwanted Output In Console

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

Google Chrome Translate Page Does Not Work

In Google Chrome, Translate to English (or any other language) function was working fine, but all of the sudden it stopped working.
By looking at the console, I see error messages when the page tries to translate:
Failed to load resource: the server responded with a status of 403 () https://translate.googleapis.com/translate_a/t?anno=3&client=te_lib&format=html&v=1.0&key=no&logld=vTE_20170619_02&sl=da&tl=en&tc=1&tk=927511.556110&mode=1
I tried completely uninstalling Google Chrome and installing it again but it still does not work, it also does not work in Incognito Window.
It works fine in other machines, any ideas?
It looks like that you don't have the api key:
key=no
Look at environment variables to see if GOOGLE_API_KEY is set to no and delete it.
For now, I would just translate pages the long way.
I.E.:
Going to https://translate.google.com and typing your address in the input box, and going to address produced in the output box.
If you want to continue our discussion from the comments, I have created a chat for us to keep talking about your issue.

How to get past the login page with Headless Chrome and output many DOMs?

I'm trying to accomplish two things with the new Headless Chrome:
1) import my existing Chrome cookies into Headless. Either using a similar technique to wget's "--save-cookies cookies.txt" or through some other means.
2) when I output the dom (using --dump-dom), I'd like the output not to overwrite the existing output file. I've been struggling with this for a while, and hoping someone can point me in the right direction!

What does it mean "WebSockets (test): Failed by timeout"?

I use Chromium on Ubuntu and I see an error "The server encountered an error. Please try to reload the page" in loop when I try to access websites like grammarly.com, slack.com. I have also tried to access it on Chrome, Firefox but results were same.
I have also done numerous self-diagnostic tests which was recommended by Grammarly-Support, but nothing seems worth doing. Here is the test result:
Here is the console result:
It's been a year, and since then I've been facing this problem. Please help me to understand what is wrong. Any suggestion on this would be highly appreciated.
I've just observed a strange behaviour of app.grammarly.com.
In Firefox, when I'd disabled the following in proxy-setting:
FTP Proxy : Null
SOCKS Host : Null
I am able to access the app.grammarly.com successfully.
I get the same problem with Windows 10 and Chrome. I also contacted Grammerly and they said it was a connection issue at my end, second time they said it was my internet provider.
I find that it happens when I have multiple tabs open in Chrome. Closing most of the tabs and refreshing the page with Grammerly fixes the issue for me.
Hope this helps to find your solution.
-Tina