mirror of
https://github.com/dmis-lab/BERN2.git
synced 2026-04-03 00:18:29 -06:00
Max retries exceeded with url: /plain #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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