The Movie Database 支持

Hii I am new to using curl and all the networking stuff I just created a account and was reading the docs and I tried authenticating by using the following

curl --request GET \
     --url https://api.themoviedb.org/3/authentication \
     --header 'Authorization: Bearer MY_TOKEN' \
     --header 'accept: application/json'

Nothing was printed in the console and I waited for a few minutes but still nothing. So, I tried using the -v verbose option to see what is happening inside the hood and found this

Note: Unnecessary use of -X or --request, GET is already inferred.
* Host api.themoviedb.org:443 was resolved.
* IPv6: 2405:200:1607:2820:41::36
* IPv4: 49.44.79.236
*   Trying [2405:200:1607:2820:41::36]:443...
*   Trying 49.44.79.236:443...
* connect to 2405:200:1607:2820:41::36 port 443 from 2409:40c1:4004:db3d:381e:ba36:2b84:1439 port 34890 failed: Connection timed out
* connect to 49.44.79.236 port 443 from 192.168.104.115 port 46994 failed: Connection timed out
* Failed to connect to api.themoviedb.org port 443 after 133645 ms: Could not connect to server
* closing connection #0
curl: (28) Failed to connect to api.themoviedb.org port 443 after 133645 ms: Could not connect to server

I have also opened my 443 port in firewall for tcp

2 回复(第 1 页,共 1 页)

Jump to last post

Hi @RUDisCOOL,

49.44.79.236 is not an AWS IP, and upon looking at the whois, I can see it belongs to Jio, which I assume is your ISP.

Jio has been blocking TMDB off and on for a few years, I don't know why. You can read more about this on a recent thread here.

@travisbell Thanks for the reply, I tried using a VPN which worked. Also, I changed my computers DNS to Cloudflare's DNS and that worked too.

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区