question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection Refused

See original GitHub issue

Getting a slew of errors when I start Frigate. Camera is streaming find and I can test it with VLC.

/arrow/cpp/src/plasma/store.cc:738: Disconnecting client on fd 7


On connect called


/arrow/cpp/src/plasma/store.cc:1226: Allowing the Plasma store to use up to 0.4GB of memory.


/arrow/cpp/src/plasma/store.cc:1253: Starting object store with directory /dev/shm and huge page support disabled


Camera_process started for test: 20


Starting detection process: 19


Starting process for test: 20


ffprobe -v panic -show_error -show_streams -of json "rtsp://192.168.1.35:8554/stream"


 * Serving Flask app "detect_objects" (lazy loading)


 * Environment: production


   WARNING: This is a development server. Do not use it in a production deployment.


   Use a production WSGI server instead.


 * Debug mode: off


{'error': {'code': -111, 'string': 'Connection refused'}}


Process Process-2:


Traceback (most recent call last):


  File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap


    self.run()


  File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run


    self._target(*self._args, **self._kwargs)


  File "/opt/frigate/frigate/video.py", line 153, in track_camera


    frame_shape = get_frame_shape(ffmpeg_input)


  File "/opt/frigate/frigate/video.py", line 41, in get_frame_shape


    video_info = [s for s in info['streams'] if s['codec_type'] == 'video'][0]


KeyError: 'streams'


F :1133] HandleQueuedBulkIn transfer in failed. Not found: USB transfer error 5 [LibUsbDataInCallback]


/arrow/cpp/src/plasma/store.cc:738: Disconnecting client on fd 7

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
blakeblackshearcommented, May 11, 2020

Your width and height are indented under ffmpeg. You need to pull them up one level so they are even with ffmpeg.

0reactions
roofuskitcommented, May 11, 2020

Tried a different RTSP server and it connected. It appears that now it doesn’t see the Coral device. I know the coral device works I have a rest server setup and have tested it.

On connect called


/arrow/cpp/src/plasma/store.cc:1226: Allowing the Plasma store to use up to 0.4GB of memory.


/arrow/cpp/src/plasma/store.cc:1253: Starting object store with directory /dev/shm and huge page support disabled


Camera_process started for test: 20


Starting detection process: 19


Starting process for test: 20


eating ffmpeg process...


ffmpeg -hide_banner -loglevel panic -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -vsync drop -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.1.32:8554/unicast -f rawvideo -pix_fmt rgb24 pipe:


 * Serving Flask app "detect_objects" (lazy loading)


 * Environment: production


   WARNING: This is a development server. Do not use it in a production deployment.


   Use a production WSGI server instead.


 * Debug mode: off


No EdgeTPU detected. Falling back to CPU.
Read more comments on GitHub >

github_iconTop Results From Across the Web

What causes the 'Connection Refused' message? - Server Fault
The message 'Connection Refused' has two main causes: Nothing is listening on the IP:Port you are trying to connect to. The port is...
Read more >
What can be the reasons of connection refused errors?
Connection refused means that the port you are trying to connect to is not actually open. So either you are ...
Read more >
What is a TCP Connection Refused? - Pico Quantitative Trading
In general, connection refused errors are generated during a connect system call when an application attempts to connect using TCP to a server...
Read more >
How to Fix the SSH "Connection Refused" Error - Kinsta
Are you experiecing the "Connection refused" error when connecting via SSH? Learn what's causing the issue and follow these steps to get it ......
Read more >
How to Fix the SSH "Connection Refused" Error - phoenixNAP
Fix SSH connection refused by troubleshooting some of the common causes for this problem. Reasons and solutions for connection refused ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found