aliyun / aliyun/aliyun-openapi-python-sdk

Obtain the MNS receipt information in batch, and report an error under the intranet configuration agent

Open
#444 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1k
Forks
578
PR merge metrics
No merged PRs in 30d

Description

  • Python Version: 3.6.5
  • aliyunsdkcore Version: 1.0.6
  • API: batch_receive_message

In the public network environment, there is no problem. In the Intranet environment (the agent has been configured), there is no problem in obtaining the token. An error is reported in batch obtaining the MNS receipt information. The error information is as follows: MNSClientNetworkException ("NetWorkException", "local variable 'msg' referenced before assignment")

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the implementation and error handling for the batch_receive_message API, then reproduce the request with the intranet agent configuration described in the issue. Trace why the network exception reports an unassigned msg value; done means the batch request returns receipt information or a meaningful network error without that secondary exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.