Comments (17)
Oh wait I think this time it could actually be not on your side. AFAIK there a currently some issues with the login in the game client too.
BTW thx for the fast response
from valorant-discordbot.
Okay the server issues seems to be fixed. At least I can login again in the game
from valorant-discordbot.
cloudflare updated about ssl 2 days ago
I try to fix it every day.
Some people can use it normally. Some people just can't use it.
from valorant-discordbot.
I also have the same issue, here is the error when trying to login, but instead of showing me an error on discord it just says that the application isn't available and it outputs me this in the console.
BOT IS READY !
Version: 3.1.0-aiohttp
Task exception was never retrieved
future: <Task finished name='CommandTree-invoker' coro=<CommandTree._from_interaction.<locals>.wrapper() done, defined at /usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py:987> exception=TypeE rror('Subscripted generics cannot be used with class and instance checks')>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 649, in _do_call
return await self._callback(self.binding, interaction, **params) # type: ignore
File "/home/mana/valorant/cogs/valorant.py", line 97, in login
authenticate = await auth.authenticate(username, password)
File "/home/mana/valorant/utils/valorant/auth.py", line 94, in authenticate
data = await r.json()
File "/usr/local/lib/python3.9/dist-packages/aiohttp/client_reqrep.py", line 1103, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1156, in call
await command._invoke_with_namespace(interaction, namespace)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 675, in _invoke_wi th_namespace
return await self._do_call(interaction, transformed_values)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 668, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'login' raised an exception: ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://au th.riotgames.com/api/v1/authorization')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 989, in wrapper
await self.call(interaction)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1159, in call
await self.on_error(interaction, e)
File "/home/mana/valorant/cogs/errors.py", line 64, in on_app_command_error
elif isinstance(error, Union[AppCommandNotFound, MissingPermissions, BotMissingPermissions]):
File "/usr/lib/python3.9/typing.py", line 703, in __instancecheck__
return self.__subclasscheck__(type(obj))
File "/usr/lib/python3.9/typing.py", line 706, in __subclasscheck__
raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks
Unclosed client session
client_session: <utils.valorant.auth.ClientSession object at 0x7f86357eef40>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f86358e7640>, 8266831.166564328)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f86357e60d0>
INFO - I'm using the latest release.
from valorant-discordbot.
try master version
from valorant-discordbot.
I also have the same issue, here is the error when trying to login, but instead of showing me an error on discord it just says that the application isn't available and it outputs me this in the console.
BOT IS READY ! Version: 3.1.0-aiohttp Task exception was never retrieved future: <Task finished name='CommandTree-invoker' coro=<CommandTree._from_interaction.<locals>.wrapper() done, defined at /usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py:987> exception=TypeE rror('Subscripted generics cannot be used with class and instance checks')> Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 649, in _do_call return await self._callback(self.binding, interaction, **params) # type: ignore File "/home/mana/valorant/cogs/valorant.py", line 97, in login authenticate = await auth.authenticate(username, password) File "/home/mana/valorant/utils/valorant/auth.py", line 94, in authenticate data = await r.json() File "/usr/local/lib/python3.9/dist-packages/aiohttp/client_reqrep.py", line 1103, in json raise ContentTypeError( aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1156, in call await command._invoke_with_namespace(interaction, namespace) File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 675, in _invoke_wi th_namespace return await self._do_call(interaction, transformed_values) File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 668, in _do_call raise CommandInvokeError(self, e) from e discord.app_commands.errors.CommandInvokeError: Command 'login' raised an exception: ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://au th.riotgames.com/api/v1/authorization') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 989, in wrapper await self.call(interaction) File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1159, in call await self.on_error(interaction, e) File "/home/mana/valorant/cogs/errors.py", line 64, in on_app_command_error elif isinstance(error, Union[AppCommandNotFound, MissingPermissions, BotMissingPermissions]): File "/usr/lib/python3.9/typing.py", line 703, in __instancecheck__ return self.__subclasscheck__(type(obj)) File "/usr/lib/python3.9/typing.py", line 706, in __subclasscheck__ raise TypeError("Subscripted generics cannot be used with" TypeError: Subscripted generics cannot be used with class and instance checks Unclosed client session client_session: <utils.valorant.auth.ClientSession object at 0x7f86357eef40> Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f86358e7640>, 8266831.166564328)]'] connector: <aiohttp.connector.TCPConnector object at 0x7f86357e60d0>
INFO - I'm using the latest release.
It didn't work for me either, I deleted and reinstalled and it works! @osu
from valorant-discordbot.
try master version
Using master version got this error still.
BOT IS READY !
Version: 3.1.0-aiohttp
Task exception was never retrieved
future: <Task finished name='CommandTree-invoker' coro=<CommandTree._from_interaction.<locals>.wrapper() done, defined at /usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py:987> exception=TypeError('Subscripted generics cannot be used with class and instance checks')>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 649, in _do_call
return await self._callback(self.binding, interaction, **params) # type: ignore
File "/home/mana/valorant/cogs/valorant.py", line 97, in login
authenticate = await auth.authenticate(username, password)
File "/home/mana/valorant/utils/valorant/auth.py", line 114, in authenticate
data = await r.json()
File "/usr/local/lib/python3.9/dist-packages/aiohttp/client_reqrep.py", line 1103, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1156, in call
await command._invoke_with_namespace(interaction, namespace)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 675, in _invoke_with_namespace
return await self._do_call(interaction, transformed_values)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 668, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'login' raised an exception: ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 989, in wrapper
await self.call(interaction)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1159, in call
await self.on_error(interaction, e)
File "/home/mana/valorant/cogs/errors.py", line 64, in on_app_command_error
elif isinstance(error, Union[AppCommandNotFound, MissingPermissions, BotMissingPermissions]):
File "/usr/lib/python3.9/typing.py", line 703, in __instancecheck__
return self.__subclasscheck__(type(obj))
File "/usr/lib/python3.9/typing.py", line 706, in __subclasscheck__
raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks
Unclosed client session
client_session: <utils.valorant.auth.ClientSession object at 0x7f2726107640>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f2725567be0>, 8288210.421658162)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f2725440370>
from valorant-discordbot.
cloudflare gave me a huge headache.
you can try again master
from valorant-discordbot.
cloudflare gave me a huge headache.
you can try again master
Tried again importing master directly.
Getting this.
BOT IS READY !
Version: 3.1.3
Task exception was never retrieved
future: <Task finished name='CommandTree-invoker' coro=<CommandTree._from_interaction.<locals>.wrapper() done, defined at /usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py:987> exception=TypeError('Subscripted generics cannot be used with class and instance checks')>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 649, in _do_call
return await self._callback(self.binding, interaction, **params) # type: ignore
File "/home/mana/valorant/cogs/valorant.py", line 91, in login
authenticate = await auth.authenticate(username, password)
File "/home/mana/valorant/utils/valorant/auth.py", line 122, in authenticate
data = await r.json()
File "/usr/local/lib/python3.9/dist-packages/aiohttp/client_reqrep.py", line 1103, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1156, in call
await command._invoke_with_namespace(interaction, namespace)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 675, in _invoke_with_namespace
return await self._do_call(interaction, transformed_values)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 668, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'login' raised an exception: ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 989, in wrapper
await self.call(interaction)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1159, in call
await self.on_error(interaction, e)
File "/home/mana/valorant/cogs/errors.py", line 47, in on_app_command_error
elif isinstance(error, Union[AppCommandNotFound, MissingPermissions, BotMissingPermissions]):
File "/usr/lib/python3.9/typing.py", line 703, in __instancecheck__
return self.__subclasscheck__(type(obj))
File "/usr/lib/python3.9/typing.py", line 706, in __subclasscheck__
raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks
Unclosed client session
client_session: <utils.valorant.auth.ClientSession object at 0x7f2c91ac9be0>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f2c90f6c940>, 8295956.895546693)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f2c91ac9370>
from valorant-discordbot.
Tomorrow I will try to fix it again. ;-;)
from valorant-discordbot.
Tomorrow I will try to fix it again. ;-;)
All good, let me know !
from valorant-discordbot.
Tomorrow I will try to fix it again. ;-;)
All good, let me know !
try replace utils/valorant/auth.py
from valorant-discordbot.
Tomorrow I will try to fix it again. ;-;)
All good, let me know !
try replace utils/valorant/auth.py
Version: 3.1.3
Task exception was never retrieved
future: <Task finished name='CommandTree-invoker' coro=<CommandTree._from_interaction.<locals>.wrapper() done, defined at /usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py:987> exception=TypeError('Subscripted generics cannot be used with class and instance checks')>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 649, in _do_call
return await self._callback(self.binding, interaction, **params) # type: ignore
File "/home/mana/valorant/cogs/valorant.py", line 91, in login
authenticate = await auth.authenticate(username, password)
File "/home/mana/valorant/utils/valorant/auth.py", line 123, in authenticate
data = await r.json()
File "/usr/local/lib/python3.9/dist-packages/aiohttp/client_reqrep.py", line 1103, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1156, in call
await command._invoke_with_namespace(interaction, namespace)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 675, in _invoke_with_namespace
return await self._do_call(interaction, transformed_values)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/commands.py", line 668, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'login' raised an exception: ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 989, in wrapper
await self.call(interaction)
File "/usr/local/lib/python3.9/dist-packages/discord/app_commands/tree.py", line 1159, in call
await self.on_error(interaction, e)
File "/home/mana/valorant/cogs/errors.py", line 47, in on_app_command_error
elif isinstance(error, Union[AppCommandNotFound, MissingPermissions, BotMissingPermissions]):
File "/usr/lib/python3.9/typing.py", line 703, in __instancecheck__
return self.__subclasscheck__(type(obj))
File "/usr/lib/python3.9/typing.py", line 706, in __subclasscheck__
raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks
Unclosed client session
client_session: <utils.valorant.auth.ClientSession object at 0x7fe2b26aad90>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7fe2b1909040>, 8378288.286409643)]']
connector: <aiohttp.connector.TCPConnector object at 0x7fe2b263d730>```
from valorant-discordbot.
os windows 10 right?
You don't use vpn right?
from valorant-discordbot.
os windows 10 right?
You don't use vpn right?
No, Debian OS based server hosted at Hetzner (Nuremberg city)
from valorant-discordbot.
It has to do with protocol, ssl, or internet related stuff, I'm not really sure.
from valorant-discordbot.
Issue still exists, there is no valid response by the Riot Auth servers
from valorant-discordbot.
Related Issues (20)
- Hi, can I get ur help?
- Error running bot.py HOT 1
- login HOT 3
- login error HOT 1
- Error: Validating access token
- I get this error when running replit.
- ValueError: Both or neither of value and tb must be given HOT 2
- Bug ephemeral message
- Login Error
- 2fa error?
- how fix ? HOT 1
- Icons HOT 1
- Start issue
- I have a problem
- notification remove button accessible to all
- how to do it with no host HOT 5
- /login issue HOT 1
- Unable to start the bot
- Could I save the cookie of 2fa user๏ผ HOT 4
- How could I get mission definition?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valorant-discordbot.