[squid-users] There is the problems with instagram images and videos

simwin simwin at mail.ru
Tue Jun 14 14:07:36 UTC 2022


Hi! There is the problems with instagram - I can see only text
without photos and videos. 

This is the errors in browsers console:

16:52:51.024 Subsequent non-fatal errors won't be logged; see
https://fburl.com/debugjs. GyaOhXSa8tR.js:56:563

errorListener
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:56
reportNormalizedError
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:56
reportError
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:56
k
https://static.cdninstagram.com/rsrc.php/v3i7Br4/yh/l/ru_RU/0THwjINDuU0.js?_nc_x=Ij3Wp8lg5Kz:899
a
https://static.cdninstagram.com/rsrc.php/v3i7Br4/yh/l/ru_RU/0THwjINDuU0.js?_nc_x=Ij3Wp8lg5Kz:900
x
https://static.cdninstagram.com/rsrc.php/v3i7Br4/yh/l/ru_RU/0THwjINDuU0.js?_nc_x=Ij3Wp8lg5Kz:896
a
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:220
m
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:147
q
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:147
applyWithGuard
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:56
c
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:56
e
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:143
r
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:143
onmessage
https://static.cdninstagram.com/rsrc.php/v3/yK/r/GyaOhXSa8tR.js?_nc_x=Ij3Wp8lg5Kz:143

16:52:51.026 A request from an outside source is blocked: The Single source
policy prohibits reading a remote resource on
https://graph.instagram.com/logging_client_events . (Reason: CORS request
failed). Status code: (null).

16:53:17.750 A request from an outside source is blocked: The Single source
policy prohibits reading a remote resource on
https://scontent-hel3-1.cdninstagram.com/v/t51.2885-19/82690581_2710077395747525_6629318554367819776_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent-hel3-1.cdninstagram.com&_nc_cat=105&_nc_ohc=ctOErYLKsNAAX9tXH6M&edm=AJ9x6zYBAAAA&ccb=7-5&oh=00_AT85lFWnwrBmMMuEgs_q4E2WyNALHSTtKfbcOwA0pfA1eA&oe=62AD7CD2&_nc_sid=cff2a4
. (Reason: CORS request failed). Status code: (null)

My squid config, Debian 11:

grep -vE '^$|^#' /etc/squid/squid.conf

auth_param basic program /usr/lib/squid/basic_ncsa_auth
/etc/squid/internet_users
auth_param basic children 5
auth_param basic realm Sasic Authentication
auth_param basic credentialsttl 8 hours
auth_param basic casesensitive on
acl auth_users proxy_auth REQUIRED
http_access allow auth_users
acl localnet src 0.0.0.1-0.255.255.255	# RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8		# RFC 1918 local private network
(LAN)
acl localnet src 100.64.0.0/10		# RFC 6598 shared address space
(CGN)
acl localnet src 169.254.0.0/16 	# RFC 3927 link-local (directly
plugged) machines
acl localnet src 172.16.0.0/12		# RFC 1918 local private network
(LAN)
acl localnet src 192.168.0.0/16		# RFC 1918 local private network
(LAN)
acl localnet src fc00::/7       	# RFC 4193 local private network range
acl localnet src fe80::/10      	# RFC 4291 link-local (directly
plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
acl Safe_ports port 70		# gopher
acl Safe_ports port 210		# wais
acl Safe_ports port 1025-65535	# unregistered ports
acl Safe_ports port 280		# http-mgmt
acl Safe_ports port 488		# gss-http
acl Safe_ports port 591		# filemaker
acl Safe_ports port 777		# multiling http
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
include /etc/squid/conf.d/*
http_access allow localhost
http_access deny all
http_port xxx.xxx.xxx.xxx:xxxx (hidden) 
sslproxy_cert_error allow all
sslcrtd_program /usr/lib/squid/security_file_certgen -s /var/spool/ssl_db -M
20MB
coredump_dir /var/spool/squid
refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern -i (/cgi-bin/|\?) 0	0%	0
refresh_pattern .		0	20%	4320
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access Proxy-Connection allow all
request_header_access User-Agent allow all
request_header_access Cookie allow all
request_header_access All deny all
icap_enable off
icap_service service_req reqmod_precache bypass=1 icap://127.0.0.1:1344/request
icap_service service_resp respmod_precache bypass=0
icap://127.0.0.1:1344/response
icap_class class_req service_req
icap_class class_resp service_resp
icap_access class_req allow all
icap_access class_resp allow all

=========================================

Please check it. 





More information about the squid-users mailing list