500 errors?

22 views
Skip to first unread message

Kosso

unread,
Aug 5, 2008, 3:11:58 PM8/5/08
to slideshare...@googlegroups.com
Hi,

I seem to be getting Server 500 errors when attempting to communicate with the SlideShare API today.

Is this a known issues, or have some things changed?

Thanks.
Kosso

here is the PHP / cUrl code I am using - which was working fine:


    $host = "http://www.slideshare.net/api/1/get_slideshow_info";
    $ts = time();
    $hash = sha1($slideShareSecret.$ts);
    $params = array(
        "api_key"=>$slideShareApiKey,
        "ts"=>$ts,
        "hash"=>$hash,
        "slideshow_url"=>$url
    );
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $host);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
    $reply = curl_exec($ch);
    curl_close($ch);
    $xml = simplexml_load_string($reply);


    echo "<pre>";
    print_r($xml);
    echo "</pre>";


Enrico Foschi

unread,
Aug 5, 2008, 6:46:47 PM8/5/08
to SlideShare Developers
Hi, did the team released a new version?
http://groups.google.com/group/slideshare-developers/browse_thread/thread/20bf745318facc8c

Anyway, I'm having the same issue and today the code was working
perfectly (C# in my case).

Best,
Enrico

Gee Chuang

unread,
Aug 5, 2008, 7:09:30 PM8/5/08
to SlideShare Developers

Hi,

Through our testing so far it seems like only calls to
`get_slideshow_info` are failing with 500 errors. Is this the case
with you Enrico?

Kosso, are you experiencing any problems with other API requests?

Thanks for the help/input, we'll try to get this resolved ASAP!
Gee


On Aug 5, 3:46 pm, Enrico Foschi <enr...@enricofoschi.com> wrote:
> Hi, did the team released a new version?http://groups.google.com/group/slideshare-developers/browse_thread/th...

Ross Boucher

unread,
Aug 5, 2008, 7:10:36 PM8/5/08
to slideshare...@googlegroups.com
280 Slides is also failing with 500 Errors when calling
get_slideshow_info.

-Ross

Enrico Foschi

unread,
Aug 5, 2008, 7:12:28 PM8/5/08
to SlideShare Developers
Dear Gee,

yes, this is the case.

I try to get the embed code giving as parameter a slideshare_url (and
omitting slideshare_id).

If I use slideshare_id, I get "no content found".

Thanks for your quick feedback,
Enrico

Gee Chuang

unread,
Aug 5, 2008, 7:39:39 PM8/5/08
to SlideShare Developers

Hi Enrico, Ross.

Thanks for all the help. We've reproduced the error and we've
determined the cause.

We'll release the fix this evening. Let us know if you still have
issues come tomorrow.

We appreciate your patience and your support!

Gee

Enrico Foschi

unread,
Aug 5, 2008, 7:58:49 PM8/5/08
to SlideShare Developers
Dear Gee,

thank for the help, I'm really impressed by the support, much
appreciated.

Sure I'll let you know about the fix. Tomorrow (I'm in Dublin, so it
is 1.04: time to go...)

Best,
Enrico Foschi

Kosso

unread,
Aug 5, 2008, 9:15:52 PM8/5/08
to slideshare...@googlegroups.com
Hi,

For now, I'm only using 'get_slideshow_info'

Thanks,
Kosso


2008/8/6 Gee Chuang <g...@slideshare.com>



--
-------------------------------------------------------
Phreadz : Founder: http://phreadz.com
Phreadz Blog : http://phreadz.blogspot.com
Personal Blog: http://kosso.wordpress.com
Twitter: http://twitter.com/kosso

Enrico Foschi

unread,
Aug 6, 2008, 3:15:55 AM8/6/08
to SlideShare Developers
Dear Gee,

I'm sorry about that, but I didn't see any improvement and I still get
the Internal Server error (500) on get_slideshow_info (the only call
we'll use).

Any news about the fix?

Thanks,
Enrico

Gee Chuang

unread,
Aug 6, 2008, 3:53:59 AM8/6/08
to slideshare...@googlegroups.com, SlideShare Developers
Hi Enrico

The fix is currently scheduled for our weekly release; I'll see if I
can get it pushed up asap.

Thanks, and sorry about the trouble.
Gee

On Aug 6, 2008, at 12:15 AM, Enrico Foschi <enr...@enricofoschi.com>
wrote:

Enrico Foschi

unread,
Aug 6, 2008, 4:11:56 AM8/6/08
to SlideShare Developers
Thanks Gee,

if we will have the fix by the end of the week that would be really
great. Currently this issue is blocking our Beta 3 release.

Thanks
Enrico

Kosso

unread,
Aug 6, 2008, 6:21:43 AM8/6/08
to slideshare...@googlegroups.com
Thanks Gee,

If you could try to get it fixed as soon as possible that would be great.

This is such a crucial and basic feature of the API - 'get_info', I believe it deserves to be dealt with immediately, if at all possible.



2008/8/6 Gee Chuang <g...@slideshare.com>

Gee Chuang

unread,
Aug 6, 2008, 12:34:17 PM8/6/08
to SlideShare Developers

Hi All,

The release will go out as scheduled, and should be reflected by
Thursday morning California time.

Sorry about the delay.
Gee

Enrico Foschi

unread,
Aug 6, 2008, 12:47:55 PM8/6/08
to SlideShare Developers
Thanks Gee.

Hope everything will work fine.

Enrico

Enrico Foschi

unread,
Aug 7, 2008, 5:38:24 PM8/7/08
to SlideShare Developers
Hi Gee,

any news about the deployment?

I still get 500.

Thanks,
Enrico

Gee Chuang

unread,
Aug 7, 2008, 6:07:36 PM8/7/08
to slideshare...@googlegroups.com

Hi Enrico,

I'm testing the `get_slideshow_info` method right now, and am getting successful responses from the server.

Can you share some information with me about your exact API call?

Thanks
Gee

Enrico Foschi

unread,
Aug 7, 2008, 6:24:28 PM8/7/08
to SlideShare Developers
Hi Gee.

The error I'm getting now is:

System.Net.WebException: The remote server returned an error: (502)
Bad Gateway. at System.Net.HttpWebRequest.GetResponse() at
slideshare.executePostCommand(String uri, String parameters).

I'm using your slideshare.cs file in a simple test ASP .NET
application. Am I doing something wrong?

Thanks,
Enrico

Gee Chuang

unread,
Aug 7, 2008, 6:28:01 PM8/7/08
to slideshare...@googlegroups.com

Hi Enrico,

Is this happening as we speak?

I encountered the 502 intermittently this morning, but that was due to earlier spikes in traffic.  It should be OK by now.

Gee

Enrico Foschi

unread,
Aug 7, 2008, 6:34:17 PM8/7/08
to SlideShare Developers
Hi Gee,

yes, this is happening right now.

Kosso

unread,
Aug 7, 2008, 7:02:26 PM8/7/08
to slideshare...@googlegroups.com
Hi,

just to let know know: my PHP/cUrl code is working fine now for 'get_slideshow_info'

Kosso


2008/8/7 Enrico Foschi <enr...@enricofoschi.com>

Kosso

unread,
Aug 7, 2008, 7:02:48 PM8/7/08
to slideshare...@googlegroups.com
just to let *you* know, I should say ;)

2008/8/8 Kosso <kos...@gmail.com>

Enrico Foschi

unread,
Aug 7, 2008, 7:07:10 PM8/7/08
to SlideShare Developers
Thanks Kosso. Actually I run the DotNetUtil solution from Slideshare
Api "as is", but still I get a timeout (no firewall blocking ports),
when I was getting it working in the same way a week ago (same
environment, nothing changed).

Thanks,
Enrico

Enrico Foschi

unread,
Aug 7, 2008, 8:35:02 PM8/7/08
to SlideShare Developers
The issue has been successfully solved.

Thanks to the Slideshow staff for their great efforts, the quick
feedback and the professionality they demonstrated in this scenario.

As an "API customer" I would say I'm really satisfied.

Enrico Foschi

Enrico Foschi

unread,
Aug 7, 2008, 8:37:55 PM8/7/08
to SlideShare Developers
typographic error: "SlideShare" staff, not "SlideShow" :) - it's 1.43
here, time to go :)

Michael J.T. O'Kelly

unread,
Aug 8, 2008, 4:05:12 PM8/8/08
to SlideShare Developers

I'm getting 500 errors today using pyslideshare, for uploading only.
All the sample scripts except test_upload_slideshow.py finish
correctly. Can anyone else upload successfully using the API?

Prabhu

unread,
Aug 8, 2008, 4:08:42 PM8/8/08
to slideshare...@googlegroups.com
Hi Michael,

I wrote the python version one fine night and hardly maintained it
afterwards. Are you able to find any mismatch/issue with the api
format/code? If yes, I will be glad to give you svn access to fix the
issue.

Sorry for not able to help you more than this.

Regards,
Prabhu

Michael J.T. O'Kelly

unread,
Aug 8, 2008, 4:37:27 PM8/8/08
to SlideShare Developers

The server just never replies, which doesn't seem like it could be a
problem specific to pyslideshare. What happens when you try
test_upload_slideshow.py?


Thanks,
Michael


On Aug 8, 4:08 pm, Prabhu <prabhu.subraman...@gmail.com> wrote:
> Hi Michael,
>
> I wrote the python version one fine night and hardly maintained it
> afterwards. Are you able to find any mismatch/issue with the api
> format/code? If yes, I will be glad to give you svn access to fix the
> issue.
>
> Sorry for not able to help you more than this.
>
> Regards,
> Prabhu
>
> On Fri, Aug 8, 2008 at 9:05 PM, Michael J.T. O'Kelly
>

Michael J.T. O'Kelly

unread,
Aug 8, 2008, 5:45:23 PM8/8/08
to SlideShare Developers
It's working now, and I can't reproduce the original problem.
*shrug* Will post again if it resumes.

Gee Chuang

unread,
Aug 8, 2008, 5:46:44 PM8/8/08
to slideshare...@googlegroups.com

Hi everyone,

We were experiencing some spikes in traffic earlier today, so that might have been the cause of the timeouts.

Thanks
Gee
Reply all
Reply to author
Forward
0 new messages