Packet filtering problem or invalid server response.

81 views
Skip to first unread message

David

unread,
Jun 7, 2012, 12:46:27 PM6/7/12
to crunchb...@googlegroups.com
It seems the crunchbase API servers are having trouble. Over the last couple days I've occasional noticed problems with companies that include a lot of data such as apple.

After testing, it seems the servers are not sending all of the response - and then closing the connection inappropriately. Since making the request directly in the browser seems to work more often, I'm assuming that either tools like cURL or wget are having trouble negotiating the headers, or your servers are expecting a USER AGENT string which matches a normal browser.

Resolving api.crunchbase.com... 107.21.104.179
Connecting to api.crunchbase.com|107.21.104.179|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 109852 (107K) [text/javascript]
Saving to: `apple.js.1'

22% [=======>                               ] 24,341      --.-K/s   in 74s     

2012-06-07 11:44:29 (328 B/s) - Connection closed at byte 24341. Retrying.

Anthony Nguyen

unread,
Jun 7, 2012, 2:07:20 PM6/7/12
to crunchb...@googlegroups.com, Vineet Thanedar
Please try the following: wget -O apple.js.gz --header "Accept-Encoding: gzip,defalte" http://api.crunchbase.com/v/1/company/apple.js

Vincent BARBEROT

unread,
Jun 7, 2012, 3:35:00 PM6/7/12
to crunchb...@googlegroups.com
I have the same problem with my web application. How can I do in this
case, please ?

Anthony Nguyen <anwn...@gmail.com> a écrit :

> Please try the following: wget -O apple.js.gz --header "Accept-Encoding:
> gzip,defalte" http://api.crunchbase.com/v/1/company/apple.js
>
> On Thursday, June 7, 2012 9:46:27 AM UTC-7, David wrote:
>>
>> It seems the crunchbase API servers are having trouble. Over the last
>> couple days I've occasional noticed problems with companies that include a
>> lot of data such as apple.<http://api.crunchbase.com/v/1/company/apple.js>
>>
>> After testing, it seems the servers are not sending all of the response -
>> and then closing the connection inappropriately. Since making the request
>> directly in the browser seems to work more often, I'm assuming that either
>> tools like cURL or wget are having trouble negotiating the headers, or your
>> servers are expecting a USER AGENT string which matches a normal browser.
>>
>> david@server:~$ wget -v http://api.crunchbase.com/v/1/company/apple.js
>> --2012-06-07 11:43:14-- http://api.crunchbase.com/v/1/company/apple.js
>> Resolving api.crunchbase.com... 107.21.104.179
>> Connecting to api.crunchbase.com|107.21.104.179|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 109852 (107K) [text/javascript]
>> Saving to: `apple.js.1'
>>
>> 22% [=======> ] 24,341 --.-K/s in 74s
>>
>>
>> 2012-06-07 11:44:29 (328 B/s) - Connection closed at byte 24341. Retrying.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "crunchbase-api" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/crunchbase-api/-/eN4NB7fQzaAJ.
> To post to this group, send email to crunchb...@googlegroups.com.
> To unsubscribe from this group, send email to
> crunchbase-ap...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/crunchbase-api?hl=en.
>
>



--
" Network Vincent BARBEROT ® " : Your international solution on demand at
http://www.networkvb.com/

David

unread,
Jun 11, 2012, 11:53:31 AM6/11/12
to crunchb...@googlegroups.com, Vineet Thanedar
Thanks Anthony, setting that header worked perfectly. Should be noted in the documentation perhaps.

Anthony

unread,
Jun 12, 2012, 10:57:29 PM6/12/12
to crunchb...@googlegroups.com
Hi Vincent,

Could you elaborate on the issue you are having with your web app? Or include a snippet of code along with the server response error if any. Here's some sample code using jQuery: https://gist.github.com/2921495

--Anthony
> To post to this group, send email to crunchbase-api@googlegroups.com.
> To unsubscribe from this group, send email to  
> For more options, visit this group at  
> http://groups.google.com/group/crunchbase-api?hl=en.
>
>



--
" Network Vincent BARBEROT ® " : Your international solution on demand at
http://www.networkvb.com/

> To post to this group, send email to crunchbase-api@googlegroups.com.
> To unsubscribe from this group, send email to  
> crunchbase-api+unsubscribe@googlegroups.com.
> For more options, visit this group at  
> http://groups.google.com/group/crunchbase-api?hl=en.
>
>



--
" Network Vincent BARBEROT ® " : Your international solution on demand at
http://www.networkvb.com/

> To post to this group, send email to crunchbase-api@googlegroups.com.
> To unsubscribe from this group, send email to  
> crunchbase-api+unsubscribe@googlegroups.com.
> For more options, visit this group at  
> http://groups.google.com/group/crunchbase-api?hl=en.
>
>



--
" Network Vincent BARBEROT ® " : Your international solution on demand at
http://www.networkvb.com/

> To post to this group, send email to crunchbase-api@googlegroups.com.
> To unsubscribe from this group, send email to  
> crunchbase-api+unsubscribe@googlegroups.com.
> For more options, visit this group at  
> http://groups.google.com/group/crunchbase-api?hl=en.
>
>



--
" Network Vincent BARBEROT ® " : Your international solution on demand at
http://www.networkvb.com/

> To post to this group, send email to crunchbase-api@googlegroups.com.
> To unsubscribe from this group, send email to  
> crunchbase-api+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages