diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5122bb1..2bf8f08 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
 ### Bug Fixes
 1. [#85](https://github.com/influxdata/influxdb-client-python/issues/85): Fixed a possibility to generate empty write batch
 2. [#86](https://github.com/influxdata/influxdb-client-python/issues/86): BREAKING CHANGE: Fixed parameters in delete api - now delete api accepts also bucket name and org name instead of only ids
+1. [#93](https://github.com/influxdata/influxdb-client-python/pull/93): Remove trailing slash from connection URL
 
 ## 1.6.0 [2020-04-17]
 
diff --git a/influxdb_client/client/influxdb_client.py b/influxdb_client/client/influxdb_client.py
index a8ca4ee..a78c130 100644
--- a/influxdb_client/client/influxdb_client.py
+++ b/influxdb_client/client/influxdb_client.py
@@ -40,7 +40,10 @@ class InfluxDBClient(object):
         self.default_tags = default_tags
 
         conf = _Configuration()
-        conf.host = self.url
+        if self.url.endswith("/"):
+            conf.host = self.url[:-1]
+        else:
+            conf.host = self.url
         conf.enable_gzip = enable_gzip
         conf.debug = debug
 

trim trailing slash for urls
When using a url without a trailing slash, everything works fine:

`client = InfluxDBClient(url="https://us-west-2-1.aws.cloud2.influxdata.com", token=token, org=org, debug=True)`

But when adding a trailing slash to the url:
`client = InfluxDBClient(url="https://us-west-2-1.aws.cloud2.influxdata.com/", token=token, org=org, debug=True)`

the error that comes back is `HTTP response body: {"code":"not found","message":"path not found"}` when I use InfluxDB cloud.

For localhost, without a slash, i get a 200, but with a slash, i get a 204.

IMO, we should detect and trim the trailing slash from the connection urls.
diff --git a/tests/test_BucketsApi.py b/tests/test_BucketsApi.py
index a528bf0..876e5e6 100644
--- a/tests/test_BucketsApi.py
+++ b/tests/test_BucketsApi.py
@@ -37,6 +37,7 @@ class BucketsClientTest(BaseTest):
             assert self.buckets_api.find_bucket_by_id(my_bucket.id)
         assert "bucket not found" in e.value.body
 
+    @pytest.mark.skip(reason="https://github.com/influxdata/influxdb/issues/14900")
     def test_find_by_name(self):
         my_org = self.find_my_org()
 
diff --git a/tests/test_InfluxDBClient.py b/tests/test_InfluxDBClient.py
new file mode 100644
index 0000000..1e8da1d
--- /dev/null
+++ b/tests/test_InfluxDBClient.py
@@ -0,0 +1,13 @@
+import unittest
+
+from influxdb_client import InfluxDBClient
+
+
+class InfluxDBClientTest(unittest.TestCase):
+
+    def test_TrailingSlashInUrl(self):
+        client = InfluxDBClient(url="http://localhost:9999", token="my-token", org="my-org")
+        self.assertEqual('http://localhost:9999', client.api_client.configuration.host)
+
+        client = InfluxDBClient(url="http://localhost:9999/", token="my-token", org="my-org")
+        self.assertEqual('http://localhost:9999', client.api_client.configuration.host)

pip install -e .[extra]
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc
3.9
requirements.txt extra-requirements.txt test-requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
certifi==2025.1.31
ciso8601==2.3.2
coverage==7.8.0
exceptiongroup==1.2.2
httpretty==1.1.4
-e git+https://github.com/influxdata/influxdb-client-python.git@e68cf1a2030bc33c9619907227615adebe2070cc#egg=influxdb_client
iniconfig==2.1.0
nose==1.3.7
numpy==2.0.2
packaging==24.2
pandas==2.2.3
pluggy==1.5.0
psutil==7.0.0
py==1.11.0
pytest==8.3.5
python-dateutil==2.9.0.post0
pytz==2025.2
randomize==0.14
Rx==3.2.0
six==1.17.0
tomli==2.2.1
tzdata==2025.2
urllib3==2.3.0

name: influxdb-client-python
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - certifi==2025.1.31
      - ciso8601==2.3.2
      - coverage==7.8.0
      - exceptiongroup==1.2.2
      - httpretty==1.1.4
      - iniconfig==2.1.0
      - nose==1.3.7
      - numpy==2.0.2
      - packaging==24.2
      - pandas==2.2.3
      - pluggy==1.5.0
      - psutil==7.0.0
      - py==1.11.0
      - pytest==8.3.5
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - randomize==0.14
      - rx==3.2.0
      - six==1.17.0
      - tomli==2.2.1
      - tzdata==2025.2
      - urllib3==2.3.0
prefix: /opt/conda/envs/influxdb-client-python

tests/test_InfluxDBClient.py::InfluxDBClientTest::test_TrailingSlashInUrl
tests/test_BucketsApi.py::BucketsClientTest::test_create_bucket_retention tests/test_BucketsApi.py::BucketsClientTest::test_create_bucket_retention_list tests/test_BucketsApi.py::BucketsClientTest::test_create_delete_bucket
influxdb_client/client/influxdb_client.py CHANGELOG.md
influxdb_client/client/influxdb_client.py CHANGELOG.md