# url lookup fails on my Apple M1

**URL:** <https://forum.ansible.com/t/url-lookup-fails-on-my-apple-m1/34863>\
**Category:** Ansible Project\
**Created:** [March 26, 2021, 11:22am UTC](https://forum.ansible.com/t/url-lookup-fails-on-my-apple-m1/34863 "2021-03-26T11:22:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julien\_Tognazzi](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Julien\_Tognazzi](https://forum.ansible.com/u/Julien_Tognazzi)\
**Post date:** [March 26, 2021, 11:22am UTC](https://forum.ansible.com/t/url-lookup-fails-on-my-apple-m1/34863/1 "2021-03-26T11:22:17Z")

</div>

Dear list,

The following play fails on my ansible installation:

- hosts: localhost  
gather\_facts: false

tasks:

- set\_fact:  
toto: “{{ lookup(‘url’, ‘[https://google.ch](https://google.ch)’) }}”

The error is  
objc[57643]: +[\_\_NSCFConstantString initialize] may have been in progress in another thread when fork() was called.  
objc[57643]: +[\_\_NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc\_initializeAfterForkError to debug.  
ERROR! A worker was found in a dead state

**ansible --version**  
ansible 2.9.18  
config file = /Users/tognazju/Documents/ansible-deployment/ansible.cfg  
configured module search path = [‘/Users/tognazju/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]  
ansible python module location = /opt/homebrew/lib/python3.9/site-packages/ansible  
executable location = /opt/homebrew/bin/ansible  
python version = 3.9.2 (default, Feb 24 2021, 05:06:40) [Clang 12.0.0 (clang-1200.0.32.29)]

In which direction should I look to find the problem here ?

thanks for any hint.

---

<div class="post-metadata">

**Author:** ![Akasurde](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/akasurde/32/230_2.png) [@Akasurde](https://forum.ansible.com/u/Akasurde)\
**Post date:** [March 26, 2021, 11:26am UTC](https://forum.ansible.com/t/url-lookup-fails-on-my-apple-m1/34863/2 "2021-03-26T11:26:50Z")

</div>

This is a known issue with Mac OS - [https://github.com/ansible/ansible/issues/65108](https://github.com/ansible/ansible/issues/65108).

You may want to try this - [https://github.com/ansible/ansible/issues/65108#issuecomment-557016371](https://github.com/ansible/ansible/issues/65108#issuecomment-557016371). I have not tried this solution personally.

---

<div class="post-metadata">

**Author:** ![Julien\_Tognazzi](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Julien\_Tognazzi](https://forum.ansible.com/u/Julien_Tognazzi)\
**Post date:** [March 26, 2021, 1:44pm UTC](https://forum.ansible.com/t/url-lookup-fails-on-my-apple-m1/34863/3 "2021-03-26T13:44:04Z")

</div>

Thanks for the link.
