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

Increase DELAY more 50000ms, stops the WSGI server #205

Open
Milindsoni08 opened this issue Aug 28, 2023 · 10 comments
Open

Increase DELAY more 50000ms, stops the WSGI server #205

Milindsoni08 opened this issue Aug 28, 2023 · 10 comments

Comments

@Milindsoni08
Copy link

Increase DELAY more 50000ms, stops the WSGI server and i am unable to access 192.168.4.1
payload.dd
DELAY 50000

if i keep DELAY < 50000ms it works like a charm

@dbisu
Copy link
Owner

dbisu commented Aug 29, 2023

I'm pretty sure I know the problem. It make take a bit to work out a solution, though.
The issue is like here
I will need to figure if I can convert the time.sleep to an asyncio.sleep.

@Karthiksgowda
Copy link

The above mentioned solution is not working @dbisu

@dbisu
Copy link
Owner

dbisu commented Sep 6, 2023

Yeah, I'm still working on a solution. Like I said, might take a bit to figure out the right way to refactor the code.

@ihsaank
Copy link

ihsaank commented Sep 12, 2023

Hi, I'm only able to connect to the pico w for literally 30 seconds then the web server stops loading. Unless I forget the SSID and reconnect then it only works for a few seconds again. Do you know what the issue is?

@dbisu
Copy link
Owner

dbisu commented Sep 17, 2023

Hi, I'm only able to connect to the pico w for literally 30 seconds then the web server stops loading. Unless I forget the SSID and reconnect then it only works for a few seconds again. Do you know what the issue is?

@ihsaank please open a separate issue for this problem.

@dbisu
Copy link
Owner

dbisu commented Sep 17, 2023

For the original problem, I've created a test branch, delay-refactor, with proposed changes to fix this issue.

@ihsaank
Copy link

ihsaank commented Sep 17, 2023

Is the original issue the same as the problem I’ve stated here?

@dbisu
Copy link
Owner

dbisu commented Sep 17, 2023

Are you trying to use long delays and seeing the webserver stop?
A log dump from the debug serial would be helpful.

@ihsaank
Copy link

ihsaank commented Sep 17, 2023

Oh okay sorry no it’s a different issue I’m facing. I’ve followed all the installation steps correctly so not sure if it’s a firmware issue. Once I’m connected to the SSID I’m only able to execute payloads only for a few seconds then the web server freezes up and stops loading and seems to show I can no longer connect and when I go to the wifi option it shows a cross across the wifi and ‘no internet connection’ underneath it

@dbisu
Copy link
Owner

dbisu commented Sep 17, 2023

This is a different problem, please open a separate issue to track it.

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