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

Failure when running happo on safari browser #177

Open
mat-sf opened this issue Aug 14, 2020 · 2 comments
Open

Failure when running happo on safari browser #177

mat-sf opened this issue Aug 14, 2020 · 2 comments

Comments

@mat-sf
Copy link

mat-sf commented Aug 14, 2020

Generating screenshots works ok on other browsers (chrome, iPhone, ie11), but when I try to generate screenshots on safari 1024x768 I receive:

 - ie11-1200x900 ✓ (84928.3ms)
Failed GET https://happo.io/api/snap-requests/${id}. Retrying...
Failed GET https://happo.io/api/snap-requests/${id}. Retrying...
Failed GET https://happo.io/api/snap-requests/${id}. Retrying...
Failed GET https://happo.io/api/snap-requests/${id}. Retrying...
Failed GET https://happo.io/api/snap-requests/${id}. Retrying...
✗ (218767.5ms)
StatusCodeError: 500 - "An error occurred for browser-safari: Failed on worker"
    at new StatusCodeError (${projPath}/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (${projPath}/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (${projPath}/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (${projPath}/node_modules/request/request.js:185:22)
    at Request.emit (events.js:315:20)
    at Request.<anonymous> (${projPath}/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:315:20)
    at IncomingMessage.<anonymous> (${projPath}/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:421:28)
    at IncomingMessage.emit (events.js:327:22)

${projPath}/node_modules/request-promise-core/lib/errors.js:32
        Error.captureStackTrace(this);
              ^
StatusCodeError: 500 - "An error occurred for browser-safari: Failed on worker"
    at new StatusCodeError (${projPath}/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (${projPath}/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (${projPath}/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (${projPath}/node_modules/request/request.js:185:22)
    at Request.emit (events.js:315:20)
    at Request.<anonymous> (${projPath}/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:315:20)
    at IncomingMessage.<anonymous> (${projPath}/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:421:28)
    at IncomingMessage.emit (events.js:327:22)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Exit status 1
@trotzig
Copy link
Contributor

trotzig commented Aug 14, 2020

Hi @mat-sf! Can you send me the id/name of your account in an email to support@happo.io? I'll have a look at this during the day.

@trotzig
Copy link
Contributor

trotzig commented Aug 14, 2020

We're continuing this in an email thread, but here's some context:

  • This is a Storybook integration
  • One of the stories is taking a long time rendering in Safari
  • Eventually things timeout and fail the snap-request job (this is what's causing those failed GETs).

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

No branches or pull requests

2 participants