Multiple message to sent
Hi,
I'm doing an Xbox tournament into the PUBG Game. I would like to send the result of a game to each user.
So i need to send multiple messages to many users ( 60 to 90 players ).
The problem is, when i do that, i get errors :
- It doesn't work for the 2nd user, so i tried to increase timeout => It doesn't work as expected
- With the improvement of the timeout, i could send for 20 users only, but some aren't really sent ( and no error message ) and then stop.
Error Message I get :
Traceback (most recent call last):
File "C:\Users\Tje\PycharmProjects\PUBGapi\venv\lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\Tje\PycharmProjects\PUBGapi\venv\lib\site-packages\requests\adapters.py", line 449, in send timeout=timeout File "C:\Users\Tje\PycharmProjects\PUBGapi\venv\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "C:\Users\Tje\PycharmProjects\PUBGapi\venv\lib\site-packages\urllib3\util\retry.py", line 367, in increment raise six.reraise(type(error), error, _stacktrace) File "C:\Users\Tje\PycharmProjects\PUBGapi\venv\lib\site-packages\urllib3\packages\six.py", line 686, in reraise raise value File "C:\Users\Tje\PycharmProjects\PUBGapi\venv\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen chunked=chunked) File "C:\Users\Tje\PycharmProjects\PUBGapi\venv\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "C:\Users\Tje\PycharmProjects\PUBGapi\venv\lib\site-packages\urllib3\connectionpool.py", line 306, in _raise_timeout raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value) urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='xboxapi.com', port=443): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Tje/PycharmProjects/PUBGapi/pubg_script.py", line 173, in
What should I do to send to 90 users and be sure that they have been sent ?
Thanks :)