Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token '<', "<!DOCTYPE "... is not valid JSON #120

Closed
KostLinux opened this issue Mar 26, 2024 · 0 comments · Fixed by #121
Closed

Unexpected token '<', "<!DOCTYPE "... is not valid JSON #120

KostLinux opened this issue Mar 26, 2024 · 0 comments · Fixed by #121

Comments

@KostLinux
Copy link
Contributor

(Use `node --trace-warnings ...` to show where the warning was created)
undefined:1
<!DOCTYPE html>
^

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> (/Users/christofherkost/Documents/dev/terraform/infra/ireland/test-infrastructure-ireland/web-check/api/dnssec.js:28:26)
    at IncomingMessage.emit (node:events:530:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
KostLinux pushed a commit to KostLinux/web-check that referenced this issue Mar 26, 2024
borowicz added a commit to borowicz/web-check that referenced this issue Jun 21, 2024
* Added Mimecast as mail provider

* docs: Updates contributors list

* docs: Adds Terminal Trove

* Adds Terminal Trove to about page

* Updates Terminal Trove in about page

* Adds link to terminal trove in homepage

* Updates Terminal Trove logo in README.md

* Adds express-rate-limit

* Bumps to V 1.1.0

* Slight improvments to error messaging for sitemap and quality report

* Adds optional rate-limiting functionality

* Adds docs for rate limit env var

* docs: Updates contributors list

* Adds timeout functionality

* If response is a timeout, set type to timeout

* Logging for timeout info, and adds key to map

* Update timeout message for sitemap

* Show timeout seperatley

* Adds unique keys to itteratbles, remove react warn

* Bump to V 1.1.2

* Reduce Vercel function timeout to 10 seconds

* Fix timeout parsing, and show timeout on Vercel

* docs: Updates contributors list

* Fix bug with JSON Doctype Lissy93#120

* feat: add external mozilla observatory tool

* docs: Updates contributors list

* docs: Updates contributors list

* fix: Add darkreader lock meta tag

* docs: Updates contributors list

* style: consistency between additional resources descriptions

* Fix: External links now open in a new tab

* Update additional page links

* docs: Updates contributors list

* docs: Updates contributors list

* Update firewall.js, add QRATOR WAF

Add new firewall: https://qrator.net/

* docs: Updates contributors list

* docs: Updates contributors list

* Update firewall.js, add ddos-guard WAF

Add ddos-guard WAF
https://ddos-guard.net/en

* docs: Updates contributors list

* CICD: bumped GHA versions

* docs: Updates contributors list

* Sort openPorts and failedPorts before returning

* docs: Updates contributors list

* Add more additional resources

* Fixes some URL site errors when visiting

* docs: Updates contributors list

* build: Create DockerHub tag, when new GitHub tag is created

* chore: Update default branch in Docker workflow

* revert: Docker workflow

* Update resource links

---------

Co-authored-by: Gertje823 <[email protected]>
Co-authored-by: Alicia Sykes <[email protected]>
Co-authored-by: liss-bot <[email protected]>
Co-authored-by: KostLinux <[email protected]>
Co-authored-by: GreyXor <[email protected]>
Co-authored-by: Myzel394 <[email protected]>
Co-authored-by: bolens <[email protected]>
Co-authored-by: Denis Simonov <[email protected]>
Co-authored-by: vitalykarasik <[email protected]>
Co-authored-by: Marcus Sand <[email protected]>
borowicz added a commit to borowicz/web-check that referenced this issue Jun 21, 2024
* Added Mimecast as mail provider

* docs: Updates contributors list

* docs: Adds Terminal Trove

* Adds Terminal Trove to about page

* Updates Terminal Trove in about page

* Adds link to terminal trove in homepage

* Updates Terminal Trove logo in README.md

* Adds express-rate-limit

* Bumps to V 1.1.0

* Slight improvments to error messaging for sitemap and quality report

* Adds optional rate-limiting functionality

* Adds docs for rate limit env var

* docs: Updates contributors list

* Adds timeout functionality

* If response is a timeout, set type to timeout

* Logging for timeout info, and adds key to map

* Update timeout message for sitemap

* Show timeout seperatley

* Adds unique keys to itteratbles, remove react warn

* Bump to V 1.1.2

* Reduce Vercel function timeout to 10 seconds

* Fix timeout parsing, and show timeout on Vercel

* docs: Updates contributors list

* Fix bug with JSON Doctype Lissy93#120

* feat: add external mozilla observatory tool

* docs: Updates contributors list

* docs: Updates contributors list

* fix: Add darkreader lock meta tag

* docs: Updates contributors list

* style: consistency between additional resources descriptions

* Fix: External links now open in a new tab

* Update additional page links

* docs: Updates contributors list

* docs: Updates contributors list

* Update firewall.js, add QRATOR WAF

Add new firewall: https://qrator.net/

* docs: Updates contributors list

* docs: Updates contributors list

* Update firewall.js, add ddos-guard WAF

Add ddos-guard WAF
https://ddos-guard.net/en

* docs: Updates contributors list

* CICD: bumped GHA versions

* docs: Updates contributors list

* Sort openPorts and failedPorts before returning

* docs: Updates contributors list

* Add more additional resources

* Fixes some URL site errors when visiting

* docs: Updates contributors list

* build: Create DockerHub tag, when new GitHub tag is created

* chore: Update default branch in Docker workflow

* revert: Docker workflow

* Update resource links

---------

Co-authored-by: Gertje823 <[email protected]>
Co-authored-by: Alicia Sykes <[email protected]>
Co-authored-by: liss-bot <[email protected]>
Co-authored-by: KostLinux <[email protected]>
Co-authored-by: GreyXor <[email protected]>
Co-authored-by: Myzel394 <[email protected]>
Co-authored-by: bolens <[email protected]>
Co-authored-by: Denis Simonov <[email protected]>
Co-authored-by: vitalykarasik <[email protected]>
Co-authored-by: Marcus Sand <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant