Skip to content

Connection to NERSC? #62

@OlgaGKononova

Description

@OlgaGKononova

Hi all. I tried to play around with entities tagging and for the example given in the README I got the following:

(NERenv) olga@landau:~/PycharmProjects/Material_Coating$ python3.6 ner_trial.py 
Traceback (most recent call last):
  File "/home/olga/anaconda3/envs/NERenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/home/olga/anaconda3/envs/NERenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 376, in _make_request
    self._validate_conn(conn)
  File "/home/olga/anaconda3/envs/NERenv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
    conn.connect()
  File "/home/olga/anaconda3/envs/NERenv/lib/python3.6/site-packages/urllib3/connection.py", line 420, in connect
    _match_hostname(cert, self.assert_hostname or server_hostname)
  File "/home/olga/anaconda3/envs/NERenv/lib/python3.6/site-packages/urllib3/connection.py", line 430, in _match_hostname
    match_hostname(cert, asserted_hostname)
  File "/home/olga/anaconda3/envs/NERenv/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'api.matscholar.com' doesn't match either of '*.nersc.gov', 'nersc.gov'

I don't have an account at NERSC, but I used API provided by John.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions