Shopify connector won't work with single-bench docker (V12.18.0/Edge)

Hello

I hope this is the right place for my issue :slight_smile:

I have to tested the erpnext with frappe-docker.
All stuff i have been tested works but only the shopify-connector runs always into an exception.

It is maybe a problem with the traefik solution from frappe_docker?

message:

{'address': ['protocol http:// is not supported']}

traceback:

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/shopify_settings/shopify_settings.py", line 44, in register_webhooks
    res.raise_for_status()
  File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://<REMOVED-SECRETS>.myshopify.com/admin/api/2020-04/webhooks.json

I found a similar problem without a solution: github.com/frappe/erpnext/issues/19543

Test-Setup

  • Cloud VM (2 VCPU, 4GB RAM, 20GB HDD)
  • Ubuntu 20.04.1 (legacy-server, amd64)
  • Cloud-init: gist.github.com/spinsch/c88a9052c81ee9810804f17553141de5

frappe-docker
I used the env-production file with my custom settings like below:

LETSENCRYPT_EMAIL=my@email.address
ERPNEXT_VERSION=version-12
FRAPPE_VERSION=version-12
SITE_NAME=mydomain.com
SITES=`mydomain.com`

install protocol
I used the single-bench tutorial from frappe_docker

git clone git@github.com:frappe/frappe_docker.git
cd frappe_docker
cp env-production .env
docker-compose --project-name=erp up -d

shopify
Private App with full permission - tested.

EDIT
Same issue with freshly installed “edge” version

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.