When login to local drupal admin, the result error occurred. The site is redirected to port 80.
This site can’t be reached
dev.mysite.cm unexpectedly closed the connection.
Try:
Checking the connection
Checking the proxy and the firewall
Running Network Diagnostics
ERR_CONNECTION_CLOSED
ReloadHIDE DETAILS
Check your Internet connection
Check any cables and reboot any routers, modems, or other network devices you may be using.
Allow Chrome to access the network in your firewall or antivirus settings.
If it is already listed as a program allowed to access the network, try removing it from the list and adding it again.
If you use a proxy server…
Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to Applications > System Preferences > Network > Advanced > Proxies and deselect any proxies that have been selected.
Comments
Comment #2
itsCharlie CreditAttribution: itsCharlie commentedComment #3
itsCharlie CreditAttribution: itsCharlie commentedNot sure if it's related but clicking the link "Login with your SSO account" and type in /saml_login/ both goes to the /user/login page for authentication. Regardless of which user/password is typed in, it always said, "Unrecognized username or password."
Comment #4
itsCharlie CreditAttribution: itsCharlie commentedThese are the instructions I followed and they are pretty much similar.
I am wondering if it has something to do with this configuration in the settings.php file. Again, entering /saml_login/ will redirect back to user/login instead.
Comment #5
aprohl5 CreditAttribution: aprohl5 as a volunteer commentedHi Its Charlie -
If you followed the above documentation, were you able to successfully test authentication of the default-sp at dev.mysite.com/simplesaml/module.php/core/authenticate.php by clicking the default-sp link on that page and logging in?
Just so you know, it is unlikely that this error is caused by the module. I have set up simplesaml with this module numerous times and never needed to make any changes to the module itself.
Comment #6
itsCharlie CreditAttribution: itsCharlie commentedI am successfully able to test the simplesamlph with http://dev.mysite.com/simplesaml but not with dev.mysite.com/saml_login. I have not tried dev.mysite.com/simplesaml/module.php/core/authenticate.php; however, I've found out that for some reason (perhaps it's me or something) but the simplesamlphp_auth module or Drupal 8 do not use the simplesamlphp folder at the same level as the docroot folder. We use composer and composer installed another simpelsamlphp at the vendor/simplesamlphp/simplesamlphp location instead. That seemed to be the source of the issue. All the instructions I've listed above did not mention anything about the vendor/simplesamlphp/simplesamlphp folder. Once I've created a symlink in the docroot folder to the vendor/simplesamlphp/simplesamlphp/www folder it works. However, my concerns is, once we've made configuration changes to simplesamlphp inside the vendor folder, future updates may wipe out those settings.
Comment #7
itsCharlie CreditAttribution: itsCharlie commentedBy the way, I'm able to login but when I logged out, I receive the same error. I have not been able to trace it to the source of the issue.
Comment #8
itsCharlie CreditAttribution: itsCharlie commentedPer the logout issue I'm having, I'm able to logout fine under dev.www.mysite.com/simplesaml/ after I've gone through the logging to test and it shows all my attributes. At the bottom left corner, when clicked the Logout URL, it logs me out fine; however, when I'm in Drupal main site, I got the same error when clicked the Log Out. Again, not sure if it's related but just throwing things out that I've encountered.
Comment #9
itsCharlie CreditAttribution: itsCharlie commentedI have a multisite setup and while I got one site to work, another site I am getting this exact error when trying to login as the local drupal admin user. If I turn set the simplesamlphp_auth.settings activate to false then I'm able to login dupal using the local admin user fine. I still have not figured this one out.
Comment #10
heddnMight be solveable with #2758127: Conflict between the autoload of simpleSAMLphp Authentication and Xautoload
Comment #11
BerdirThis is 2+years old, so closing as an old support requests, we did a good amount of improvements for non-composer based installations a while ago.
Comment #12
Berdir