Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Failed to connect with 'host::' sometimes #21

Open
GitCat3 opened this issue Oct 4, 2022 · 7 comments
Open

Failed to connect with 'host::' sometimes #21

GitCat3 opened this issue Oct 4, 2022 · 7 comments

Comments

@GitCat3
Copy link

GitCat3 commented Oct 4, 2022

so this only happens about half the time, but sometimes I will get the following error:

Uncaught (in promise) Error: Failed to connect with 'host::'
    at webadb.js:141:13
    at async HTMLButtonElement.submitForm (test.js:11:13)

all of the code can be found here: the code
I am using a Nexus 5X for this experiment.

EDIT: Additionally, it seems that the adb command that I am running only returns to the console about half of the time as well.

@cavokz
Copy link
Collaborator

cavokz commented Oct 5, 2022

Therefore it seems that the problem is a lower level, right? What OS are you using? Can you reproduce this behavior on some other machine or OS or phone?

@GitCat3
Copy link
Author

GitCat3 commented Oct 5, 2022

I am running this in the browser hosting platform that my code is in above, I could try running it on my windows computer.

@GitCat3
Copy link
Author

GitCat3 commented Oct 5, 2022

So I ran it on my local device and it is still only working about half the time. This is now on my windows 10 machine, just opening the html file in chrome

@cavokz
Copy link
Collaborator

cavokz commented Oct 5, 2022

So I ran it on my local device and it is still only working about half the time. This is now on my windows 10 machine, just opening the html file in chrome

And how adb behaves on your Windows 10 machine?

@GitCat3
Copy link
Author

GitCat3 commented Oct 5, 2022

It works like normal

@cavokz
Copy link
Collaborator

cavokz commented Oct 5, 2022

Problem is I don't trust you enough to run your replit thing (incidentally I would have a Nexus 5X for trying it). Where are the sources of your application?

@GitCat3
Copy link
Author

GitCat3 commented Oct 5, 2022

You should be able to view them by pressing on a thing that says files in the repl, but I'll attach the source here too. https://drive.google.com/drive/folders/1eW5wrjfCkvXQWmdT8NEMrxjSv0iW3H2r

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

No branches or pull requests

2 participants