amplify-js: AWSPinpointProvider - Initial endpoint update failed

Describe the bug We have a remote logging system. Suddenly we started to get flooded by AWSPinpointProvider - Initial endpoint update failed errors. This error message doesn’t come with any reason or why is failing or the context or the error

To Reproduce

AWSPinpointProvider - Initial endpoint update failed Cannot be reproduced. Is the error fired at https://github.com/aws-amplify/amplify-js/blob/a63261d0f5971cbf4f5a6afebacfe598c56ad0d9/packages/analytics/src/Providers/AWSPinpointProvider.ts#L509

Expected behavior A context of why all the retry failed

Screenshots If applicable, add screenshots to help explain your problem.

Environment
npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages
npx: installed 1 in 7.622s

  System:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz
    Memory: 61.24 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 8.16.2 - ~/.nvm/versions/node/v8.16.2/bin/node
    npm: 6.4.1 - ~/.nvm/versions/node/v8.16.2/bin/npm
  Browsers:
    Chrome: 79.0.3945.130
    Firefox: 68.4.2
    Safari: 13.0.5
  npmPackages:
    @aws-amplify/analytics: ^2.2.2 => 2.2.2 
    @aws-amplify/auth: ^2.1.3 => 2.1.3 
    @aws-amplify/core: ^2.2.2 => 2.2.2 
    @babel/core: ^7.8.3 => 7.8.3 
    @babel/plugin-proposal-class-properties: ^7.8.3 => 7.8.3 
    @babel/plugin-proposal-export-default-from: ^7.8.3 => 7.8.3 
    @babel/plugin-proposal-nullish-coalescing-operator: ^7.8.3 => 7.8.3 
    @babel/plugin-proposal-object-rest-spread: ^7.8.3 => 7.8.3 
    @babel/plugin-proposal-optional-chaining: ^7.8.3 => 7.8.3 
    @babel/plugin-proposal-throw-expressions: ^7.8.3 => 7.8.3 
    @babel/plugin-syntax-dynamic-import: ^7.8.3 => 7.8.3 
    @babel/plugin-transform-modules-commonjs: ^7.8.3 => 7.8.3 
    @babel/polyfill: ^7.8.3 => 7.8.3 
    @babel/preset-env: ^7.8.3 => 7.8.3 
    @babel/preset-react: ^7.8.3 => 7.8.3 
    @babel/preset-typescript: ^7.8.3 => 7.8.3 
    @fortawesome/fontawesome-svg-core: ^1.2.26 => 1.2.26 
    @fortawesome/free-solid-svg-icons: ^5.6.3 => 5.6.3 
    @fortawesome/react-fontawesome: ^0.1.8 => 0.1.8 
    @hocs/with-intersection-observer-props: ^0.5.0 => 0.5.0 
    @types/enzyme: ^3.10.4 => 3.10.4 
    @types/enzyme-adapter-react-16: ^1.0.5 => 1.0.5 
    @types/jest: ^24.9.0 => 24.9.0 
    @types/qs: ^6.9.0 => 6.9.0 
    @types/react: ^16.9.17 => 16.9.17 
    @types/react-dom: ^16.9.4 => 16.9.4 
    @types/react-redux: ^7.1.6 => 7.1.6 
    @types/react-router: ^5.1.4 => 5.1.4 
    @types/react-router-dom: ^5.1.3 => 5.1.3 
    @typescript-eslint/eslint-plugin: ^2.16.0 => 2.16.0 
    @typescript-eslint/parser: ^2.16.0 => 2.16.0 
    @welldone-software/why-did-you-render: ^3.5.0 => 3.5.0 
    awesome-typescript-loader: ^5.2.1 => 5.2.1 
    aws-sdk: ^2.606.0 => 2.606.0 
    axios: ^0.18.0 => 0.18.1 
    babel-eslint: ^10.0.3 => 10.0.3 
    babel-jest: ^24.9.0 => 24.9.0 
    babel-loader: ^8.0.4 => 8.0.6 
    babel-plugin-dynamic-import-node: ^2.2.0 => 2.3.0 
    babel-plugin-transform-es2015-modules-commonjs: ^6.26.2 => 6.26.2 
    clean-webpack-plugin: ^3.0.0 => 3.0.0 
    connected-react-router: ^6.6.1 => 6.6.1 
    css-loader: ^3.4.2 => 3.4.2 
    date-fns: ^2.9.0 => 2.9.0 
    dompurify: ^2.0.7 => 2.0.7 
    enzyme: ^3.11.0 => 3.11.0 
    enzyme-adapter-react-16: ^1.15.2 => 1.15.2 
    enzyme-to-json: ^3.4.3 => 3.4.3 
    eslint: ^6.8.0 => 6.8.0 
    eslint-config-airbnb: ^18.0.1 => 18.0.1 
    eslint-config-airbnb-typescript: ^6.3.1 => 6.3.1 
    eslint-config-prettier: ^6.9.0 => 6.9.0 
    eslint-import-resolver-webpack: ^0.10.1 => 0.10.1 
    eslint-loader: ^3.0.3 => 3.0.3 
    eslint-plugin-import: ^2.20.0 => 2.20.0 
    eslint-plugin-jsx-a11y: ^6.1.2 => 6.2.3 
    eslint-plugin-no-only-tests: ^2.4.0 => 2.4.0 
    eslint-plugin-prettier: ^3.1.2 => 3.1.2 
    eslint-plugin-react: ^7.18.0 => 7.18.0 
    eslint-plugin-react-hooks: ^2.3.0 => 2.3.0 
    file-loader: ^4.3.0 => 4.3.0 
    github-markdown-css: ^3.0.1 => 3.0.1 
    html-webpack-plugin: ^3.2.0 => 3.2.0 
    husky: ^3.1.0 => 3.1.0 
    i: ^0.3.6 => 0.3.6 
    i18next: ^15.0.3 => 15.1.3 
    immer: ^5.3.2 => 5.3.2 
    jest: ^24.9.0 => 24.9.0 
    jest-cli: ^24.9.0 => 24.9.0 
    jest-environment-jsdom: ^24.9.0 => 24.9.0 
    jest-localstorage-mock: ^2.4.0 => 2.4.0 
    json-stable-stringify: ^1.0.1 => 1.0.1 
    lint-staged: ^8.1.0 => 8.2.1 
    lodash-es: ^4.17.15 => 4.17.15 
    lru-cache: ^5.1.1 => 5.1.1 
    memoize-one: ^5.1.1 => 5.1.1 
    mini-css-extract-plugin: ^0.5.0 => 0.5.0 
    node-sass: ^4.13.0 => 4.13.0 
    optimize-css-assets-webpack-plugin: ^5.0.1 => 5.0.3 
    prettier: ^1.19.1 => 1.19.1 
    prop-types: ^15.6.2 => 15.7.2 
    pushstate-server: ^3.0.1 => 3.1.0 
    qs: ^6.9.1 => 6.9.1 
    rc-progress: ^2.5.2 => 2.5.2 
    react: ^16.12.0 => 16.12.0 
    react-dom: ^16.12.0 => 16.12.0 
    react-i18next: ^10.13.2 => 10.13.2 
    react-redux: ^7.1.3 => 7.1.3 
    react-reveal: ^1.2.2 => 1.2.2 
    react-router-dom: ^5.1.2 => 5.1.2 
    redux: ^4.0.5 => 4.0.5 
    redux-logger: ^3.0.6 => 3.0.6 
    redux-mock-store: ^1.5.4 => 1.5.4 
    redux-saga: ^1.1.3 => 1.1.3 
    redux-saga-test-plan: ^4.0.0-rc.3 => 4.0.0-rc.3 
    sass-loader: ^8.0.2 => 8.0.2 
    selectorator: ^4.0.1 => 4.0.3 
    showdown: ^1.9.1 => 1.9.1 
    source-map-loader: ^0.2.4 => 0.2.4 
    stacktrace-js: ^2.0.2 => 2.0.2 
    style-loader: ^1.1.3 => 1.1.3 
    terser-webpack-plugin: ^2.3.2 => 2.3.2 
    ts-jest: ^24.3.0 => 24.3.0 
    typescript: ^3.7.5 => 3.7.5 
    typescript-fsa: ^3.0.0 => 3.0.0 
    url-loader: ^2.3.0 => 2.3.0 
    uuid: ^3.4.0 => 3.4.0 
    webpack: ^4.41.5 => 4.41.5 
    webpack-bundle-analyzer: ^3.6.0 => 3.6.0 
    webpack-cli: ^3.3.10 => 3.3.10 
    webpack-dev-server: ^3.10.1 => 3.10.1 
    webpack-merge: ^4.2.2 => 4.2.2 
    why-did-you-update: ^1.0.6 => 1.0.6 
  npmGlobalPackages:
    npm: 6.4.1

You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = ‘DEBUG’; in your app.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 3
  • Comments: 17 (6 by maintainers)

Most upvoted comments

@mariotsi @EugeneDraitsev : are you using react-native? There was a recent fix some issue with cache. Could you try 2.2.3-unstable.18 ?