Page MenuHomePhabricator

Cycle redirect at first connection
Closed, InvalidPublic

Description

Hello, i just downloaded and installed phabricator. The code is up to date.

When i try to connect to the web interface, my browser show me a ERR_TOO_MANY_REDIRECT error.

I find this issue https://secure.phabricator.com/T4140 and activate the debu.stop-on-redirect configuration option

There is my stack

Stopped on Redirect

You were stopped here because debug.stop-on-redirect is set in your configuration.

You are being redirected to: http://phabricator.local/auth/register/


Depth	Library	File	Where
6	phabricator	applications/auth/controller/PhabricatorAuthStartController.php : 65	AphrontRedirectResponse::__construct()
5	phabricator	aphront/AphrontController.php : 71	PhabricatorAuthStartController::handleRequest()
4	phabricator	applications/base/controller/PhabricatorController.php : 191	AphrontController::delegateToController()
3	phabricator	aphront/configuration/AphrontApplicationConfiguration.php : 224	PhabricatorController::willBeginExecution()
2	phabricator	aphront/configuration/AphrontApplicationConfiguration.php : 149	AphrontApplicationConfiguration::processRequest()
1		/opt/QA/phabricator/webroot/index.php : 17	AphrontApplicationConfiguration::runHTTPRequest()
Continue

What can i do?

Event Timeline

epriestley added a subscriber: epriestley.

This report does not include valid reproduction instructions. These instructions are required; see Providing Reproduction Steps for help.

Difficulty installing and configuring Phabricator usually points at a misconfiguration, not a bug in Phabricator, so this is probably not an appropriate issue to open a bug for. See Support Resources for resources which may be more helpful.

This error for a new installation is usually do to a mis-configured webserver redirect. If you are using Apache, make sure to place the rules in httpd.conf or similar, not .htaccess.

Thanks for your message. Yes it was a server issue with Apache 2.4. Acces was denied. It's ok now.

I'm sorry for bringing this up again - I've got the exact same problem and there's nowhere else to discuss the issue.

@brice could you please give more detail how you solved the issue? I thought that I set up everything like described in the config guide, but I must've made a mistake...

Hm, Problem solved:
In my case there has been ServerName FooAddress defined in the default-server.conf while my vhost for Phabricator was configured to ServerName FooAddress.FullAddress.com. It seems as if Phabricator then was jumping between those two addresses?

I'm not the biggest expert when it comes to apache, but perhaps this'll help someone else in the future...