Replies: 4 comments 1 reply
-
Friendly ping @Superskyyy @kezhenxu94 |
Beta Was this translation helpful? Give feedback.
-
@suntangi Hi, this must be due to the version incompatibility of plugin and recent versions of AIOHTTP that can be easily fixed. Could you kindly share your aiohttp version? Is your version currently covered by the test matrix? https://skywalking.apache.org/docs/skywalking-python/next/en/setup/plugins/. The thing to modify is to add the additional I just checked the code blame for aiohttp, it seems the original 2 arg method version is quite long ago around aiohttp v3.7.0, so lets just replace with the new args version and remove support for such old versions. If you would like to contribute a fix please go ahead and do so, otherwise let me know and I will get that fixed within few days. support_matrix -> Update to test 3.8.x and 3.9.x
Line83
async def _sw_handle_request(
self, request: BaseRequest,
start_time: float,
request_handler: Callable[[BaseRequest], Awaitable[StreamResponse]],
): |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! aiohttp==3.8.4, not covered by the test matrix In my case, I simply disable aiohttp plugin to avoid exceptions during the main process, not planning to do more research. Please schedule your time to fix it.
|
Beta Was this translation helpful? Give feedback.
-
No problem, thanks for the report anyway! |
Beta Was this translation helpful? Give feedback.
-
I see this exception when using apache-skywalking==1.0.1, wslink==1.6.4
see code in skywalking:
line 83
async def _sw_handle_request(self, request: BaseRequest, start_time: float):
line 122
RequestHandler._handle_request = _sw_handle_request
see code in aiohttp:
line 509
seems skywalking try to replace _handle_request of aiohttp, but has mismatched args.
this exception only occurs while using wslink
please tell me what to do.
Beta Was this translation helpful? Give feedback.
All reactions