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

make sounds-install looking in wrong directory #2635

Open
boteman opened this issue Oct 24, 2024 · 0 comments
Open

make sounds-install looking in wrong directory #2635

boteman opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@boteman
Copy link

boteman commented Oct 24, 2024

Describe the bug
Issuing "make sounds-install cd-moh-install" results in a 502 proxy error fetching
/usr/local/src/freeswitch/build/getsounds.sh freeswitch-sounds-music-8000-1.0.52.tar.gz /usr/local/freeswitch/sounds/

It's looking in:
https://files.freeswitch.org/
when it should be looking in:
https://files.freeswitch.org/releases/sounds/

It looks like the server redirects requests to the right place. For now, it only was able to retrieve the 8000Hz Callie prompts, the music needs to be redirected as well. TNX.

To Reproduce
Steps to reproduce the behavior:

  1. Build FreeSWITCH 1.10.13 from source code on Debian Bookworm
  2. make sounds-install cd-moh-install

Expected behavior
All sound files should be installed in the proper directory tree.

Package version or git hash
FreeSWITCH (Version 1.10.13-dev git 97cb672 2024-10-15 14:06:59Z 64bit) is ready

Trace logs
`/usr/local/src/freeswitch 21:15:48 # make sounds-install cd-moh-install
#/usr/local/src/freeswitch
#/usr/local/src/freeswitch/build/getsounds.sh freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz /usr/local/freeswitch/sounds/
--2024-10-22 21:15:48-- http://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz
Resolving files.freeswitch.org (files.freeswitch.org) 190.102.98.174, 2803:d000:fffe::174
Connecting to files.freeswitch.org (files.freeswitch.org)|190.102.98.174|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz [following]
--2024-10-22 21:15:49-- https://files.freeswitch.org/freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz

Connecting to files.freeswitch.org (files.freeswitch.org)|190.102.98.174|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://files.freeswitch.org/releases/sounds/freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz [following]

URL transformed to HTTPS due to an HSTS policy
--2024-10-22 21:15:49-- https://files.freeswitch.org/releases/sounds/freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz

Reusing existing connection to files.freeswitch.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 18347808 (17M) [application/x-gzip]

Saving to: ‘freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz’
freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz 100%[=========>] 17.50M 8.87MB/s in 2.0s
2024-10-22 21:15:51 (8.87 MB/s) - ‘freeswitch-sounds-en-us-callie-8000-1.0.53.tar.gz’ saved [18347808/18347808]

#/usr/local/src/freeswitch
#/usr/local/src/freeswitch/build/getsounds.sh freeswitch-sounds-music-8000-1.0.52.tar.gz /usr/local/freeswitch/sounds/

URL transformed to HTTPS due to an HSTS policy
--2024-10-22 21:15:51-- https://files.freeswitch.org/freeswitch-sounds-music-8000-1.0.52.tar.gz
Resolving files.freeswitch.org (files.freeswitch.org)... 190.102.98.174, 2803:d000:fffe::174
Connecting to files.freeswitch.org (files.freeswitch.org)|190.102.98.174|:443... connected.

HTTP request sent, awaiting response... 502 Proxy Error
2024-10-22 21:15:51 ERROR 502: Proxy Error.

cannot find freeswitch-sounds-music-8000-1.0.52.tar.gz
make: *** [Makefile:4337: sounds-music-8000-install] Error 1`

(gdb) set pagination off
(gdb) set logging file /tmp/backtrace.log
(gdb) set logging on
Copying output to /tmp/backtrace.log.
(gdb) bt
(gdb) bt full
(gdb) info threads
(gdb) thread apply all bt
(gdb) thread apply all bt full
(gdb) set logging off
Done logging to /tmp/backtrace.log.
(gdb) quit
@boteman boteman added the bug Something isn't working label Oct 24, 2024
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

1 participant