Skip to content

Unable to access admin for new WordCamp site in Docker local #782

@CdrMarks

Description

@CdrMarks

Describe the bug

After setting up a local environment running using the Docker instructions, and creating a new WordCamp and its site, I was unable to browse to the site.

Blocking: #777

To reproduce

Steps to reproduce the behavior:

  1. Setup your local environment using Docker.
  2. Create a new WordCamp at https://central.wordcamp.test/wp-admin/post-new.php?post_type=wordcamp. Mine was Ryan 2022.
  3. Advance the WordCamp to a status of "Needs Site" and enter any required information.
  4. Fill in the URL field (mine was https://ryan.wordcamp.test/2022/), check the box to Created site in network, and change the status to Needs Crowdsignal Account.
  5. Add to my /etc/hosts file an entry for my WordCamp. Mine is

127.0.0.1 wordcamp.test central.wordcamp.test city.wordcamp.test ryan.wordcamp.test

  1. Browse to https://wordcamp.test/wp-admin/network/sites.php and see the site.
  2. Click on Dashboard under my new site: https://ryan.wordcamp.test/2022/wp-admin/. See the following error:

This page isn’t working
ryan.wordcamp.test redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

  1. Clear all cookies following the instructions above.
  2. Browse to https://ryan.wordcamp.test/2022/wp-admin/. Continue to see the error
  3. Browse to https://ryan.wordcamp.test/2022/. Can see the new site's public pages without issue.

Attached is a zipped .HAR file.
ryan.wordcamp.test.har.zip

Expected behavior

I would be able to see the /wp-admin interface for the Ryan 2022 WordCamp.

Screenshots

image

image

System (please complete the following information):

  • Device: MBP
  • OS: macOS Monterey 12.4
  • Browser Chrome
  • Version 102.0.5005.115 (Official Build) (x86_64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Component] ToolingBuild tools, automated testing, source control, linting, etc

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions