Minemeld Proxy error

Reply
L0 Member

Minemeld Proxy error

Hi,

 

I've setup Minemeld to use the corporate proxies based on this thread and I'm still getting this error:

 

"ConnectTimeout: HTTPSConnectionPool(host='www.dshield.org', port=443): Max retries exceeded with url: /block.txt (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2bee031f10>, 'Connection to www.dshield.org timed out. (connect timeout=20)'))"

 

The environment setting are below:

ubuntu@minemeld:~$ cat /etc/environment 
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
http_proxy=http://proxy.addr:8080
https_proxy=http://proxy.addr:8080
HTTP_PROXY=http://proxy.addr:8080
HTTPS_PROXY=http://proxy.addr:8080

Proxy setting for minemeld:

ubuntu@minemeld:~$ cat /etc/default/minemeld 
https_proxy="http://proxy.addr:8080"
http_proxy="http://proxy.addr:8080"
HTTP_PROXY="http://proxy.addr:8080"
HTTPS_PROXY="http://proxy.addr:8080"

I'm able to download the block.txt file via wget. Are there any other settings for the proxy?

 

Thanks,

L5 Sessionator

Re: Minemeld Proxy error

Hi @otlaP5,

 

the way you configure the OS to make the wget tool use a proxy and the way you configure the Python Runtime to make the requests page (the one MineMeld relies on) use a proxy are different. So getting wget to work in the same hosts wher MineMeld lives doesn't mean everything is configured OK.

 

Said that, your environment configuration seems OK. Next things I'd investigate would be:

  • Does the proxy requiere authentication?
  • Does the proxy enforce SSL Decryption?
L0 Member

Re: Minemeld Proxy error

Hello xhoms,

 

I've figure out the solution. Turns out I was running the below two commands to restart minemeld and it wasn't loading the proxy config file correctly.

/etc/init.d/minemeld stop
/etc/init.d/minemeld start

 

The restart command seems to work fine.

/etc/init.d/minemeld restart

Thanks,

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!