Questions tagged [secure-context]

Use this tag when you see a message in the browser devtools console mentioning "secure context” and you want to know if it’s possible to eliminate the error. Also for other questions on secure contexts, as defined in the Secure Context specification.

30 questions
2
votes
1 answer

Links to insecure pages from a secure page

I know that mixed content occurs when the initial HTML is loaded over a secure HTTPS connection, but other resources (such as images, videos, stylesheets, scripts) are loaded over an insecure HTTP connection. This is called mixed content because…
MikeJRamsey56
  • 2,779
  • 1
  • 20
  • 34
2
votes
1 answer

Google Maps API Error: “"Position Error: Only secure origins are allowed"”

I have tried to integrate google map in ionic 3 android project. It works fine when run as 'ionic serve', but not in 'ionic cordova run android'. I see only a blank page on emulator.
Anu
  • 733
  • 1
  • 7
  • 24
1
vote
1 answer

check if page is served securely over https

I am creating a chrome extension that exposes extra APIs to websites. Before these APIs can be used by websites, I want to show a warning if the website was served over HTTP and not HTTPS. This is because these APIs reduce the web sandbox and could…
David Callanan
  • 5,601
  • 7
  • 63
  • 105
1
vote
2 answers

Use google's PaymentRequest on local site running in Android Emulator

I'm trying to test out Google's PaymentRequest api on a local website running in my android emulator. However, when I do var paymentRequest = window.PaymentRequest(//some object here//); I get the following error "Error: Failed to construct…
whatoncewaslost
  • 2,216
  • 2
  • 17
  • 25
1
vote
1 answer

Chromecast 1.24 EME on http:// context

We are currently using EME in a non-secure contexts, and testing it on the Chromecast 1.24 still works. Will this be removed in the final release of chromecast 1.24? According to this it…
user6719137
0
votes
1 answer

Voice message capture no longer working regardless of Secure Context / HTTPS on mobile

I am building an appointment scheduling web app (calendar like) that allows users to leave voice messages (explanations) at certain time points that others can retrieve remotely at their convenience. It works well on PC but I can't get it to work on…
0
votes
1 answer

Service worker on a not fully HTTPS webapp

I'm currently implementing Firebase to send Webpush notification on a not fully HTTPS webapp. As webpsuh is using service worker, I did some research and on Google Developers website it is stated: You can only register service workers on pages…
VictorGalisson
  • 635
  • 9
  • 27
0
votes
1 answer

Geolocation error when url has ip

I had an webapp that uses Geolocation, but, when url has ip, the Geolocation doesn't work. I catch this error: PositionError {code: 1, message: "Only secure origins are allowed ...
0
votes
1 answer

Redirect NGINX HTTPS domain to new HTTPS domain

After spending hours using duckduckgo, this was the best answer I arrived at and it's still not working to redirect a currently HTTPS domain to a new HTTPS domain. server { listen 80; listen 443 ssl; server_name www.olddomain.com…
Case
  • 4,244
  • 5
  • 35
  • 53
0
votes
0 answers

How do I identify inputs that Chrome considers 'credit-card inputs'?

I see the following warning for a page: This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. How do I identify the input that is causing this warning? There are no password inputs on…
Bobby Jack
  • 15,689
  • 15
  • 65
  • 97
0
votes
1 answer

If I use an API from a non-SSL website, are browsers required to give a mixed content error?

The title says it all. If I use an API from a non-SSL website, do I know I will I get a mixed content error from browsers? That is, is a mixed-content error for that case what the relevant standards require browsers to do?
bumbleshoot
  • 1,082
  • 2
  • 17
  • 32
0
votes
1 answer

Mixed Content with http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js

I have a web application using ASP.NET 4. It displayed error below : Mixed Content: The page at 'https://... was loaded over HTTPS, but requested an insecure script 'http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js'. This request has been…
-1
votes
1 answer

This page includes a password or credit card input in a non-secure context

This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. my signup code is not working because of this error
ritu cd
  • 1
  • 1
-1
votes
1 answer

Ajax call/javascript - working fine on IE, Firefox and Safari but not on Chrome

I have the following page on a website that works fine when a user selects BEGINNER and 00-Intro to Programming - and enters any username twice (and presses submit) http://www.teachyourselfpython.com/testandtrack_v5/index.php Note: it works…
Compoot
  • 2,227
  • 6
  • 31
  • 63
-3
votes
2 answers

Chrome not supporting getUserMedia

I have a form in my laravel webapp where the user needs to add a profile picture through webcam. While developing in localhost(secure origin), it was working fine but now when i am trying to access it using my IP address, it doesn't seem to work. I…
Shiraj
  • 72
  • 10
1
2