BERN2 icon indicating copy to clipboard operation
BERN2 copied to clipboard

Max retries exceeded with url: /plain

Open luisenriqueramos1977 opened this issue 1 year ago • 0 comments

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

luisenriqueramos1977 avatar May 05 '24 06:05 luisenriqueramos1977