KnowageLabs / Knowage-Server-Docker

Docker Image packaging for Knowage Server https://www.knowage-suite.com
GNU Affero General Public License v3.0
65 stars 76 forks source link

Knowage Dataset Python Error 401 (Linux VM) #52

Open HugoT852 opened 2 years ago

HugoT852 commented 2 years ago

Hi,

I am currently using the Knowage Docker Server on a linux VM and I would like to create a Python dataset but I am struggling to make it work.

Following the documentation, I modify the python variable of category PYTHON_CONFIGURATION: python.default.environment.url, http://knowagepython:5000

The REST methode work (code 200). I can see the Python libraries. I have authorize Edit Python/R Scripts in configuration.

When trying to preview the python dataset I get the following : The response status is not ok: status=401, response=Unauthorized [2021-12-09 09:30:53 +0000] [18] [DEBUG] GET /dataset/libraries 172.24.0.7 - - [09/Dec/2021:09:30:53 +0000] "GET /dataset/libraries HTTP/1.1" 200 1339 "-" "Jakarta Commons-HttpClient/3.0.1"

Here is my docker-compose file :

version: "3.1" services: knowage: image: knowagelabs/knowage-server-docker:8.0.4 depends_on:

volumes: db: cache:

networks: main:

HugoT852 commented 2 years ago

add @agaldemas