Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Error from CI backend. invalid json response body #76

Open
bronz3beard opened this issue Oct 15, 2019 · 1 comment
Open

Error from CI backend. invalid json response body #76

bronz3beard opened this issue Oct 15, 2019 · 1 comment

Comments

@bronz3beard
Copy link

bronz3beard commented Oct 15, 2019

I left the same comment here not sure if it would be seen on a closed issue. #41

Hi @ebidel
I have recently had the same or a similar issue running lh-bot, i was hoping you might be able to help me troubleshoot it.

This is the error:
(I have had the same error occur on 3 different PRs, and have not yet been able to get the bot to comment in the pr)
"Error from CI backend. invalid json response body at https://builder-dot-lighthouse-ci.appspot.com/ci reason: Unexpected token U in JSON at position 0"

This is the PR in staging: https://website-ssr-pr-14.herokuapp.com/

Travis yaml:
sudo: false
language: node_js
node_js:

'10'
install:
node -v
before_script:
yarn
cache:
directories:
    node_modules
    yarn: true
    git:
    depth: 3
    script:
    yarn build
    after_success:
    sleep 4m
    yarn run lhbot https://website-ssr-pr-$TRAVIS_PULL_REQUEST.herokuapp.com/ 

End of Travis Job Log:
$ sleep 4m
after_success.2
$ yarn run lhbot https://website-ssr-pr-$TRAVIS_PULL_REQUEST.herokuapp.com/
yarn run v1.15.2
$ lighthousebot -- --pwa=95 --perf=95 --seo=95 --a11y=95 --bp=95 https://website-ssr-pr-14.herokuapp.com/
Using runner: chrome
New Lighthouse scores:
"Error from CI backend. invalid json response body at https://builder-dot-lighthouse-ci.appspot.com/ci reason: Unexpected token U in JSON at position 0" Done. Your build exited with 0.

Please let me know if you need any other information from me im really keen to get this working 😃

@ebidel
Copy link
Contributor

ebidel commented Oct 17, 2019

Sorry, I haven't worked on this project for some time. I'm sure the team is maintaining the endpoint anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants