Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: 404 not found error



Stephan:

Several things can cause 404 errors. The simplest case is accessing a video on demand file from the server such as .mp4. Usually this is because the directory specified in streamingserver.xml...
<PREF NAME="movie_folder" >/Library/QuickTimeStreaming/Movies/</PREF>
... isn't correct or the "qtss" user doesn't have permissions to read/execute in that directory. It can also be something simple (i.e. the client isn't using the correct path/filename in the rtsp request).


To troubleshoot the VOD case, make sure that the correct path is specified in streamingserver.xml and that the qtss user (or user that the streaming server process is running under) has read/execute privileges in that directory. Then connect with a simple rtsp request to the file: rtsp://<serverAddress>/<relativePath>/<mediaFile>.

One common error is using a full path to the media file instead of a relative path. The <relativePath> starts at the directory specified in the movie_folder attribute in streamingserver.xml (i.e. using rtsp://<serverAddress>/Library/QuickTimeStreaming/Movies/ sample_100kbit.mp4 will fail with a 404, while rtsp://<serverAddress>/sample_100kbit.mp4 will work - if the sample_100kbit.mp4 is in /Library/QuickTimeStreaming/Movies/ and that directory is specified as the value for the movie_folder attribute.)

A more complex case is when accessing an sdp file (i.e. for a live stream). In this case a 404 error can be generated if the server can't receive the incoming stream specified in the sdp file, or if the client can't access the stream specified in the file. To troubleshoot, open the sdp file on the system running the streaming server with a media client (QuickTime Player, vlc, etc). If a media player on the server can't access the stream specified in the sdp file, the server won't be able to reflect it either and will generate a 404 error. Look at the value for the c=IN IP4 line. If the IP address specified can't be accessed by a client (i.e. it is the loopback address or a local NAT address), the client won't be able to access the stream.

Streaming through NAT can be tricky for a number of reasons. It is likely in your case that the IP address in the sdp file is the NAT'd address. Since external clients can't access that address, they get a 404 error.

-George

On Jan 5, 2005, at 4:05 AM, Grallert Stephan wrote:

Did I miss some posts in this list or is there a filter installed dropping all posts concerning the 404 Error, because this question has been asked very often, but never been answered up to a solution?

;-)

Could somebody please help with this error?

Best,
Stephan


-----Ursprüngliche Nachricht-----
Von:
streaming-server-users-bounces+stephan.grallert=telis-finanz.de
@lists.apple.com
[mailto:streaming-server-users-bounces+stephan.grallert=telis-f
email@hidden] Im Auftrag von Grallert Stephan
Gesendet: Sonntag, 2. Januar 2005 19:09
An: email@hidden
Betreff: AW: 404 not found error

Happy new year to all!

In fact, I have a similar problem here!
While the static movies are working as the should, live
streams produce the same error in QT player.

I managed to get it working if sender, server and player are
in the same LAN. But as soon as NAT  comes into play,
something seems to go wrong presumably in the SDP file,

Greetz,
Stephan

-----Ursprüngliche Nachricht-----
Von:
streaming-server-users-bounces+stephan.grallert=telis-finanz.de
@lists.apple.com
[mailto:streaming-server-users-bounces+stephan.grallert=telis-f
email@hidden] Im Auftrag von email@hidden
Gesendet: Freitag, 31. Dezember 2004 20:17
An: email@hidden
Betreff: Re: 404 not found error

I forgot to mention... nothing in the error logs apart from
information
that modules have loaded. When i try to access the files, it shows up
in the access log.

Quoting Bill Conlon <email@hidden>:

look in your logs.

On Thursday, December 30, 2004, at 12:43  PM, James Prestwood wrote:

Hi,
 
I am getting nothing but "404: not found" messages when trying to
stream files. Every time I try and play any of the sample
files it
says "waiting for media" "switching transports" "waiting
for media"
"switching transports" "404: not found".
 
I have checked:
the path is correct
the files are in the correct folder the files aren't
corrupt there
is no firewall enabled nothing else is running on the ports used
 
I am running a Linux RHEL3 server with Darwin Streaming Server
5.0.1.1 installed with all its default settings. I am using
Quicktime 6.5.1 to (try and) view the files.
 
Thanks in advance for any help/advice.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/
email@hidden

This email sent to email@hidden





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/s
email@hidden

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/s
email@hidden

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/ email@hidden


This email sent to email@hidden


--

Nothing in the world can take place of persistence.
Talent will not; nothing is more common than unsuccessful men with talent.
Genius will not; unrewarded genius is almost a proverb.
Education will not; the world is full of educated derelicts.
Persistence and determination alone are omnipotent.
 
~ Calvin Coolidge


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden

This email sent to email@hidden
References: 
 >AW: 404 not found error (From: "Grallert Stephan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.