Skip to content

ec_list returns: Forbidden (HTTP 403) #1

@mayeulk

Description

@mayeulk

Running ethercalc on docker with (as advised by maintainer):

sudo docker run --name redis -d -v /var/lib/redis:/data redis:latest redis-server --appendonly yes
sudo docker run -d -p 8000:8000 --link redis:redis audreyt/ethercalc

ec_list fails, whatever the parameters, with latest R ethercalc (0.1.0):

> ec_list()
Error in ec_list() : Forbidden (HTTP 403).
> ec_list(all=F)
Error in ec_list(all = F) : Forbidden (HTTP 403).
> ec_list(all=F, "http://localhost:8000")
Error in ec_list(all = F, "http://localhost:8000") : 
  Forbidden (HTTP 403).
> ethercalc_host()
[1] "http://localhost:8000"

But commands like the following work:

ec_edit(iris, "iris")
ec_delete("iris")

Within the container, I can get the list:

>redis-cli
127.0.0.1:6379> KEYS "snapshot-*"
1) "snapshot-iris"
2) "snapshot-iris_formdata"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions