question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

r2 failed on some pages

See original GitHub issue

When I fetch some page like https://github.com, r2 failed and keep Promise pending.

node.js : v8.9.1 OS: Mac OS 10.12.6 r2: 2.0.0

r2('https://www.google.com').text.then(h => console.log(h)) // OK

r2('https://github.com').text.then(h => console.log(h)) // Failed

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

2reactions
Arttsecommented, Dec 30, 2017

Possible bug. By the way, this would work:

r2('https://github.com').response.then(r => r.text()).then(h => console.log(h))
1reaction
noelmacecommented, Sep 10, 2019

@DevBrent I just verified that in my project and I can confirm that this is related to your comment

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error occurs when multiple pages are printed by using a WSD ...
Fixes an issue in which an error occurs when you use a WSD printer to start a multiple-page print job in Windows 8.1...
Read more >
Fix Windows errors that occur during Acrobat Reader update
The process terminated unexpectedly. Try downloading Reader directly from this page. 1309, Error reading from file: <location of the file> -Or-
Read more >
Configuring DCOM and WMI in Windows 2012 R2 Server for ...
How do I configure my Windows 2012 R2 Servers to allow QRadar to retrieve scan data from Microsoft SCCM scanners and events over...
Read more >
Configuring Custom Pages (Error and Challenge)
A Custom Page dialog will appear. Enter the URL of the custom error page you customized in your origin server, then click Publish....
Read more >
HTTP Error 503, the service is unavailable - Stack Overflow
If the app pool is running under some specific user identity, ... That basically tells IIS that your site is unavailable and to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found