Gatsby-source-wordpress-experimental: Gatsby doesn't run when auth option is set

Created on 26 Sep 2020  路  5Comments  路  Source: gatsbyjs/gatsby-source-wordpress-experimental

Using version 1.4.4.
After adding auth option, gatsby develop exits with error
TypeError: Parameter auth is deprecated. Use username / password instead.

obraz

obraz

address before stable release bug

Most helpful comment

Turns out this was a dupe of https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/issues/53
A fix is published in [email protected]. Thanks for your patience here!

All 5 comments

I am seeing the same problem after upgrading to 1.4.4 and 1.4.5 where media download failed when running "gatsby build"

Error I am seeing:
info pushing https://www.example.com/image.jpg to the end of the request queue. info Previously retried 4 times already.
And
failed to process https://www.example.com/image.jpg TypeError: Parameterauthis deprecated. Useusername/passwordinstead.

Set GATSBY_CONCURRENT_DOWNLOAD to 30 but still to no success.

Environment
Wordpress behind htaccess authentication
gatsby-source-wordpress-experimental: 1.4.5 (error since 1.4.2)
wp-gatsby: 0.4.17
wp-graphql: 0.13.1

Temporary workaround
Downgraded back to 1.4.1 seems to solve the problem for me, as media download successfully without error.

Same error here using WP Engine and password protect. Version 1.4.2 seems to work for me

Problem remains with the latest release of gatsby-source-wordpress-experimental (v1.5.3).

@TylerBarnes Should this be label as bug, as site build failed when htaccess authentication is set? WordPress site without authentication are build successfully.

@hazuremon absolutely. I'll get this fixed and add htaccess auth to the test instance so this wont regress again. I'll follow up soon. Thanks for your patience!

Turns out this was a dupe of https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/issues/53
A fix is published in [email protected]. Thanks for your patience here!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stephan-swiftcom picture stephan-swiftcom  路  4Comments

nunof07 picture nunof07  路  5Comments

mawnir picture mawnir  路  4Comments

vscncls picture vscncls  路  6Comments

MobyDigg picture MobyDigg  路  4Comments