Kodi Community Forum
how bypass error : curl failed with code 22 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: how bypass error : curl failed with code 22 (/showthread.php?tid=188035)



how bypass error : curl failed with code 22 - alamata - 2014-03-03

hey,..

i try to make a vids scrapper addon,...

but on some vids i have this error

curl failed with code 22

Code:
:
CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
NOTICE: Thread CDVDPlayer start, auto delete: false
NOTICE: Creating InputStream
WARNING: XFILE::CCurlFile::CReadState::FillBuffer: curl failed with code 22
ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.


i have seen this post,... who relate similar issue

http://code.google.com/p/youtubexbmc/issues/detail?id=95

this solution is on the post 217 :

Quote:I realized the problem is that function in JS may contain '$' in their names and the code cannot find functions with $ in their names (in my case function $y)
It basically replaces all occurrences of '$' in function names with "_S_"

but i my case

how fix the curl failed with code 22 error,....


Quote:CURLE_HTTP_RETURNED_ERROR (22)

This is returned if CURLOPT_FAILONERROR is set TRUE and the HTTP server returns an error code that is >= 400.

Bad request 400

The request had bad syntax or was inherently impossible to be satisfied.


i have a good url i can see ithe vid on the broswer,...

but this error,....

How Fix,... ??

Thx for your comprehension,....