Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3225

400: Bad request error when creating many variants and tokens

XMLWordPrintable

    • 8
    • Hide
      1. Drop & recreate the Unifiedpush database on mysql (to be sure the test is not invalidated by existing data)
      2. Restart jboss: the tables will be created and a fresh UPS will be ready
      3. Run the mock-data-loader and create 1 app with 100 variants and 100 tokens
      4. Access the admin ui. If the wizard windows appear, dismiss it.
      5. You will get the 400 error

      The mock data loader can be cloned from: github.com:aerogear/ups-mock-data-loader

      You can run the mock data loader with the following command line:

      ./mock-data-loader.sh -u admin -p yourpassword -a 1 -v 100 -t 100
      

      In the event the error does not pop up (rare), create 100 app with 1 variant and 1 token and then create again an app with 100 variants and 100 tokens.

      Show
      Drop & recreate the Unifiedpush database on mysql (to be sure the test is not invalidated by existing data) Restart jboss: the tables will be created and a fresh UPS will be ready Run the mock-data-loader and create 1 app with 100 variants and 100 tokens Access the admin ui. If the wizard windows appear, dismiss it. You will get the 400 error The mock data loader can be cloned from: github.com:aerogear/ups-mock-data-loader You can run the mock data loader with the following command line: ./mock-data-loader.sh -u admin -p yourpassword -a 1 -v 100 -t 100 In the event the error does not pop up (rare), create 100 app with 1 variant and 1 token and then create again an app with 100 variants and 100 tokens.

      After creating many variants and tokens, you can't access the UPS Admin interface anymore because, right after the login, e 400: Bad Request error is raised.

              Unassigned Unassigned
              mziccard Massimiliano Ziccardi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: