I host a static folder containing some large PDFs (~7000 kb) on IIS 8.5 on Windows Server 2012 R2. When I open the PDF in Chrome, the following message always shows first. I have to reload the page many times to display the PDF correctly.
Then I checked the network log using Chrome developer tool and found out the failed requests have Status Code "206 Partial Content". See the following screenshot:
Does anyone have similar issue as me? Any help is really appreciated!
To solve this issue:
1. Use the latest version of Chrome
2. In google chrome, you can change the default chrome pdf viewer to Adobe pdf viewer plugin.
Here I find the option my Google Chrome Version 70.0.3538.77 (Official Build) (64-bit)
Please recheck ... PDF switch setting is available on Latest version of Google Chrome.
Related
I've read about the Chrome Headless from developers.google said we can run the Google without UI. Quote from that link :
Headless Chrome is shipping in Chrome 59. It's a way to run the Chrome
browser in a headless environment. Essentially, running Chrome without
chrome! It brings all modern web platform features provided by
Chromium and the Blink rendering engine to the command line.
Why is that useful?
A headless browser is a great tool for automated testing and server
environments where you don't need a visible UI shell. For example, you
may want to run some tests against a real web page, create a PDF of
it, or just inspect how the browser renders an URL.
This is really great feature, so I do some experiment with this cool feature. The idea is to taking snapshot as the document site by do call of chrome.exe from Windows Command Prompt, as follow :
chrome --headless --disable-gpu --screenshot https://www.chromestatus.com/
After do several times and following the instruction from these site. I got nothing. I don't get any picture or screenshot with name screenshot.png as document mention it before Running with --screenshot will produce a file named screenshot.png in the current working directory.
From this document also said about version,
Caution: Headless mode is available on Mac and Linux in Chrome 59.
Windows support is coming in Chrome 60. To check what version of
Chrome you have, open chrome://version.
after do some check with suggested before, I run chrome://version on my Chrome on Windows x64 Machine and got some result :
Google Chrome 62.0.3202.94 (Official Build) (64-bit) (cohort: Stable)
Revision 4fd852a98d66564c88736c017b0a0b0478e885ad-refs/branch-heads/3202#{#789}
What wrong? What i missed?
Thanks
After do some experiments. for --screenshot will save the image on the same level as chrome.exe location and that will be mean save on Program Files.
So we need need to combine parameter names and arguments with a =
--screenshot="D:\screen.png" will work, otherwise Chrome writes to it's installation folder. Big design flaw, no software should use it's installation folder as a working directory.
Here are the complete argument :
chrome --headless --enable-logging --disable-gpu --screenshot="D:\screen.png" "https://www.chromestatus.com/"
Have not been able to use Chrome (Version 42.0.2311.90 (64-bit)) as a neo4j browser client after upgrading to the latest XCode / Command Tools in MacOS Yosemite 10.10.3 . Safari is working fine though. Is there an easy way to pinpoint to the actual problem? I'm using Neo4j 2.2.1
The following is a screenshot from the JavaScript console showing the errors:
mostly load resource errors and an uncaught error failing to instatiate module neo4jApp .
It works fine under Safari. It also works in a Chrome Incognito Window. Partially resetting settings is a trial and error exercise. While resetting all chrome settings finally solved the initial problem, I wonder if there is a better way and not having to lose all other user settings in Chrome.
I encountered the same exact issue today with Chromium 43.0.2357.81 (64-bit) and Neo4j 2.2.1. Clearing the cache and refreshing http://localhost:7474/browser/ wasn't working for me (javascript errors). What did work for me, was going to http://localhost:7474/webadmin/ which asked me to re-authenticate. After logging in, the Neo4j browser site loaded.
Very recently when running chromedriver I am no longer able to view embedded pdf's. Where the pdf should display is now gray with the puzzle piece saying 'this plugin is not supported'
I have verified that it displays in chrome when not running webdriver and also added:
chromeOptions.addArguments("--always-authorize-plugins=true");
I have also verified via chrome://plugins that Chrome PDF Viewer is enabled.
Chrome version is : Version 42.0.2311.90 m
This is a new error and the same code was working earlier this month so it isn't like it has never worked. Is anyone else having this issue or found a fix?
I just bought a Samsung gear 2 neo and wanted to create my own watch. So this means I am new to Tizen development.
I installed the Tizen IDE and the SDK but for some reason after following -a part- this tutorial (http://www.slideshare.net/badaindonesia/professional-tizen-application-development) Tizen won't run my projects because it can't find Google Chrome on the specified location. This problem occures when I try to run a Tizen web application as a Tizen web simulator app. When i try to launch it as a Tizen web app it says Could not find emulator or device but that isn't my current target.
The specific message is Google Chrome could not be found (C:\Program Files(x86)\Google\Chrome\Application\Chrome.exe). Please install Google Chrome and specify the Google Chrome program location in Window->Preferences under "Tizen SDK/Web/Simulator".
I have tried changing the location to C:\Program Files(x86)\Google\Chrome\Application\ But this wouldn't help either. Yes, i have entered the correct location since i have manually located the chrome.exe to.
The only thing which might be wrong is that I am using the Windows 7 64 bit installer while I am on a Windows 8 64 bit desktop pc.
I have experienced a similar bug. Maybe this will help you/future developers:
My problem was that the Chrome app wouldn't open while pressing debug. I subsequently tried it with the Visual Studio Tizen extension: same problem.
The fix: I dove into the extension code and found that changing the chrome path via the option "Change Chrome path" doesn't actually change your chrome path.
What does? Going into "C:\Users\[USERNAME]\.vscode\extensions\tizenweb.wappl-1.1.2\lib\constants.js" and changing Constants.CHROME_PATH to your chrome path (for the operating system you are using).
I have not found a solution for the Tizen app, though I would recommend using the VScode extension anyway.
I had the same problem. Though not exactly a solution, I found a workaround.
Start the Web Simulator from Start Menu
Enter the location of your index.html file in the address field and press Enter
Don't forget to add file:/// in the front.
There you go!!
I had a couple of user script that worked in version 3.5 by adding command line option --enable-user-script, after I upgraded to version 4.0, all those scripts stop working. Chrome browser is promoting its extension, some of user script can be replace by a chrome extension. Can anybody confirm if latest chrome browser stop supporting user script?
The latest Chrome builds allow you to install a user script as an extension with no modification. Just open the .user.js in the browser.