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

docker won't start (v 0.8.0) #79

Open
fl32000 opened this issue Jan 9, 2025 · 1 comment
Open

docker won't start (v 0.8.0) #79

fl32000 opened this issue Jan 9, 2025 · 1 comment

Comments

@fl32000
Copy link

fl32000 commented Jan 9, 2025

When I start docker with command docker run --rm --network=host --name calls-recorder -e "SITE_URL=http://localhost:8065" -e "AUTH_TOKEN=xxxxxxxxxxx" -e "CALL_ID=foud37a6dfbafx1qg8eyogdhec" -e "RECORDING_ID=foud37a6dfbafx1qg8eyogdhec" -e "POST_ID=xxxxxxxxxxxxxxxxxxx" -e "DEV_MODE=true" -v calls-recorder-volume:/data mattermost/calls-recorder:v0.8.0, the error appears

time=2025-01-09T12:18:49.300Z level=ERROR source=utils.go:153 msg="request failed with failure status code" recID=foud37a6dfbafx1qg8eyogdhec jobID=foud37a6dfbafx1qg8eyogdhec code=403 url=http://localhost:8065/plugins/com.mattermost.calls/bot/calls/foud37a6dfbafx1qg8eyogdhec/filename method=GET data="Forbidden\n"
time=2025-01-09T12:18:49.300Z level=ERROR source=main.go:67 msg="failed to start recording" recID=foud37a6dfbafx1qg8eyogdhec jobID=foud37a6dfbafx1qg8eyogdhec err="failed to get filename for call: failed to get filename: AppErrorFromJSON: model.utils.decode_json.app_error, body: Forbidden\n, invalid character 'F' looking for beginning of value"
time=2025-01-09T12:18:49.304Z level=ERROR source=utils.go:153 msg="request failed with failure status code" recID=foud37a6dfbafx1qg8eyogdhec jobID=foud37a6dfbafx1qg8eyogdhec code=403 url=http://localhost:8065/plugins/com.mattermost.calls/bot/calls/foud37a6dfbafx1qg8eyogdhec/jobs/foud37a6dfbafx1qg8eyogdhec/status method=POST data="Forbidden\n"
time=2025-01-09T12:18:49.304Z level=ERROR source=main.go:69 msg="failed to report job failure" recID=foud37a6dfbafx1qg8eyogdhec jobID=foud37a6dfbafx1qg8eyogdhec err="request failedAppErrorFromJSON: model.utils.decode_json.app_error, body: Forbidden\n, invalid character 'F' looking for beginning of value"
time=2025-01-09T12:18:59.305Z level=ERROR source=main.go:74 msg="failed to stop recorder" recID=foud37a6dfbafx1qg8eyogdhec jobID=foud37a6dfbafx1qg8eyogdhec err="timed out waiting for stopped event"
+ exit_handler

Note - I did not find in the instructions where the RECORDING_ID value comes from. So, i flii it with CALL_ID data.

@streamer45
Copy link
Contributor

@fl32000 The README needs some updating because it's not easy to run this manually any longer without code changes on the plugin side since some state is expected (the RECORDING_ID should match a real job ID in the database). What are you trying to achieve?

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

2 participants