Max retries exceeded with url: /plain #17

Open
opened 2025-10-14 15:40:41 -06:00 by navan · 0 comments
Owner

Originally created by @luisenriqueramos1977 on 5/5/2024

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

*Originally created by @luisenriqueramos1977 on 5/5/2024* 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 in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/BERN2#17
No description provided.