Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max retries exceeded with url: /plain #65

Open
luisenriqueramos1977 opened this issue May 5, 2024 · 0 comments
Open

Max retries exceeded with url: /plain #65

luisenriqueramos1977 opened this issue May 5, 2024 · 0 comments

Comments

@luisenriqueramos1977
Copy link

Wenn using this code:

def query_raw(text, url="https://bern.korea.ac.kr/plain"):
"""Biomedical entity linking API"""
return requests.post(url, data={'sample_text': text}).json()

the_result=query_raw('Scientists use techniques which can damage cells such as multi-layering of a variety of cells and the transition of cell-matrix droplets onto a substrate known as ink-jet printing by amplifying a laser pulse.')

I get this error:

ConnectionError: HTTPSConnectionPool(host='bern.korea.ac.kr', port=443): Max retries exceeded with url: /plain (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000198277E8DD0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

Could you tell me which could be the issue?.

Best regards

Luis Ramos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant