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.

Impossible to connect

See original GitHub issue

Hello, The run_cil.py script cannot connect to the server. When trying to establish a connection, I get a connection refused or connection timed out errors. I know this is not a firewall or network reachability problem as I can run the manual_driving.py script and can control the vehicle remotely.

Find the output generated by running run_CIL.py below. I’d appreciate if any potential solution is shared.

 === Conv 0   :   5 2 32
Dropout 0
Tensor("Network/conv_block0/relu1:0", shape=(?, 42, 98, 32), dtype=float32)
 === Conv 1   :   3 1 32
Dropout 1
Tensor("Network/conv_block1/relu2:0", shape=(?, 40, 96, 32), dtype=float32)
 === Conv 2   :   3 2 64
Dropout 2
Tensor("Network/conv_block2/relu3:0", shape=(?, 19, 47, 64), dtype=float32)
 === Conv 3   :   3 1 64
Dropout 3
Tensor("Network/conv_block3/relu4:0", shape=(?, 17, 45, 64), dtype=float32)
 === Conv 4   :   3 2 128
Dropout 4
Tensor("Network/conv_block4/relu5:0", shape=(?, 8, 22, 128), dtype=float32)
 === Conv 5   :   3 1 128
Dropout 5
Tensor("Network/conv_block5/relu6:0", shape=(?, 6, 20, 128), dtype=float32)
 === Conv 6   :   3 1 256
Dropout 6
Tensor("Network/conv_block6/relu7:0", shape=(?, 4, 18, 256), dtype=float32)
 === Conv 7   :   3 1 256
Dropout 7
Tensor("Network/conv_block7/relu8:0", shape=(?, 2, 16, 256), dtype=float32)
Tensor("Network/reshape:0", shape=(?, 8192), dtype=float32)
 === FC 0   :   512
Dropout 8
Tensor("Network/fc1/relu9:0", shape=(?, 512), dtype=float32)
 === FC 1   :   512
Dropout 9
 === FC 2   :   128
Dropout 10
 === FC 3   :   128
Dropout 11
 === FC 4   :   512
Dropout 12
 === FC 5   :   256
Dropout 13
 === FC 6   :   256
Dropout 14
Tensor("Network/Branch_0/fc7/relu15:0", shape=(?, 256), dtype=float32)
 === FC 8   :   256
Dropout 15
 === FC 9   :   256
Dropout 16
Tensor("Network/Branch_1/fc10/relu17:0", shape=(?, 256), dtype=float32)
 === FC 11   :   256
Dropout 17
 === FC 12   :   256
Dropout 18
Tensor("Network/Branch_2/fc13/relu19:0", shape=(?, 256), dtype=float32)
 === FC 14   :   256
Dropout 19
 === FC 15   :   256
Dropout 20
Tensor("Network/Branch_3/fc16/relu21:0", shape=(?, 256), dtype=float32)
 === FC 17   :   256
Dropout 21
 === FC 18   :   256
Dropout 22
Tensor("Network/Branch_4/fc19/relu23:0", shape=(?, 256), dtype=float32)
Restoring from  D:\auto_dev\CARLA\CARLA_0.8.2\PythonClient\agents\imitation/model/model.ckpt-450000

D:\Program Files\Python\Python36\lib\site-packages\h5py\__init__.py:36: FutureWa
rning: Conversion of the second argument of issubdtype from `float` to `np.float
ing` is deprecated. In future, it will be treated as `np.float64 == np.dtype(flo
at).type`.
  from ._conv import register_converters as _register_converters
INFO: listening to server localhost:2000
INFO:tensorflow:Restoring parameters from D:\auto_dev\CARLA\CARLA_0.8.2\PythonCl
ient\agents\imitation/model/model.ckpt-450000
INFO: Restoring parameters from D:\auto_dev\CARLA\CARLA_0.8.2\PythonClient\agent
s\imitation/model/model.ckpt-450000
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Elahe96commented, Mar 2, 2020

I’m using carla 0.8.2.2, but I’m still facing this problem. Any idea how to fix it? @arashroomi @soham2017 @eds89

1reaction
soham2017commented, Jun 18, 2018

Same problem here . Any update to the question would be life saving.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'I Can't Connect With People': Why You Might Feel This Way
Factors That Make It Difficult to Connect With People · Lack of Social or Communication Skills · Past Trauma · Mental Health Problems...
Read more >
Connecting With People - What It Is and Isn't, And Why You ...
Psychological problems that cause difficulty connecting with others. There are several, including: low self-esteem.
Read more >
Why is it so hard for me to make friends? - Quora
Often hardship makes it even easier to connect, as everyone might find themselves helping the others. If you put yourself into a situation...
Read more >
IT'S IMPOSSIBLE TO CONNECT WITH THESE SERVICES
We have found 1 Answer (s) for the Clue „it's impossible to connect with these services“. Try to find some letters, so you...
Read more >
Impossible to Connect… Tried Everything - WordPress.org
Hi,. I'm trying to connect the plugin to FB and it fails. The connection is established on FB's side it seems, but not...
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