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

Problem ! User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36\r\n"); #895

Open
bhpjean opened this issue Nov 5, 2024 · 2 comments

Comments

@bhpjean
Copy link

bhpjean commented Nov 5, 2024

This entry:

strcat(rqh, "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36\r\n");

This causes servers based on SHOUTcast server software to reject connections from radios based on the new library.
I think the name is probably too long. I don't know.

I changed this entry in Audio.cpp to the old one:

strcat(rqh, "User-Agent: ESP32 audioI2S\r\n");

and the radio tuner connects normally to the server based on SHOUTcast server software

check these streams and you will see:

http://relay1.slayradio.org:8300/
http://stream3.polskieradio.pl:8950

Also, great respect for the work in writing the esp32 i2s audio library

Best regards

Piotr D

@Marcin-Fenger
Copy link

User-Agent: iTunes/12.6.5 (Macintosh; OS X 11.0) AppleWebKit/611.2.7.1.4 - works
User-Agent: VLC/3.0.21 LibVLC/3.0.21 - works

I think it should be changed.

schreibfaul1 added a commit that referenced this issue Nov 6, 2024
@schreibfaul1
Copy link
Owner

Thanks for the good work. I have changed the user agent.

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

3 participants