openknowledge-archive/dpm-py

Trailing slash causes error when publishing the data package

zelima opened this issue · 0 comments

trailing slash in the server url causes this eeror

$ dpmpy configure
username: some-user
password: my-secret-password
server-url: https://staging.datapackaged.com/

$ dpmpy publish
....
FAIL

Original error was: ConnectionError(MaxRetryError("HTTPSConnectionPool(host='staging.datapackaged.com', port=443): Max retries exceeded with url: //api/auth/bitstore_upload (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f640eb60390>: Failed to establish a new connection: [Errno -2] Name or service not known',))",),)

Network error. Please check your connection settings