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.

UNREACHABLE! => {"changed": false, "msg": "EOF on stream; last 100 lines received: The system cannot find the path specified, "unreachable": true}

See original GitHub issue

Host : Ansible version 2.9.4 (on CentOS7)+ Mitogen version 2.9, python version 2.7.5 Target : Windows 2012

Similar error message with #597 but specifying ansible_python_interpreter=/usr/bin/python3 or ansible_python_interpreter=/usr/bin/python2 doesn’t work.

I’m trying to test ansible connection with my windows target, everything works fine but causing Windows server high CPU usage, so I installed mitogen and edited ansible.cfg. Tasks that did not connect with my Windows server run successfully, but getting this error when running win_ping :

fatal: [my_windows_host]: UNREACHABLE! => {"changed": false, "msg": "EOF on stream; last 100 lines received: The system cannot find the path specified, "unreachable": true}`

I’ve tried using ssh and winrm, also tried downgraded my ansible to 2.8.8, but still facing the same error. By removing the line strategy = mitogen in ansible.cfg, the playbook can run successfully again. Is it because Mitogen doesn’t support Windows target? Or what else can I try? Thanks.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:18

github_iconTop GitHub Comments

1reaction
jasminehungcommented, Jun 29, 2020

Here is the dump of -vvvv when running with Mitogen log20200629.txt (My Windows host is a Windows server 2012 R2 64bit)

1reaction
s1113950commented, Jun 22, 2020

Ansible python interpreter discovery was added in the latest master of Mitogen, can you give the latest commit a try?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"EOF on stream; last 100 lines received: The system cannot ...
UNREACHABLE! => {"changed": false, "msg": "EOF on stream; last 100 lines received: The system cannot find the path specified, "unreachable": true} #725.
Read more >
UNREACHABLE! => {"changed": false, "msg": "EOF on stream ...
{"changed": false, "msg": "EOF on stream; last 100 lines received: The system cannot find the path specified, "unreachable": true}
Read more >
Got an error while Ansible ping from host to remote server via ...
I have used Mitogen for speed up. Please see the below logs getting while running the ansible ping command with -vvv. Following is...
Read more >
Ansible: Failed to connect to the host via ssh - Austral Tech
So, this means ansible is trying to connect to the server via ssh without specifying a user.
Read more >
fopen - Manual - PHP
fopen() binds a named resource, specified by filename , to a stream. ... desired to get an advisory lock (see flock()) before attempting...
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