Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
refused connection
#8
mcgrim Wrote:Are you 100% positive that the problem I'm facing has to do with cv2 ?
No, not at all. You need to investigate why the loop never exits. First thing it is a while True loop, so how do you expect it to exit? Also the s.recv(4096) is potentially blocking if there is nothing to read on the socket. The best thing to do is to add print or logging statements in the loop until you find which statements are actually executed.
Reply


Messages In This Thread
refused connection - by mcgrim - Nov-02-2019, 10:52 PM
RE: refused connection - by Gribouillis - Nov-03-2019, 12:16 AM
RE: refused connection - by mcgrim - Nov-03-2019, 09:40 AM
RE: refused connection - by Gribouillis - Nov-03-2019, 09:51 AM
RE: refused connection - by mcgrim - Nov-03-2019, 10:13 AM
RE: refused connection - by Gribouillis - Nov-03-2019, 11:07 AM
RE: refused connection - by mcgrim - Nov-04-2019, 11:16 AM
RE: refused connection - by Gribouillis - Nov-04-2019, 11:45 AM
RE: refused connection - by mcgrim - Nov-04-2019, 11:56 AM
RE: refused connection - by Gribouillis - Nov-04-2019, 12:30 PM
RE: refused connection - by mcgrim - Nov-04-2019, 12:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Machine actively refused it. External IP only ramboahoe 1 3,505 Mar-28-2020, 12:46 AM
Last Post: ramboahoe
  No connection could be made becouse the target machine actively refused it. GottaAimHigherPal 1 2,847 Oct-18-2018, 01:59 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020