You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run plynx on a remote server : Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial Docker version 18.09.6, build 481bc77 docker-compose version 1.25.4, build 8d51620a
I cloned the repository and run make up
Everything seems to start up.
But when accessing the url, I've got multiple errors in the console (UI is on loading state) : curl 'http://my_hostname:3001/plynx/api/v0/search_templates' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Content-Type: application/json;charset=utf-8' -H 'Authorization: Basic dW5kZWZpbmVkOg==' -H 'Origin: http://mathias.xbrain.local:3001' -H 'Connection: keep-alive' -H 'Referer: http://mathias.xbrain.local:3001/workflows' -H 'Cookie: access_token=undefined; refresh_token=undefined; username=default' --data '{"per_page":20,"search":"author:default ","virtual_collection":"workflows"}'
This leads to 405 Not Allowed.
Here is the nginx log: 10.30.50.3 - undefined [12/Mar/2020:00:53:35 +0000] "POST /plynx/api/v0/search_templates HTTP/1.1" 405 - "http://my_hostname:3001/workflows" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0"
here is the full log of master worker: CRITICAL:root:Using config config.yamlWARNING:root:Initializing executorbasic-dag-workflowWARNING:root:Initializing executorbasic-bash-jinja2-operationWARNING:root:Initializing executorbasic-python-node-operationWARNING:root:Initializing executorbasic-dag-operationWARNING:root:Initializing executordummy INFO:root:Try db connection INFO:root:Init Worker INFO:root:WorkerConfig(kinds=['basic-dag-workflow']) INFO:root:Start serving
Any idea regarding this issue?
Kind regards
The text was updated successfully, but these errors were encountered:
Hello, unfortunately I could not reproduce the error. Are you running it on a local machine or remotely? https://localhost:3001 or a custom host?
I think the problem is that for some reason you are hitting another endpoint. Basically port 3001 is reserved for front end, but you are hitting API instead. Maybe the issue is somewhere in this code https://github.com/plynx-team/plynx/blob/master/ui/src/configConsts.js#L9 as well but I am not sure without context.
Hello,
I tried to run plynx on a remote server :
Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial
Docker version 18.09.6, build 481bc77
docker-compose version 1.25.4, build 8d51620a
I cloned the repository and run
make up
Everything seems to start up.
But when accessing the url, I've got multiple errors in the console (UI is on loading state) :
curl 'http://my_hostname:3001/plynx/api/v0/search_templates' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Content-Type: application/json;charset=utf-8' -H 'Authorization: Basic dW5kZWZpbmVkOg==' -H 'Origin: http://mathias.xbrain.local:3001' -H 'Connection: keep-alive' -H 'Referer: http://mathias.xbrain.local:3001/workflows' -H 'Cookie: access_token=undefined; refresh_token=undefined; username=default' --data '{"per_page":20,"search":"author:default ","virtual_collection":"workflows"}'
This leads to 405 Not Allowed.
Here is the nginx log:
10.30.50.3 - undefined [12/Mar/2020:00:53:35 +0000] "POST /plynx/api/v0/search_templates HTTP/1.1" 405 - "http://my_hostname:3001/workflows" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0"
here is the full log of master worker:
CRITICAL:root:Using config
config.yamlWARNING:root:Initializing executor
basic-dag-workflowWARNING:root:Initializing executor
basic-bash-jinja2-operationWARNING:root:Initializing executor
basic-python-node-operationWARNING:root:Initializing executor
basic-dag-operationWARNING:root:Initializing executor
dummyINFO:root:Try db connection INFO:root:Init Worker INFO:root:WorkerConfig(kinds=['basic-dag-workflow']) INFO:root:Start serving
Any idea regarding this issue?
Kind regards
The text was updated successfully, but these errors were encountered: