Project

General

Profile

Actions

Defect #38982

closed

Can not preview video

Added by crystal su 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hi,
This is my redmine environment information. I saw that the official website redmine4.0 began to support online preview videos.

When I was browsing the uploaded video online, the following error message occurred. (Video in mp4 format, h264 encoding)

When I open debugging, the following error message is displayed, is there a problem with my service configuration? Still video encoding format does not support online browsing. Thank you very much for your answer


Files

Actions #1

Updated by Go MAEDA 9 months ago

In clipboard-202308241125-d08ea.png, there is an error message "NS_ERROR_CONNECTION_REFUSED". There may be something wrong with your Redmine server configuration.

Actions #3

Updated by crystal su 9 months ago

Go MAEDA wrote in #note-1:

In clipboard-202308241125-d08ea.png, there is an error message "NS_ERROR_CONNECTION_REFUSED". There may be something wrong with your Redmine server configuration.

I try to picture in the red box in the browser SRC from http://localhost:3000/attachments/download/1/1.webm to /attachments/download / 1/1. Webm, video can be normal.

Is the path parameter in the app/views/common/_other.html.erb file added or obtained on the open port of the service http://localhost:3000? I am not familiar with ruby, I would like to ask what code should be changed so that the path parameter does not take http://localhost:xx

Actions #4

Updated by Holger Just 8 months ago

  • Status changed from New to Needs feedback

You have to configure the correct external URl in Administration -> Settings -> Host name and path and the correct external protocol in the Protocol setting below.

When configuring your web server, you have to make sure to pass the externally sent Host header along to the application server. E.g. when using nginx and puma, you have to include

proxy_set_header Host $host;

into your nginx config besides your proxy_pass rule.

Please check your webserver and application server config and check your application server logs. If you still observe this issue, please post

  • details about your hosting environment (operating system, webserver and application server)
  • the configuration of both your webserver (e.g. the entire virtual host / server section related to redmine) and your application server
  • an excerpt of the request log of Redmine from logs/production.log in your Redmine directory.
Actions #5

Updated by Holger Just 8 months ago

  • Status changed from Needs feedback to Closed

Solution confirmed in the forum thread at RE: can not preview video.

Actions

Also available in: Atom PDF