"Redirected too many times error" when attempting to view all pdf files via test server on Windows
See original GitHub issueAttach (recommended) or Link to PDF file here: None
Configuration:
- Web browser and its version: Chrome v75
- Operating system and its version: Windows 10, 64-bit
- PDF.js version: Extension build number 213
- Is a browser extension: No
Steps to reproduce the problem:
- gulp server
- Open Chrome and open URL http://localhost:8888/test/pdfs/?frame
What is the expected behavior? (add screenshot) To be able to view all test pdf files in a pane.
What went wrong? (add screenshot)
The URL entered changed from http://localhost:8888/test/pdfs**/**?frame to http://localhost:8888/test/pdfs**//**?frame, followed by a redirected too many times error.
A stack trace, based on preliminary debugging is below,
$ gulp server
[22:29:23] Working directory changed to ~\pdf.js
[22:29:26] Using gulpfile ~\pdf.js\gulpfile.js
[22:29:26] Starting 'server'...
### Starting local server
Server running at http://localhost:8888/
Trace: Redirection!
at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
at FSReqWrap.oncomplete (fs.js:154:5)
Trace: Redirection!
at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
at FSReqWrap.oncomplete (fs.js:154:5)
Trace: Redirection!
at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
at FSReqWrap.oncomplete (fs.js:154:5)
Trace: Redirection!
at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
at FSReqWrap.oncomplete (fs.js:154:5)
Trace: Redirection!
at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
at FSReqWrap.oncomplete (fs.js:154:5)
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
How to Fix The ERR_TOO_MANY_REDIRECTS Error - Kinsta
What is the ERR_TOO_MANY_REDIRECTS Error? The ERR_TOO_MANY_REDIRECTS is, as the error suggests, caused by too many redirects, resulting in a redirect loop.
Read more >How to Troubleshoot ERR_TOO_MANY_REDIRECTS {8 Fixes}
This tutorial explains the possible steps for fixing the ERR_TOO_MANY_REDIRECTS error and lists the possible causes for the error.
Read more >Redirected You Too Many Times: How To Fix This Error
It means your site got stuck in endless redirect loops and, as a result, can't be loaded. Knowing how to troubleshoot and fix...
Read more >How to Fix Error Too Many Redirects in Google Chrome?
The redirection error could be caused by wrong time and date settings on your PC. Check the computer date and time and adjust...
Read more >Too Many Redirects? ERR_TOO_MANY_REDIRECTS and ...
The first thing you can try is clearing the cache and cookies in your browser. Sometimes a too many redirects error can occur...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Works for me on Arch Linux. After
gulp server
I get the page with the panel on the right. If I click one of the PDF files, it loads in the left panel.Yes, feel free to make a patch for this.