# Using proxychains with Julia?

**URL:** <https://discourse.julialang.org/t/using-proxychains-with-julia/97535>\
**Category:** General Usage\
**Created:** [April 16, 2023, 3:46am UTC](https://discourse.julialang.org/t/using-proxychains-with-julia/97535 "2023-04-16T03:46:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robsmith11](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/robsmith11/32/29641_2.png) [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Post date:** [April 16, 2023, 3:46am UTC](https://discourse.julialang.org/t/using-proxychains-with-julia/97535/1 "2023-04-16T03:46:39Z")

</div>

I need to access some servers via a socks proxy. I’m able to do this with python by calling

```julia
$ proxychains python

```

but trying the same with julia causes it to hang at startup.  
Any idea what’s going on? Not sure if it’s useful, but here’s the output of strace:

```julia
$ strace proxychains julia
execve("/usr/bin/proxychains", ["proxychains", "julia"], 0x7ffe569e6418 /* 39 vars */) = 0

...

openat(AT_FDCWD, "/me/julia/bin/../lib/julia/libopenlibm.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260P\0\0\0\0\0\0"..., 832) = 832
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=226867, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 4381152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb073f64000
mmap(0x7fb074000000, 2284000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7fb074000000
munmap(0x7fb073f64000, 638976) = 0
munmap(0x7fb07422e000, 1456608) = 0
mprotect(0x7fb07402d000, 2093056, PROT_NONE) = 0
mmap(0x7fb07422c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c000) = 0x7fb07422c000
mprotect(0x7fb074666000, 2756, PROT_READ|PROT_WRITE) = 0
mprotect(0x7fb074666000, 2756, PROT_READ) = 0
mprotect(0x7fffea85c000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3) = 0
pipe2([3, 4], 0) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb0743b4390) = 3160
read(3, 0x1126340, 1024) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3160, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
read(3,

```
