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.

JS Bot returns an HTML that does not get parsed

See original GitHub issue

Error

When trying to run a bot built with JS (tried with Node & TS). As soon as the Bot is opened in emulator, I get an error [onTurnError] unhandled error: Error: <HTML> <HEAD> <TITLE>Network Error</TITLE> <style media = "all" >....

Version

4

Describe the bug

When trying to run a bot built with JS (tried with Node & TS). As soon as the Bot is opened in emulator, I get an error. Errors as shown in the console window of VS Code & in Emulator are shown below.

I have created bot with c# and they work just fine on the same machine This error is shown with multiple examples from this repository

grafik grafik

Expected behavior

No error

Screenshots

Added above

Additional context

I work behind my company’s firewall.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
mys2korcommented, Sep 11, 2022

ok. Thank you very much for your help.

0reactions
anishprasad01commented, Sep 9, 2022

I tried with v16.16.0 and was still unable to reproduce. The sample bots ran correctly. It does seem like your firewall may be the culprit.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parse an HTML string with JS - javascript - Stack Overflow
I tried the Pure JavaScript HTML Parser library but it seems that it parses the HTML of my current page, not from a...
Read more >
Ultimate Guide to Web Scraping with Python Part 1: Requests ...
Request and wrangling HTML using two of the most popular Python libraries for web scraping: requests and BeautifulSoup.
Read more >
Web Scraping With NodeJS and Javascript - ScrapFly
Introduction to web scraping in Javascript through a real hands-on example. Scraping HTML, parsing it and common challenge overview.
Read more >
Web Scraping with JavaScript and NodeJS - ScrapingBee
Learn web scraping with JavaScript and NodeJS with this step-by-step tutorial. We will see the different ways to scrape the web in ...
Read more >
JavaScript JSON parse() Method - W3Schools
The JSON. parse() method parses a string and returns a JavaScript object. The string has to be written in JSON format. The JSON....
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