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

User unable to access captive portal or hotspot #415

Closed
Popolechien opened this issue May 1, 2024 · 15 comments
Closed

User unable to access captive portal or hotspot #415

Popolechien opened this issue May 1, 2024 · 15 comments
Assignees
Labels
bug Something isn't working

Comments

@Popolechien
Copy link
Contributor

From user:

I purchased and downloaded the image which I’ve successfully burned to an sdcard which I’ve booted in my Pi.
After a few minutes, the hotspot ‘ready’ appears, which I can connect to, however, I cannot connect to any information, I have also tried connecting to 192.168.2.1 which is the gateway, dhcp & dns server on the Pi.
I have read the FAQ and also the info in the email that came with the link but I cannot gain access.
I’ve tried via a Windows laptop and an iPhone, latest OS’s on both, same result. I’ve also tried different browsers and disabling the private IP setting.
I’ve tried a Pi 4 & Pi 3.

The fact that ready appears seems to indicate that the image is working as intended, but I have no idea what could be wrong on the user side.

@rgaudin rgaudin added the bug Something isn't working label May 1, 2024
@rgaudin
Copy link
Member

rgaudin commented May 1, 2024

Please ask user to add more details here (seems tech savvy) as “I cannot connect to any information” is too vague to be useful here. What's happening? Error message?

@Popolechien
Copy link
Contributor Author

Nothing happens apparently. No captive portal, and going to http://ready.hotspot returns nothing.

@rgaudin
Copy link
Member

rgaudin commented May 1, 2024

OK ; investigating

@rgaudin
Copy link
Member

rgaudin commented May 1, 2024

Thank you very much for reporting ; it was a regression affecting the captive-portal. This is fixed and deployed ; just tested a working image out of the service.

@rgaudin rgaudin closed this as completed May 1, 2024
@rgaudin rgaudin self-assigned this May 1, 2024
@Popolechien
Copy link
Contributor Author

I am reopening this issue as the user is still unable to access the contents of the card. Adding a few screenshots he took while trying the latest image we sent them:


Any idea?

@Popolechien Popolechien reopened this May 6, 2024
@rgaudin
Copy link
Member

rgaudin commented May 6, 2024

This is exactly what was happening: WiFi network is visible but the captive portal is not triggered when connecting to it…

Can you make sure User is testing with a card recreated after downloading the new Image (which was uploaded on Wed, 01 May 2024 14:49:11 GMT)

Just tested with a similar image (not the same, too large to download) ; works as expected.

@Popolechien
Copy link
Contributor Author

Can you make sure User is testing with a card recreated after downloading the new Image (which was uploaded on Wed, 01 May 2024 14:49:11 GMT)

Yep, download link was sent on 2 May at 6:28pm.

@rgaudin
Copy link
Member

rgaudin commented May 6, 2024

OK, I think it would be good for you @Popolechien to download the exact same file and test it just to rule out an image issue. Please.

I see that he tested on Pi3 and Pi4 and also multiple clients which is good.

Please check Power Supply capacity. Pi3 should be at least 2.5A (12.5W) and Pi4 3A (15W)
If it complies, make sure the card was written properly: using raspberrypi imager, and letting it finish the Verify part. He can just reflash the same card with that image if unsure whether this was done.

If this leads nowhere, we'd have to get some diagnosis information either by plugging the Pi into a screen or connecting the Pi to an ethernet network and running some commands.

@Popolechien
Copy link
Contributor Author

Yup. I've had him download another, 8GB test image just to see if that fails as well.

@Popolechien
Copy link
Contributor Author

Popolechien commented May 7, 2024

i sent a test image to the user and it worked (both on macOS and iPhone). I downloaded the prepper image that was sent to them and it worked as well (macOS + android).

The only thing I noticed was that the portal was a bit long to appear even after I connected to the network, but nothing outrageous (maybe a minute or so).

They are re-downloading the file and going for a retry.

@rgaudin
Copy link
Member

rgaudin commented May 7, 2024

Thank you ; glad you tested it.

I think we have a ticket regarding first-time and boot-time in general experience. As already explained, we startup the WiFi AP very early, when the rest if not ready and we provide no feedback when things are ready.

@kelson42
Copy link
Contributor

kelson42 commented May 7, 2024

It seems very important that the benchmark tests tests a minima the captive portal. It seems critical and I see no other place where it could be done.

@rgaudin
Copy link
Member

rgaudin commented May 7, 2024

@kelson42 this can not be otherwise as the traffic is not relayed until the CP adds the proper rule to the firewall.

@Popolechien
Copy link
Contributor Author

Turns out that verification at the end of the Raspberry Pi Imager flash failed twice in a row: user bought a new card and things worked like a charm.

@rgaudin
Copy link
Member

rgaudin commented May 9, 2024

Ok good to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants