jadolg / outline-vpn-api

A Python API wrapper for Outline VPN https://getoutline.org/
MIT License
114 stars 30 forks source link

Unable to retrieve #28

Closed DanyaSh closed 6 months ago

DanyaSh commented 6 months ago

Looks like I didn't understand it well. What do I need to do before using the library other than providing api_url & cert_sha256?

Exception has occurred: OutlineServerErrorException Unable to retrieve keys File "/home/PATH/TO/MRE/mre_outline_api.py", line 8, in for key in client.get_keys(): outline_vpn.outline_vpn.OutlineServerErrorException: Unable to retrieve keys

DanyaSh commented 6 months ago

Before running the script from the Outlines management program, the server had already received a SSL certificate from cert_bot (lets_encrypt). ChatGPT believes there may be an error here.

DanyaSh commented 6 months ago

My wrong. Bad api_url. Vim changed register api_url to lowCase.