8000 Unclosed client session · Issue #645 · slackapi/python-slack-sdk · GitHub
[go: up one dir, main page]

Skip to content

Unclosed client session #645

@jourdanrodrigues

Description

@jourdanrodrigues

Description

Getting Unclosed client session randomly and seldomly when performing hundreds of requests.

This seems to be the solution for this issue: aio-libs/aiohttp#1175 (comment)

What type of issue is this?

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Reproducible in:

slackclient version: 2.5.0

python version: 3.8.1

OS version(s): macOS Catalina 10.15.3

Steps to reproduce:

  1. Perform hundreds (or thousands) of requests towards Slack API with the WebClient;
  2. Logs will eventually show up.

Expected result:

No logs.

Actual result:

This is logged to the console:

2016-09-14 18:42:28,511 ERROR asyncio Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fd2b06469b0>

Attachments:

giphy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Version: 2xarea:concurrencyIssues and PRs related to concurrencybugM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedweb-client

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0