• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Youtube API can't import 02/29/2016

Started by nguyenhuy,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nguyenhuyTopic starter

Hi anyone,

Can you still import youtube videos?

From morning, i can't using import (Add remote video) from youtube.

Error:

Fatal error: Uncaught exception 'Exception' with message 'Curl Error : Failed to connect to 2404:6800:4003:c00::5f: Network is unreachable' in public_html/lib/class.youtube.php:595 Stack trace: #0 public_html/lib/class.youtube.php(72): Youtube->api_get('https://www.goo...', Array)
#1 public_html/lib/class.youtube.php(476): Youtube->getVideoInfo('JWHnQrXsc7A')
#2 public_html/lib/class.providers.php(842): Youtube->Single('JWHnQrXsc7A')
#3 public_html/lib/class.providers.php(787): Vibe_Providers->get_details()
#4 public_html/com/com_share.php(47): Vibe_Providers->get_data()
#5 [internal function]: modify_content_embed('')
#6 public_html/lib/functions.plugins.php(142): call_user_func_array('modify_content_...', Array)
#7 public_html/lib/functions.plugins.php(170): apply_filter('the_defaults', '')
#8 public_html/lib/functions.php(1598): apply_filters('the_defaults', '')
#9 public_html/tpl/variation/ in /home/conchi/public_html/lib/class.youtube.php on line 595
  •  

Marius P.

Network is unreachable



Maybe Youtube API was down.
Tried now, it works.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

nguyenhuyTopic starter

  •  

zeepakos

same here youtube api not work mario please help us to fix. Thanks Regards
  •  

nguyenhuyTopic starter

i tried to paste Get request on browser with my API key and this is result:

There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed

How to fix it?
  •  

nguyenhuyTopic starter

Quote from: nguyenhuy on
i tried to paste Get request on browser with my API key and this is result:

There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed

How to fix it?

I can solve this issue by access Google Developers Console and remove option domain in API Key, but it still not working.
  •  

nguyenhuyTopic starter

I found reason make Youtube Import not working, because my CSF
  •  

Marius P.

If you guys use firewall/antivirus systems, make sure first you let it connect to all the sources and phpvibe.com
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)