Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No Internet #37

Open
topakopa opened this issue Aug 16, 2024 · 78 comments
Open

Error: No Internet #37

topakopa opened this issue Aug 16, 2024 · 78 comments

Comments

@topakopa
Copy link

I don't know why, but the plugin says that there is no Internet
https://imgur.com/2hf47iM

@Merleawe
Copy link

Merleawe commented Aug 27, 2024

I have the same problem. Keeps failing to log me in despite the information being correct too.

At this point, if I restart my deck or reload Emudeck....it constantly deletes my login information. Making me manually retype it everytime. I've done it like 50 times by now and im just gonna give up for the time being.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@topakopa , @Merleawe , what do you see when enter into https://example.com website?

Because this error happens when plugin can't connect to the website and get response from it, so maybe problem is on your end.

Also, Emuchievements should try to connect to the internet every 1 second.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

@topakopa , @Merleawe , what do you see when enter into https://example.com website?

Because this error happens when plugin can't connect to the website and get response from it, so maybe problem is on your end.

Also, Emuchievements should try to connect to the internet every 1 second.


@ynhhoJ

I see(on my PC, not steamdeck):

**Example Domain
This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.

More information...**


I don't think its my internet. My steamdeck DID have legitimate connection problems days ago(The day I first got emuachievements working; actually)..., but it was extremely obvious, was the first time it had happened and its not happened again. Emudeck is STILL able to connect to retroachievements just fine- so I know the internet is working. The problem is that Emuachievements itself just refuses outright to connect on steamdeck gaming mode. For reference; i'm using an LCD Steamdeck 512g.

Whats curious is... It WILL successfully login on desktop mode... But when you switch to gaming mode and do the same thing; it won't work. And desktop mode when changed to big picture doesn't seem to save the login information to gaming mode either.

It seems like an issue with Gaming mode itself. On google search/reddit posts of other people talking about Emudeck: the internet/connection/login error on gaming mode seems to be a common error.

It constantly shows(As seen in the OP's Imgur screenshot) when trying to refresh the application in gaming mode.:

Error:
Error: No internet

When trying to login, it will just say login failed. And every time I restart my deck; it will wipe all my login information and force me to manually retype it in gaming mode.

I have restarted my modem. I've reinstalled everything but Emudeck itself. I've turned my deck on and off. Tried big picture mode. Tried desktop mode. Everything. I got it to work somehow around 3 days ago(after a lot of restarting and workarounds)- but it randomly deleted my login credentials and stopped working a day or two later. Now it hasn't worked since.

I wish at least there was a way to actually put my login information in the application folder so I don't need to retype it every time. People online have mentioned something like 'Settings.Json' but I found no such file in Emuachievements folders when I went digging.

Emuchievements was REALLY great when it was working though! (I do wish it showed achievement progress and had a way for people to post under the community tab and write achievement guides though.. then it would be perfect ^^;; )

For now though; I just don't think theres much I can do to get it working anymore.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , if you want and can help me to find why this error happens, you can try to switch to my forks of this plugin.
You can find it here: https://github.com/ynhhoJ/Emuchievements

I created a release: https://github.com/ynhhoJ/Emuchievements/releases/tag/2.1.4-0 which add log messages into the method what return No Internet error message.

We should check why this happens.

To switch to my fork, you should to:

  1. Open Decky settings
  2. Scroll down to Others
  3. Enable Development mode
  4. In the left side of screen will appear Developer category / tab (?)... Press on that
  5. Press on Install Plugin from URL and introduce path to the my .zip folder:
    https://github.com/ynhhoJ/Emuchievements/releases/download/2.1.4-0/Emuchievements-2.1.4-0.zip
  6. Then Install
  7. If everything is done correctly, you should what Emuchievements changed it's version to 2.1.4-0
    image
  8. To be sure that 100% scripts are changed, you can try to restart your Steam Deck.
  9. After restart inter into Developer category / tab (?) from Decky and click on CEF Console.
    You will see something like that:
    image
  10. You can clear all logs by pressing on icon;
    image
  11. Enable filters only by errors:
    image
  12. Trigger again Decky plugin.
  13. Access Plugins tab / menu (?)
  14. Press on three dots near Emuchievements plugin
  15. Access Restart (first option)
    image
  16. You can close now Decky and return to the CEF Console, where you can see your log's:
    image
  17. You should search for logs what contains [checkOnlineStatus] Error:

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

On my Steam Deck OLED i have only [checkOnlineStatus] OK messages.

All requests should have status: 200 (Success)

image

P.S: For a faster communication, you can find me in the official discord server of this plugin: https://discord.com/invite/EtNhJrfdGh

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

On my Steam Deck OLED i have only [checkOnlineStatus] OK messages.

All requests should have status: 200 (Success)

image

P.S: For a faster communication, you can find me in the official discord server of this plugin: https://discord.com/invite/EtNhJrfdGh

@ynhhoJ

Couldn't find out how to get a direct SS. But this is what it returned to me, so I hope a phone screenshot is okay(I did not restart by the way; I didn't want to type out my login for the 60th time... But I'll try after restarting if I need to.)

IMG_4463
IMG_4464

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

@ynhhoJ

Updated post with SS. Hope it helps- there are certainly errors there.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , do you have any VPN enabled or maybe some configuration on your network??

image

For me it's an unusual error ;(

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

@Merleawe , do you have any VPN enabled or maybe some configuration on your network??

image

For me it's an unusual error ;(

@ynhhoJ

No VPN's. It's Bell Aliant Wi-fi directly on steamdeck.

Nothing but Emudeck, Emulated games, Decky and Emuchievements is downloaded to my deck. This issue is happening to more than one person; its definitely some sort of error occurring between steamdeck gaming mode and Decky/Emuachievements.

Again, Emudeck's login for Retroachievements works fine. Emuchievements acutally DOES successfully login on desktop mode. It's only Emuchievements gaming mode that doesn't work. So I feel like something is either going on with Decky or Emuechievements.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , what decky version do you use?

I''m not sure, but problem can be caused by this method: https://github.com/SteamDeckHomebrew/decky-loader/blob/main/frontend/src/plugin-loader.tsx#L582 or by the fact, that Emuchievements sends a lot of requests which can cause an error somewhere...

@Merleawe
Copy link

@Merleawe , what decky version do you use?

I''m not sure, but problem can be caused by this method: https://github.com/SteamDeckHomebrew/decky-loader/blob/main/frontend/src/plugin-loader.tsx#L582 or by the fact, that Emuchievements sends a lot of requests which can cause an error somewhere...

Hahaha... I'm not really sure. I'm an animator by trade and not much of a coder. I know enough about computers to implement fixes; but I can't troubleshoot the code myself.

Again, Emuchievements appears to work in desktop mode. But not Gaming mode. So the error appears to be concentrated only in gaming mode.

@Merleawe
Copy link

@ynhhoJ

My apologies. I didn't answer the question.

I use Decky v2.12.3

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

If I had the opportunity to replicate the bug, I might be able to get a better understanding of the problem.... :(

Can you upgrade to the latest version?

Maybe this can help, but i'm not sure.
I'm worried you can have multiple plugins which can break after this upgrade

Right now, i'm on v3.0.0-pre10

@Merleawe
Copy link

@ynhhoJ

Nope. Didn't work.

There is something going on. IDK what. But #32 seems to be the same issue as well. I can't really give you an answer, because IDK whats wrong.

@Merleawe
Copy link

I AM getting this constantly repeating error though
IMG_4465

When I clear it, it makes a new one every second. Yes. 1 second.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , what is inside Object?

@Merleawe
Copy link

@ynhhoJ
IMG_4466
IMG_4467

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

Very strange...
maybe you can try to reboot?

@Merleawe
Copy link

Very strange... maybe you can try to reboot?

This was after a hard reboot. Haha. IDK. I feel like whatever it is- it's the reason for the login error. And as long as I fail to login- it will continue to error.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

The difference between you and me is that you have an OLED Deck. Maybe there needs to be a patch made specifically for LCD(First Gen) Decks. IDK why that would be the case. But unless the other affected individuals have an LCD deck too- I can't be sure. Maybe Emuchievements doesn't recognize the LCD Deck as hardware.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

The difference between you and me is that you have an OLED Deck. Maybe there needs to be a patch made specifically for LCD Decks. IDK.

I'm not sure if that can be a problem, because there is some error in code.
To be clear, I use Decky - v3.0.0-pre10
I completely deleted Emuchievements from plugins list and installed again from .zip file.

About your message here:
#32 (comment)

I tried to do what BRIUSTUDIOS said; but I can find nothing called settings.json in that folder.

/home/deck/homebrew - there are stored all plugins data.
settings.json is stored in /home/deck/homebrew/settings/Emuchievements

For testing purposes, you can:

  1. Verify if you use last pre-release of Decky to match version as main
  2. Remove a.k.a uninstall Emuchievements from plugins list
  3. Enter in desktop mode and try to delete everything what you see associated with Emuchievements (check in logs, services, settings folder from homebrew folder)
  4. Try to install Emuchievements from my fork: https://github.com/ynhhoJ/Emuchievements/releases/download/2.1.4-0/Emuchievements-2.1.4-0.zip

P.S: Before removing settings.json you can copy it, if you need too...

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

When I tested some things on my Steam Deck, I mentioned that Decky or Steam Deck sometimes can remember old code and does not use the new one. In this case I use restart.

@Merleawe
Copy link

Ugggghhhhhh @w@ IDK;;;

I have to work rn; but I'll try just reinstalling everything again in about 4-6ish hours.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

@ynhhoJ

But still. That is only really accounting for my individual error. The same thing is going wrong for multiple people for this to be happening to multiple people. We are encountering this error from a clean install. It could be because its remembering old code; but it didn't log in correctly the very first time I installed it.

So I don't think what I had installed is the issue. You may need to consult a second party to reevaluate the code. IDK.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

So I don't think what I had installed is the issue. You may need to consult a second party to reevaluate the code. IDK.

Possible you are right. Like I said, if I can reproduce that on my machine, will be more easier to me to understand where is the problem or to do deeper debugging.

In the last error messages is clear, what Python back-end of application didn't run or for some reasons, the Emuchievements code can not connect to the Back-End, and this type of error I never saw

@Merleawe
Copy link

So I don't think what I had installed is the issue. You may need to consult a second party to reevaluate the code. IDK.

Possible you are right. Like I said, if I can reproduce that on my machine, will be more easier to me to understand where is the problem or to do deeper debugging.

In the last error messages is clear, what Python back-end of application didn't run or for some reasons, the Emuchievements code can not connect to the Back-End, and this type of error I never saw

Is it possible that Ducky doesn't install the files unto the correct domain? I think mine were in the downloads folder last I checked. I can take a look in a few hours and see if changing the domain can fix it.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

image

Just saw same error messages, but my Achievements are loaded correctly

I did an Refresh (second button)

Image - open me

image

And got:

Image - open me

image

@Merleawe
Copy link

@ynhhoJ
meonly

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , well, when you will be free, try to log in into RetroAchievements through Emuchievements and press Refresh to load achievements.

Clear cache button will actualize your game list and shouldn't remove your credentials

P.S: Sometime Emuchievements doesn't open settings.json file in correct order and it's think that you are log out.
To resolve this, you can try to Restart entire plugin from Decky.

I used to do that on development and helped me to save some sanity....

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

@Merleawe , well, when you will be free, try to log in into RetroAchievements through Emuchievements and press Refresh to load achievements.

Clear cache button will actualize your game list and shouldn't remove your credentials

Went to Decky > Emuichievements > ... > Reload

The Emuichievements >Refresh> Clear Cache

Settings > (input login) Login

Error: Login Failed

Failed :P

@Merleawe
Copy link

image

I don't really understand it.

I'm looking at my API from my profile. It's definitely 100% correct.

@Merleawe
Copy link

Remember: Retroachievements on Emudeck still logs in just fine.

I don't think its a matter of my API or username.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

image
@Merleawe , use API key above this text...

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

Remember: Retroachievements on Emudeck still logs in just fine.

Because Retroachievements on Emudeck uses Connect Key and you can get this key only after authorization.

Emuchievements uses Web API Key

P.S:
I found a bug on latest version (from what i know, you use version from Emudeck store, maybe you are not affected with this one), even if you introduce correct credentials and is returned sucess response, Emuchievements show message what login attempt was failed.

I will fix it tomorrow.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

{
"Achievement": {
"ID": 442338,
"Title": "The Wild Force Has Been Contained!",
"Description": "[Story Mode] Clear World 5 on any difficulty and beat the game!",
"Points": 5,
"TrueRatio": 5,
"Type": null,
"Author": "Mendil",
"BadgeName": "500651",
"BadgeURL": "/Badge/500651.png",
"DateCreated": "2024-06-26 16:48:30",
"DateModified": "2024-07-15 22:31:55"
},
"Console": {
"ID": 16,

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , seems that you got correct Web API Token :)

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

@Merleawe , seems that you got correct Web API Token :)

Yes, I mean, its the one I've been using.... It did work before, after all. And the correct copy-paste one has always been in settings. But I did find out that retroachievements writes 1 and l both with the '1' character, which would've been part of the problem with the one on gaming mode I wrote by hand.

Even changing that though; still doesn't log in. It doesn't load anything. And restarting my deck gets rid of my login information which forces me to put it back in manually. So i'm still at square one with the Error: Internet error regardless.

You may be right though. I do use the store version and it might be an issue with the store one.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

I restarted for the 15th time today and suddenly this time its login success. Lmao.

Now it's loading things. I don't know how it suddenly fixed itself.. But if its anything like last time... It will randomly lose my login info at some point @w@ I hope not.

@ynhhoJ Thanks for the help! I don't think mistaking 1 for l was the issue... Since other people have the same login error I did(such as OP) but for me right now its working for now.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , tho, on my fork was added experimental things, like custom achievements list for games what are not detected by default by Emuchievements.

Those changes was pushed to main repository: #40

but idk when it will appear in decky store.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

@ynhhoJ

So restarting my steam deck still wipes the login info. Lmao. So everytime I restart my deck.. I have to re-login and the application has to reload the achievements again. Thats probably how I got into this situation in the first place. @w@

It would be nice to get a fix for your login info to stay there upon restarting or turning off the deck. It always gives me the no internet error on restart.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , try to restart plugin, maybe this will read file correctly and you will be logged in

#37 (comment) - i wrote about it here

@Merleawe
Copy link

@Merleawe , try to restart plugin, maybe this will read file correctly and you will be logged in

I reloaded it, but it doesn't pull my login info from the settings. Unfortunately. I don't know why it doesn't remember it.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

Yeah. Now its logging in successfully but still getting Error: No internet.

My current theory is that the achievements will refuse to load if I press 'refresh' first before logging in.

So maybe you HAVE to log in before pressing 'refresh' or it will refuse to load anything. That could be where "Error: No internet" comes from.


So its the same issue as OP still lmao. I had it working.... But restarting the deck to see if the log-in info stayed... Messed it up again. UgggHHHH.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

Nope. I did a fresh restart, logged in successfully, and then pressed refresh.

Still Error: No Internet

image

@Merleawe
Copy link

So at the moment, it just works sometimes. I guess.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

I can't reproduce No Internet error, so idk how to resolve that :(

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

I can't reproduce No Internet error, so idk how to resolve that :(

So I guess we are just stuck at square one for now lol. I'm out of ideas other than to restart the deck and re-input login info until it works.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

@Merleawe , I completely nuked Decky and tried to install release version of Decky, which deleted all my saves and settings.


In my case, Decky won't appear in menu from release version.
Correctly works only pre-release branch.

After fresh install of Emuchievements - it worked without problems for me :(

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

@ynhhoJ

Huh. So you think its stemming from the release version of Decky? I guess theres nothing to do other than to install pre-release decky then. I'll try it.

@Merleawe
Copy link

Merleawe commented Aug 28, 2024

As far as downloading Pre-release Decky, and using the normal store release version of Emuechievement; I still get the same Error: No internet error as @topakopa . It still deletes my login info.

As far as normal users go, I guess the store version is lacking. I'll have to give downloading it on desktop a try.

But at this point; I don't think the average user can do anything about this.

@ynhhoJ
Copy link
Contributor

ynhhoJ commented Aug 28, 2024

So you think its stemming from the release version of Decky?

To be honest, i don't know...
I'm a little afraid of experimenting with other people's devices, because this update (switching decky version) might remove your settings from plugins, remove files or you'll encounter other issues.

I don't know it will help, I'm using Beta Channel for Steam OS.

But at this point; I don't think the average user can do anything about this.

Yes, I agree

@KP2048
Copy link
Collaborator

KP2048 commented Aug 29, 2024

Stable store version is old. use the testing store version

@KP2048
Copy link
Collaborator

KP2048 commented Aug 29, 2024

Or one of the releases of his fork, both should work fine

@Merleawe
Copy link

Merleawe commented Aug 30, 2024

Or one of the releases of his fork, both should work fine

The only way I am able to get the store release working- is by following these steps(And this is also my reddit thread on the issue):

https://www.reddit.com/r/SteamDeck/comments/1f09hwn/comment/lkkc0qr/?context=3

This also worked for another commenter today... So it's a workaround solution. It was also what I did the very first time I got it working.... However; it requires turning the internet off and a restart to get it working. WHY it works when you do that... I have no freakin' clue.


As for what you said though... I understand that the store version may be wonky. But thats the point of this bug thread. To report that it isn't working and to hopefully find the problem and fix it.

Also, I'm pretty sure I still get the 'Error: No internet' even when I tried ynhhoj's dev build. It didn't fix my issue so I ended up uninstalling and going back to square one. I have it working again now because I followed the steps I found in the reddit thread I posted... But I expect eventually it will lose my login info again; and then i'll have to go through the process again.

For the sanity of the average user, app usability and for the sake of user experience... It's probably ideal that a fix is found for the store version. Or at the very least, identifying where the "Error: Error: No Internet" and the 'failure to save the login info' issues are coming from. And whether or not its on Emuechievements side... Or Decky's side.

Either way; it would be ideal to have the common release version working ^^;;

@KP2048
Copy link
Collaborator

KP2048 commented Aug 30, 2024

I already said. Use the testing store version not the stable store. It can be done entirely within game mode.

@KP2048
Copy link
Collaborator

KP2048 commented Aug 30, 2024

Or one of the releases of his fork, both should work fine

The only way I am able to get the store release working- is by following these steps(And this is also my reddit thread on the issue):

https://www.reddit.com/r/SteamDeck/comments/1f09hwn/comment/lkkc0qr/?context=3

This also worked for another commenter today... So it's a workaround solution. It was also what I did the very first time I got it working.... However; it requires turning the internet off and a restart to get it working. WHY it works when you do that... I have no freakin' clue.


As for what you said though... I understand that the store version may be wonky. But thats the point of this bug thread. To report that it isn't working and to hopefully find the problem and fix it.

Also, I'm pretty sure I still get the 'Error: No internet' even when I tried ynhhoj's dev build. It didn't fix my issue so I ended up uninstalling and going back to square one. I have it working again now because I followed the steps I found in the reddit thread I posted... But I expect eventually it will lose my login info again; and then i'll have to go through the process again.

For the sanity of the average user, app usability and for the sake of user experience... It's probably ideal that a fix is found for the store version. Or at the very least, identifying where the "Error: Error: No Internet" and the 'failure to save the login info' issues are coming from. And whether or not its on Emuechievements side... Or Decky's side.

Either way; it would be ideal to have the common release version working ^^;;

I agree it's a problem. I need to replicate first obviously, and my deck's wifi is shot. My only option is Ethernet via the dock, which is fine it's just clunky.

@Merleawe
Copy link

Merleawe commented Aug 30, 2024

I already said. Use the testing store version not the stable store. It can be done entirely within game mode.

I’m not sure where it is though. When I got into the testing store; there are only 26 apps there and Emuechievement isn’t one of them. I’ve definitely heard mention of one being there- but it doesn’t show up in the store for me. Only the normal storefront gives me the option.

@KP2048
Copy link
Collaborator

KP2048 commented Aug 30, 2024

Anyone with this issue, does https://example.com resolve with your DNS? I ping it to check for Internet

@Merleawe
Copy link

Merleawe commented Sep 1, 2024

Might be best to ask people on reddit or something to run checks for you. Since thats where I've seen the most people talk about this application and this issue.

For me, Emuchievements runs with the workaround where you turn off the internet. However... it will only ever show the achievements retroachievements has logged upon startup. If you earn achievements during gameplay.. Emuchievements will fail to recognize them as being achieved. In order to update the list... You need to restart your deck. But upon restart.... it APPEARS to lose all of your login info. However, if you do not touch it- emuechievements will eventually load back in and the login info reappears. Or at least; that has been my experience. But the achievements still do not update in real time.

But if you try to fix it before it loads back in(because you don't think its working, as its deleted your login info) you will have to go through this process over again.

@KP2048
Copy link
Collaborator

KP2048 commented Sep 1, 2024

Try to load that in your deck's browser. If it loads the example page then idk wtf is going on lol. If it errors or something then it's definitely DNS. Try setting your Wi-Fi's DNS to 1.1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants