sitespeedio / sitespeedio/sitespeed.io
I'm unable to store my sitespeed result on influxdb
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 624
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 2
Description
Have you read the documentation?
- Yes, I've read the how to make a reproducable bug guide
- Yes, I've read the how to debug my script guide
URL
What are you trying to accomplish
Getting the below error.
{
"url": ["https://www.example.com"],
"browsertime": {
"iterations": 1,
"browser": "chrome"
},
"influxdb": {
"host": "http://localhost:8086/",
"port": 8086,
"protocol": "http",
"database": "sitespeed",
"username": "xxx",
"password": "xxx",
"token": "xyz-b00Q==",
"org": "incred",
"bucket": "sitespeed"
}
}
What browser did you use?
Chrome
How to reproduce
docker run --rm -v "$(pwd)/sitespeed-config.json:/sitespeed-config.json" \
sitespeedio/sitespeed.io \
--config /sitespeed-config.json \
https://www.example.com
docker run --rm -v "$(pwd)/sitespeed-config.json:/sitespeed-config.json" \
sitespeedio/sitespeed.io \
--config /sitespeed-config.json \
https://www.example.com
Google Chrome 126.0.6478.55
Mozilla Firefox 127.0
Microsoft Edge 125.0.2535.92
[2024-07-03 11:15:30] INFO: Versions OS: linux 6.6.16-linuxkit nodejs: v20.9.0 sitespeed.io: 34.3.5 browsertime: 22.5.3 coach: 8.0.2
[2024-07-03 11:15:31] INFO: Running tests using Chrome - 1 iteration(s)
[2024-07-03 11:15:32] INFO: Testing url https://www.example.com iteration 1
[2024-07-03 11:15:41] INFO: Take after page complete check screenshot
[2024-07-03 11:15:42] INFO: Take cumulative layout shift screenshot
[2024-07-03 11:15:42] INFO: Take largest contentful paint screenshot
[2024-07-03 11:15:45] INFO: Use the visual metrics portable script
[2024-07-03 11:15:45] INFO: Get visual metrics from the video
[2024-07-03 11:15:47] INFO: https://www.example.com 2 requests, TTFB: 1.10s, firstPaint: 1.16s, firstVisualChange: 1.19s, FCP: 1.16s, DOMContentLoaded: 1.11s, LCP: 1.16s, CLS: 0, TBT: 0ms, CPUBenchmark: 72ms, Load: 1.11s, speedIndex: 1.19s, visualComplete85: 1.19s, lastVisualChange: 1.19s
[2024-07-03 11:15:48] INFO: The server responded with a 404 status code for https://www.example.com/favicon.ico
[2024-07-03 11:15:48] ERROR: Error: getaddrinfo ENOTFOUND http
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
[2024-07-03 11:15:48] ERROR: Error: getaddrinfo ENOTFOUND http
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
[2024-07-03 11:15:48] ERROR: Error: getaddrinfo ENOTFOUND http
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
[2024-07-03 11:15:48] ERROR: Error: getaddrinfo ENOTFOUND http
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
[2024-07-03 11:15:48] ERROR: Error: getaddrinfo ENOTFOUND http
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
[2024-07-03 11:15:48] ERROR: Error: getaddrinfo ENOTFOUND http
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
[2024-07-03 11:15:48] ERROR: Error: getaddrinfo ENOTFOUND http
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
Log output
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied sitespeed-config.json and Docker invocation, then trace the InfluxDB output integration's handling of the configured host and protocol. Reproduce the ENOTFOUND http error and compare the accepted connection settings with the reported configuration; done means the run stores results in InfluxDB without DNS errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100