500 - InternalServerError Something went horribly, horribl

In the unlikely ;) event you encounter a bug, tell us here
phanos
Posts: 45
Joined: Tue Nov 13, 2012 10:57 pm

500 - InternalServerError Something went horribly, horribl

Post by phanos » Sun Aug 03, 2014 12:14 am

Hello when I try to access from the REST api the following "http://htpc.local:49943/ArgusTV/Control/GetLiveStreams" or "http://htpc.local:49943/ArgusTV/Control ... Recordings" I get the error

Code: Select all

500 - InternalServerError

Something went horribly, horribly wrong while servicing your request.

We're sorry :-(

Graphics courtesy of the awesome Matthew Inman
Details
Error Details

Error details are currently disabled. Please set StaticConfiguration.DisableErrorTraces = true; to enable.
This was working fine in argus version 2.2. Does someone knows if this a bug or does something has change in the argus 2.3 RC release?

Regards

Phanos

Ariehd
Posts: 3
Joined: Mon Aug 04, 2014 3:35 am

Re: 500 - InternalServerError Something went horribly, horr

Post by Ariehd » Mon Aug 04, 2014 3:45 am

Hi Phanos,

Are you retrieving the URL using a browser or are you testing the REST API via and application or curl? Try it using curl (there are instructions in the REST API wiki page: http://www.argus-tv.com/wiki/index.php?title=REST_API). Also there are log files in ProgramData on the server computer (can't remember the exact folder) that may give you more insight into the nature of the error.

Regards,
Arieh

phanos
Posts: 45
Joined: Tue Nov 13, 2012 10:57 pm

Re: 500 - InternalServerError Something went horribly, horr

Post by phanos » Mon Aug 04, 2014 8:11 am

Hi Ariehd,

When I try
"curl --insecure -u user:password -d '' https://htpc:49941/ArgusTV/Core/Version"
I get nothing back but when I try
"curl --insecure -u user:password -d '' http://htpc:49943/ArgusTV/Core/Version"

The same does not work in my browser. Do you know how I can make it work in the browser as before?

phanos
Posts: 45
Joined: Tue Nov 13, 2012 10:57 pm

Re: 500 - InternalServerError Something went horribly, horr

Post by phanos » Tue Aug 05, 2014 10:24 am

Hi guys,

So is this a bug or I have misunderstood something here?

Regards,

Phanos

Christoph21x
Posts: 1070
Joined: Wed Oct 19, 2011 9:39 am
Location: Berne / Switzerland

Re: 500 - InternalServerError Something went horribly, horr

Post by Christoph21x » Tue Aug 05, 2014 5:35 pm

phanos wrote:Hello when I try to access from the REST api the following "http://htpc.local:49943/ArgusTV/Control/GetLiveStreams" or "http://htpc.local:49943/ArgusTV/Control ... Recordings" I get the error
Hi Phanos
I doubt, this was working with 2.2.2.
This is an API - Advanced Programming Interface - not a Web-Service.
If I'm wrong, please reply - then we have to find out...
"One must still have chaos within oneself, to give birth to a dancing star." (F. Nietzsche)

User avatar
Kay Diefenthal
Posts: 226
Joined: Fri Nov 16, 2012 10:40 am
Location: Wachtberg, NRW, Germany
Contact:

Re: 500 - InternalServerError Something went horribly, horr

Post by Kay Diefenthal » Tue Aug 05, 2014 6:09 pm

Christoph21x wrote:
phanos wrote:Hello when I try to access from the REST api the following "http://htpc.local:49943/ArgusTV/Control/GetLiveStreams" or "http://htpc.local:49943/ArgusTV/Control ... Recordings" I get the error
Hi Phanos
I doubt, this was working with 2.2.2.
This is an API - Advanced Programming Interface - not a Web-Service.
If I'm wrong, please reply - then we have to find out...
stands the A of API normal not for Application ?

ok the advanced unnormaly is right at time ;-)

Christoph21x
Posts: 1070
Joined: Wed Oct 19, 2011 9:39 am
Location: Berne / Switzerland

Re: 500 - InternalServerError Something went horribly, horr

Post by Christoph21x » Tue Aug 05, 2014 7:36 pm

Kay Diefenthal wrote: stands the A of API normal not for Application ?

ok the advanced unnormaly is right at time ;-)
I´m an old fart - and it used to stand for ¨advanced¨. But I don´t give (sorry) a sh*t - it´s (unfortunately!) NOT a web-service. Answering web-service requests would let usability explode! I´m a fan of it, using it daily with control systems.
"One must still have chaos within oneself, to give birth to a dancing star." (F. Nietzsche)

phanos
Posts: 45
Joined: Tue Nov 13, 2012 10:57 pm

Re: 500 - InternalServerError Something went horribly, horr

Post by phanos » Tue Aug 05, 2014 9:06 pm

Christoph21x wrote:
phanos wrote:Hello when I try to access from the REST api the following "http://htpc.local:49943/ArgusTV/Control/GetLiveStreams" or "http://htpc.local:49943/ArgusTV/Control ... Recordings" I get the error
Hi Phanos
I doubt, this was working with 2.2.2.
This is an API - Advanced Programming Interface - not a Web-Service.
If I'm wrong, please reply - then we have to find out...
Actually it worked up until version 2.2.1 (I was not using version 2.2.2). I have been using it to access the status of live tv and recordings through a c# application (using http request) that I created. I have been using it for the past 1.5 years and it was working fine!

I am pretty sure in the past also it worked in the browser since this is how I was testing it from time to time to fix bugs and put new features to my app.

After upgrading to version 2.3 it stopped working!

So it was not supposed to work in previous version as well? Was there a bug in previous versions that allowed me to use it? Is there a way to restore that functionality?

Regards,

Phanos

Christoph21x
Posts: 1070
Joined: Wed Oct 19, 2011 9:39 am
Location: Berne / Switzerland

Re: 500 - InternalServerError Something went horribly, horr

Post by Christoph21x » Tue Aug 05, 2014 9:45 pm

Please first try https plus user name / password
"One must still have chaos within oneself, to give birth to a dancing star." (F. Nietzsche)

phanos
Posts: 45
Joined: Tue Nov 13, 2012 10:57 pm

Re: 500 - InternalServerError Something went horribly, horr

Post by phanos » Tue Aug 05, 2014 9:50 pm

Christoph21x wrote:Please first try https plus user name / password
I tried it but it does not work. What I did was I typed the following address on firefox

"https://htpc:49941/ArgusTV/control/ActiveRecordings"

It prompt me for a username and password (the one that I use on the argus web interface) and I enter it.

I got the same error. Should I apply the username/password in another way?

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests