New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
302 ERR_TOO_MANY_REDIRECTS #431
Comments
how do you install it? docker? or manual? |
manual CentOS 8.2 and when i enter supervisorctl status it seems everything is OK but when i Go to http://serverip |
First when i Go to http://serverip then i enter setsebool -P httpd_can_network_connect 1 502 disappear and 302 Happen who can help me ? |
when i enter wget localhost:8000 -2021-04-23 23:26:34-- http://localhost:8000/ |
Same issue on Ubuntu 20.04 (from Safari) after manual installation (I followed instructions given on the GitHub main page). |
can you please try it with docker or podman. |
do you solved the problem? I try everything,but it donot work |
OK thank you . |
Tried on CentOS 7 (following your instructions) then with Docker: ALWAYS
the same error "too many redirections".
I'm really curious to understand the reason of the issue.
With cURL (if it can helps) :
gen8lm2:*webvirtcloud* root# *docker run -d -p 8888:80 -p 6080:6080
retspen/webvirtcloud:1*
274f972df1a6f02d1d4f375a790719d76db75b7d34188d0d631b400260389ea8
gen8lm2:*webvirtcloud* root# *docker ps*
CONTAINER ID IMAGE COMMAND CREATED
STATUS PORTS
NAMES
274f972df1a6 retspen/webvirtcloud:1 "/sbin/my_init" 6 seconds
ago Up 3 seconds 0.0.0.0:6080->6080/tcp, :::6080->6080/tcp,
0.0.0.0:8888->80/tcp,
:::8888->80/tcp loving_ramanujan
gen8lm2:*webvirtcloud* root# *curl localhost:8888*
gen8lm2:*webvirtcloud* root# *curl -I localhost:8888*
HTTP/1.1 302 Found
*Server*: nginx/1.14.0 (Ubuntu)
*Date*: Sun, 25 Apr 2021 00:07:05 GMT
*Content-Type*: text/html; charset=utf-8
*Content-Length*: 0
*Connection*: keep-alive
*Location*: /accounts/login/?next=/
*Vary*: Accept-Language, Cookie
*Content-Language*: en
Le dim. 25 avr. 2021 à 00:00, catborise ***@***.***> a écrit :
… can you please try it with docker or podman.
you will find the instructions at wiki page.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUM2JVB3UYUYINWWZHENOTTKM5RHANCNFSM43OEWTMQ>
.
--
Sincèrement,
Yannick Cadin
Diablotin - La formation Unix, Linux, xBSD, OS X, Solaris, AIX, HP-UX
|
i try curl -I localhost HTTP/1.1 302 Found |
I meant you can reproduce the issue, while looking at the headers, with in
fact (I added the L option which fakes the typical behavior of a web
browser):
*curl -IL localhost:8888*
Le dim. 25 avr. 2021 à 02:26, tree1123 ***@***.***> a écrit :
… Tried on CentOS 7 (following your instructions) then with Docker: ALWAYS
the same error "too many redirections". I'm really curious to understand
the reason of the issue. With cURL (if it can helps) : gen8lm2:
*webvirtcloud* root# *docker run -d -p 8888:80 -p 6080:6080
retspen/webvirtcloud:1*
274f972df1a6f02d1d4f375a790719d76db75b7d34188d0d631b400260389ea8 gen8lm2:
*webvirtcloud* root# *docker ps* CONTAINER ID IMAGE COMMAND CREATED
STATUS PORTS NAMES 274f972df1a6 retspen/webvirtcloud:1 "/sbin/my_init" 6
seconds ago Up 3 seconds 0.0.0.0:6080->6080/tcp, :::6080->6080/tcp,
0.0.0.0:8888->80/tcp, :::8888->80/tcp loving_ramanujan gen8lm2:
*webvirtcloud* root# *curl localhost:8888* gen8lm2:*webvirtcloud* root# *curl
-I localhost:8888* HTTP/1.1 302 Found *Server*: nginx/1.14.0 (Ubuntu)
*Date*: Sun, 25 Apr 2021 00:07:05 GMT *Content-Type*: text/html;
charset=utf-8 *Content-Length*: 0 *Connection*: keep-alive *Location*:
/accounts/login/?next=/ *Vary*: Accept-Language, Cookie *Content-Language*:
en Le dim. 25 avr. 2021 à 00:00, catborise *@*.***> a écrit :
… <#m_5671499286464406501_m_-5992401153406263839_>
can you please try it with docker or podman. you will find the
instructions at wiki page. — You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#431 (comment)
<#431 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUM2JVB3UYUYINWWZHENOTTKM5RHANCNFSM43OEWTMQ
.
-- Sincèrement, Yannick Cadin Diablotin - La formation Unix, Linux, xBSD,
OS X, Solaris, AIX, HP-UX
i try
curl -I localhost
HTTP/1.1 302 Found
Server: nginx/1.14.1
Date: Sun, 25 Apr 2021 00:25:27 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
Location: /accounts/login/?next=/
Vary: Accept-Language, Cookie
Content-Language: en
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUM2JUZ455BE5GYRLQSFQDTKNOURANCNFSM43OEWTMQ>
.
--
Sincèrement,
Yannick Cadin
Diablotin - La formation Unix, Linux, xBSD, OS X, Solaris, AIX, HP-UX
|
i enter curl -IL localhost HTTP/1.1 302 Found HTTP/1.1 302 Found HTTP/1.1 302 Found curl: (47) Maximum (50) redirects followed |
i found the problem. it is related with django otp. after package updates it breaks... i will send patch |
Thanks in advance |
everything is ok,thank you |
Far better indeed. (Simply pip uninstall the 3 incriminated modules then installing them again with the right versions.) |
it seems everything is ok。
but when i Go to http://serverip
the url become http://serverip/accounts/login/?next=/accounts/login/
and tell me ERR_TOO_MANY_REDIRECTS
why?
The text was updated successfully, but these errors were encountered: