Https Request redirect to Http Request
Closed this issue · 2 comments
nambh1999 commented
Em thử đăng nhập ở trên web https://hoclieu.vn qua cypress thì nó báo lỗi như này ạ
"Mixed Content: The page at 'https://hoclieu.vn/__/#/tests/integration\test\sample.spec.js' was loaded over HTTPS, but requested an insecure resource 'http://accounts.sachmem.vn/users/sign_in'. This request has been blocked; the content must be served over HTTPS."
Em đọc trên cypress thì có thấy là nếu test bằng https mà chuyển về http thì nó sẽ báo lỗi ạ.
truonganhhoang commented
Em xem ở đây:
#4
…On Tue, Oct 1, 2019, 23:54 nambh1999 ***@***.***> wrote:
Em thử đăng nhập ở trên web https://hoclieu.vn qua cypress thì nó báo lỗi
như này ạ
"Mixed Content: The page at '
https://hoclieu.vn/__/#/tests/integration\test\sample.spec.js' was loaded
over HTTPS, but requested an insecure resource '
http://accounts.sachmem.vn/users/sign_in'. This request has been blocked;
the content must be served over HTTPS."
Em đọc trên cypress thì có thấy là nếu test bằng https mà chuyển về http
thì nó sẽ báo lỗi ạ.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AAFN2O7PMCIZJGSKJBMAACDQMN6DLA5CNFSM4I4ME5CKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HO47O7A>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFN2O6B5NJE3KTDAM3B6GDQMN6DLANCNFSM4I4ME5CA>
.
phamconganh commented
@nambh1999 nếu bạn đã fix được lỗi thì mình đóng issue lại nhé