Strange authentication problem by web

Hi all.
I recently setup home assistant on raspberry pi4.
I can login on home assistant by local network both from laptop and mobile app without problem.
When I’m out of home, I can still use all and chrome on my mobile without problem, but I’m not able to login by my laptop.
I get
Unable to connect to home assistant.

In the log I can see the following

Logger: aiohttp.server
Source: /usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py:355
First occurred: 8:00:09 PM (3 occurrences)
Last logged: 8:00:09 PM

Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File “aiohttp_http_parser.pyx”, line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invali

How are you remotely accessing Home Assistant?

Nabu Casa?
VPN?
DuckDNS?

I just opened port 8123 on the router.
The strange thing is that is working fine on my mobile phone, while it doesn’t work on laptop.

Are you trying to reach http://homeassistant.local:8123, or the public IP address of your router at port 8123?

Either way,

That is incredibly insecure.

Please install Let’s Encrypt at least. This would require you to have a static IP address from your ISP.

If you have a dynamically assigned public IP address use either DuckDNS (includes Let’s Encrypt) or Nabu Casa.

Yes I know.
I’m at the very beginning of setup.
I will setup let’s encrypt in next days
I’m using another dynamic DNS service similar to duck DNS I guess, and I’m using that hostname to reach my installation from outside.
I don’t understand why it is working fine by mobile, while not from laptop.

Okay. So you’re using a DynamicDNS service to get the public IP of your router.

Check that your laptop browser does not have “smartsceen” or some other safe web browsing addon enabled. These quite often block DyDNS services.