Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

This thread was closed and archived. Please ask a new question if you need help.

Firefox can’t establish a connection to the server at https://example.com

  • 1 reply
  • 1 has this problem
  • 2 views
  • Last reply by cor-el

more options

I have a webserver and I want to implement server-event Source via: EventSource("API.php") but I ran into error on random requests! For example After 120 Requests I get the error or the other time after 31 requests! what is the problem and how to solve that?

Site CODE:

<!DocType 'html'>
<html>
<head></head>
<body>
<div id="result"></div>

<script>
if(typeof(EventSource) !== "undefined") {
  // Yes! Server-sent events support!
  // Some code.....
var source = new EventSource("Example.php");
source.onmessage = function(event) {
  document.getElementById("result").innerHTML += event.data + "<br>";
}; 


} else {
  alert("Use FireFox to Load This Page! Your Browser is not supported...")
} 


</script>

</body>
<footer></footer>
</html>

I have a webserver and I want to implement server-event Source via: EventSource("API.php") but I ran into error on random requests! For example After 120 Requests I get the error or the other time after 31 requests! what is the problem and how to solve that? Site CODE: <pre><nowiki><!DocType 'html'> <html> <head></head> <body> <div id="result"></div> <script> if(typeof(EventSource) !== "undefined") { // Yes! Server-sent events support! // Some code..... var source = new EventSource("Example.php"); source.onmessage = function(event) { document.getElementById("result").innerHTML += event.data + "<br>"; }; } else { alert("Use FireFox to Load This Page! Your Browser is not supported...") } </script> </body> <footer></footer> </html></nowiki></pre><br>

Modified by cor-el

All Replies (2)

more options
more options

This question has been locked because the original author has deleted their account. While you can no longer post new replies, the existing content remains available for reference.