Facing issue with installation MFIX19.1

I am following one post in group which already has been discussed about installing MFIX 19.1 on windows. Almost same type of issue but mine is linux system. I have added proxy servers settings in condarc file but still same issue pertaining.

conda env create -n mfix-19.1 mfix/mfix-19.1-linux64
WARNING: The conda.compat module is deprecated and will be removed in a future release.
WARNING: The conda.compat module is deprecated and will be removed in a future release.

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/connection.py", line 301, in connect
    conn = self._new_conn()
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f27f19ce518>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/govind/anaconda3/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/home/govind/anaconda3/lib/python3.7/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.anaconda.org', port=443): Max retries exceeded with url: /package/mfix/mfix-19.1-linux64 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f27f19ce518>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/govind/anaconda3/lib/python3.7/site-packages/conda/exceptions.py", line 1003, in __call__
    return func(*args, **kwargs)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/conda_env/cli/main.py", line 73, in do_call
    exit_code = getattr(module, func_name)(args, parser)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/conda_env/cli/main_create.py", line 77, in execute
    directory=os.getcwd())
  File "/home/govind/anaconda3/lib/python3.7/site-packages/conda_env/specs/__init__.py", line 40, in detect
    if spec.can_handle():
  File "/home/govind/anaconda3/lib/python3.7/site-packages/conda_env/specs/binstar.py", line 45, in can_handle
    result = self._can_handle()
  File "/home/govind/anaconda3/lib/python3.7/site-packages/conda_env/specs/binstar.py", line 60, in _can_handle
    return self.package is not None and self.valid_package()
  File "/home/govind/anaconda3/lib/python3.7/site-packages/conda_env/specs/binstar.py", line 114, in package
    self._package = self.binstar.package(self.username, self.packagename)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/binstar_client/__init__.py", line 301, in package
    res = self.session.get(url)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/govind/anaconda3/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.anaconda.org', port=443): Max retries exceeded with url: /package/mfix/mfix-19.1-linux64 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f27f19ce518>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

$ /home/govind/anaconda3/bin/conda-env create -n mfix-19.1 mfix/mfix-19.1-linux64

  environment variables:
                 CIO_TEST=<not set>
  CONDA_AUTO_UPDATE_CONDA=false
        CONDA_DEFAULT_ENV=base
                CONDA_EXE=/home/govind/anaconda3/bin/conda
             CONDA_PREFIX=/home/govind/anaconda3
    CONDA_PROMPT_MODIFIER=(base)
               CONDA_ROOT=/home/govind/anaconda3
              CONDA_SHLVL=1
            DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
           MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
                     PATH=/home/govind/anaconda3/bin:/home/govind/anaconda3/condabin:/home/govin
                          d/bin:/home/govind/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin
                          :/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>
            XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
         XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
     active environment : base
    active env location : /home/govind/anaconda3
            shell level : 1
       user config file : /home/govind/.condarc
 populated config files : /home/govind/.condarc
          conda version : 4.6.11
    conda-build version : 3.17.8
         python version : 3.7.3.final.0
       base environment : /home/govind/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/govind/anaconda3/pkgs
                          /home/govind/.conda/pkgs
       envs directories : /home/govind/anaconda3/envs
                          /home/govind/.conda/envs
               platform : linux-64
             user-agent : conda/4.6.11 requests/2.21.0 CPython/3.7.3 Linux/4.15.0-47-generic ubuntu/16.04.4 glibc/2.23
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

And this:

conda config --show
add_anaconda_token: True
add_pip_as_python_dependency: True
aggressive_update_packages:
  - ca-certificates
  - certifi
  - openssl
allow_conda_downgrades: False
allow_cycles: True
allow_non_channel_urls: False
allow_softlinks: False
always_copy: False
always_softlink: False
always_yes: None
anaconda_upload: None
auto_activate_base: True
auto_update_conda: True
bld_path: 
changeps1: True
channel_alias: https://conda.anaconda.org
channel_priority: flexible
channels:
  - defaults
client_ssl_cert: None
client_ssl_cert_key: None
clobber: False
conda_build: {}
create_default_packages: []
croot: /home/govind/anaconda3/conda-bld
custom_channels:
  pkgs/main: https://repo.anaconda.com
  pkgs/free: https://repo.anaconda.com
  pkgs/r: https://repo.anaconda.com
  pkgs/pro: https://repo.anaconda.com
custom_multichannels:
  defaults: 
    - https://repo.anaconda.com/pkgs/main
    - https://repo.anaconda.com/pkgs/free
    - https://repo.anaconda.com/pkgs/r
  local: 
debug: False
default_channels:
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/free
  - https://repo.anaconda.com/pkgs/r
default_python: 3.7
deps_modifier: not_set
dev: False
disallowed_packages: []
download_only: False
dry_run: False
enable_private_envs: False
env_prompt: ({default_env}) 
envs_dirs:
  - /home/govind/anaconda3/envs
  - /home/govind/.conda/envs
error_upload_url: https://conda.io/conda-post/unexpected-error
extra_safety_checks: False
force: False
force_32bit: False
force_reinstall: False
force_remove: False
ignore_pinned: False
json: False
local_repodata_ttl: 1
migrated_channel_aliases: []
migrated_custom_channels: {}
non_admin_enabled: True
notify_outdated_conda: True
offline: False
override_channels_enabled: True
path_conflict: clobber
pinned_packages: []
pip_interop_enabled: False
pkgs_dirs:
  - /home/govind/anaconda3/pkgs
  - /home/govind/.conda/pkgs
proxy_servers:
  http: http://10.10.78.61:3128
  https: https://10.10.78.61:3128
prune: False
quiet: False
remote_connect_timeout_secs: 9.15
remote_max_retries: 3
remote_read_timeout_secs: 60.0
report_errors: None
rollback_enabled: True
root_prefix: /home/govind/anaconda3
safety_checks: warn
sat_solver: pycosat
shortcuts: True
show_channel_urls: None
solver_ignore_timestamps: False
ssl_verify: True
subdir: linux-64
subdirs:
  - linux-64
  - noarch
target_prefix_override: 
track_features: []
update_modifier: update_specs
use_index_cache: False
use_local: False
verbosity: 0
whitelist_channels: []

Can someone help? I have read lot about connection setting of anaconda for proxy. I have tried but, problem is not resolved.

Sorry, I have never used conda behind a (non-transparent) proxy.
Does your proxy require a username/password? There isn’t one in your proxy_servers config.

https://docs.conda.io/projects/conda/en/latest/user-guide/configuration/use-condarc.html#configure-conda-for-use-behind-a-proxy-server-proxy-servers
says it will get settings from HTTP_PROXY and HTTPS_PROXY. You could try setting those environment variables.

Thanks Mark,

I have overcome this issue but not by resolving the proxy issue. Actually procedure described to install MFIX:

conda env create -n mfix-19.1 mfix/mfix-19.1-linux64
source activate mfix-19.1
conda install mfix -c https://govind:XXXX@mfix.netl.doe.gov/conda/dist

Instead I tried with this and it worked it:

conda create -n mfix-19.1
conda activate mfix-19.1
conda install mfix -c https://govind:XXXX@mfix.netl.doe.gov/conda/dist

Is this fine?

Your post was edited to remove your user key. Please refrain from posting this information in the future.

Yes, if the second method works for you, that’s fine. (Perhaps only anaconda.org is inaccessible for you.)

We suggest using the mfix/mfix-19.1-linux64 environment because it has dependencies that we believe most users would want, but it is not necessarily. Installing with your second method will install all dependencies required by MFiX.

Thanks Mark for clearing the installation issue.