You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(new \Embed\Embed())->get('https://www.youtube.com/watch?v=TUNNVTiChMQ')
Tracing this exception back it gets thrown in \Embed\Http\CurlDispatcher::getResponse by the check
if (curl_errno($this->curl)) {
$this->error(curl_error($this->curl), curl_errno($this->curl));
}
this statement is triggered by the fact that curl_errno($this->curl); returns the status code 23 and curl_error($this->curl); returns an empty string. However if I call curl_strerror(curl_errno($this->curl)); I do get an error message "Failed writing received data to disk/application".
)
array(3) {
["errno"]=>
int(23)
["error"]=>
string(0) ""
["strerror"]=>
string(48) "Failed writing received data to disk/application"
}
However when I remove that error check to force the response to be handled then everything looks fine, the response gets parsed correctly and I can create the proper embeds.
This program makes use of the Zend Scripting Language Engine:
Zend Engine v4.3.8, Copyright (c) Zend Technologies
with Zend OPcache v8.3.8, Copyright (c), by Zend Technologies
with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans
Configuration
Core
PHP Version => 8.3.8
Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => UTF-8 => UTF-8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => On => On
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_log_mode => 0644 => 0644
error_prepend_string => no value => no value
error_reporting => 32767 => 32767
expose_php => Off => Off
extension_dir => /usr/local/lib/php/extensions/no-debug-zts-20230831 => /usr/local/lib/php/extensions/no-debug-zts-20230831
fiber.stack_size => no value => no value
file_uploads => On => On
hard_timeout => 2 => 2
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/local/lib/php => .:/usr/local/lib/php
input_encoding => no value => no value
internal_encoding => no value => no value
log_errors => On => On
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
mail.mixed_lf_and_crlf => Off => Off
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
max_multipart_body_parts => -1 => -1
memory_limit => 256M => 256M
open_basedir => no value => no value
output_buffering => 0 => 0
output_encoding => no value => no value
output_handler => no value => no value
post_max_size => 35M => 35M
precision => 14 => 14
realpath_cache_size => 4096K => 4096K
realpath_cache_ttl => 600 => 600
register_argc_argv => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => -1 => -1
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sys_temp_dir => no value => no value
syslog.facility => LOG_USER => LOG_USER
syslog.filter => no-ctrl => no-ctrl
syslog.ident => php => php
unserialize_callback_func => no value => no value
upload_max_filesize => 35M => 35M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
zend.assertions => 1 => 1
zend.detect_unicode => Off => Off
zend.enable_gc => On => On
zend.exception_ignore_args => Off => Off
zend.exception_string_param_max_len => 15 => 15
zend.max_allowed_stack_size => 0 => 0
zend.multibyte => Off => Off
zend.reserved_stack_size => 0 => 0
zend.script_encoding => no value => no value
ctype
ctype functions => enabled
curl
cURL support => enabled
cURL Information => 8.7.1
Age => 10
Features
AsynchDNS => Yes
CharConv => No
Debug => No
GSS-Negotiate => No
IDN => Yes
IPv6 => Yes
krb4 => No
Largefile => Yes
libz => Yes
NTLM => Yes
NTLMWB => No
SPNEGO => No
SSL => Yes
SSPI => No
TLS-SRP => Yes
HTTP2 => Yes
GSSAPI => No
KERBEROS5 => No
UNIX_SOCKETS => Yes
PSL => Yes
HTTPS_PROXY => Yes
MULTI_SSL => No
BROTLI => Yes
ALTSVC => Yes
HTTP3 => No
UNICODE => No
ZSTD => Yes
HSTS => Yes
GSASL => No
Protocols => dict, file, ftp, ftps, gopher, gophers, http, https, imap, imaps, mqtt, pop3, pop3s, rtsp, smb, smbs, smtp, smtps, telnet, tftp, ws, wss
Host => x86_64-alpine-linux-musl
SSL Version => OpenSSL/3.3.1
ZLib Version => 1.3.1
Directive => Local Value => Master Value
curl.cainfo => no value => no value
date
date/time support => enabled
timelib version => 2022.10
"Olson" Timezone Database Version => 2024.1
Timezone Database => internal
Default timezone => Europe/Amsterdam
DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.12.7
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled
fileinfo
fileinfo support => enabled
libmagic => 543
filter
Input Validation and Filtering => enabled
Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value
gd
GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.13.2
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 8
PNG Support => enabled
libPNG Version => 1.6.43
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled
WebP Support => enabled
BMP Support => enabled
AVIF Support => enabled
TGA Read Support => enabled
Directive => Local Value => Master Value
gd.jpeg_ignore_warning => On => On
MHASH support => Enabled
MHASH API Version => Emulated Support
iconv
iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.17
Directive => Local Value => Master Value
iconv.input_encoding => no value => no value
iconv.internal_encoding => no value => no value
iconv.output_encoding => no value => no value
Internationalization support => enabled
ICU version => 74.2
ICU Data version => 74.2
ICU TZData version => 2023c
ICU Unicode version => 15.1
Directive => Local Value => Master Value
intl.default_locale => no value => no value
intl.error_level => 0 => 0
intl.use_exceptions => Off => Off
json
json support => enabled
libxml
libXML support => active
libXML Compiled Version => 2.12.7
libXML Loaded Version => 21207
libXML streams => enabled
mbstring
Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled
libmbfl version => 1.3.2
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 6.9.9
Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.http_input => no value => no value
mbstring.http_output => no value => no value
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml+xml) => ^(text/|application/xhtml+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.regex_retry_limit => 1000000 => 1000000
mbstring.regex_stack_limit => 100000 => 100000
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
mysqli
MysqlI Support => enabled
Client API library version => mysqlnd 8.3.8
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0
Directive => Local Value => Master Value
mysqli.allow_local_infile => Off => Off
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => no value => no value
mysqli.default_user => no value => no value
mysqli.local_infile_directory => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.rollback_on_cached_plink => Off => Off
Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive => Local Value => Master Value
phar.cache_list => no value => no value
phar.readonly => On => On
phar.require_hash => On => On
posix
POSIX support => enabled
random
Version => 8.3.8
readline
Readline Support => enabled
Readline library => 8.2
Directive => Local Value => Master Value
cli.pager => no value => no value
cli.prompt => \b > => \b >
redis
Redis Support => enabled
Redis Version => 6.0.2
Redis Sentinel Version => 1.0
Available serializers => php, json
Available compression => lzf, zstd, lz4
Directive => Local Value => Master Value
redis.arrays.algorithm => no value => no value
redis.arrays.auth => no value => no value
redis.arrays.autorehash => 0 => 0
redis.arrays.connecttimeout => 0 => 0
redis.arrays.consistent => 0 => 0
redis.arrays.distributor => no value => no value
redis.arrays.functions => no value => no value
redis.arrays.hosts => no value => no value
redis.arrays.index => 0 => 0
redis.arrays.lazyconnect => 0 => 0
redis.arrays.names => no value => no value
redis.arrays.pconnect => 0 => 0
redis.arrays.previous => no value => no value
redis.arrays.readtimeout => 0 => 0
redis.arrays.retryinterval => 0 => 0
redis.clusters.auth => no value => no value
redis.clusters.cache_slots => 0 => 0
redis.clusters.persistent => 0 => 0
redis.clusters.read_timeout => 0 => 0
redis.clusters.seeds => no value => no value
redis.clusters.timeout => 0 => 0
redis.pconnect.connection_limit => 0 => 0
redis.pconnect.echo_check_liveness => 1 => 1
redis.pconnect.pool_detect_dirty => 0 => 0
redis.pconnect.pool_pattern => no value => no value
redis.pconnect.pool_poll_timeout => 0 => 0
redis.pconnect.pooling_enabled => 1 => 1
redis.session.early_refresh => 0 => 0
redis.session.lock_expire => 0 => 0
redis.session.lock_retries => 100 => 100
redis.session.lock_wait_time => 20000 => 20000
redis.session.locking_enabled => 0 => 0
Reflection
Reflection => enabled
session
Session Support => enabled
Registered save handlers => files user redis rediscluster
Registered serializer handlers => php_serialize php php_binary
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_samesite => no value => no value
session.cookie_secure => Off => Off
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.lazy_write => On => On
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.sid_bits_per_character => 5 => 5
session.sid_length => 26 => 26
session.upload_progress.cleanup => On => On
session.upload_progress.enabled => On => On
session.upload_progress.freq => 1% => 1%
session.upload_progress.min_freq => 1 => 1
session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix => upload_progress_ => upload_progress_
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_strict_mode => On => On
session.use_trans_sid => Off => Off
SimpleXML
SimpleXML support => enabled
Schema support => enabled
sodium
sodium support => enabled
libsodium headers version => 1.0.19
libsodium library version => 1.0.19
SQLite3 support => enabled
SQLite Library => 3.45.3
Directive => Local Value => Master Value
sqlite3.defensive => On => On
sqlite3.extension_dir => no value => no value
standard
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => On => On
assert.bail => Off => Off
assert.callback => no value => no value
assert.exception => On => On
assert.warning => On => On
auto_detect_line_endings => Off => Off
default_socket_timeout => 60 => 60
from => no value => no value
session.trans_sid_hosts => no value => no value
session.trans_sid_tags => a=href,area=href,frame=src,form= => a=href,area=href,frame=src,form=
unserialize_max_depth => 4096 => 4096
url_rewriter.hosts => no value => no value
url_rewriter.tags => form= => form=
user_agent => no value => no value
Compressed File Support => no
Clock Source => clock_gettime
'xdebug://gateway' pseudo-host support => yes
'xdebug://nameserver' pseudo-host support => no
Systemd Private Temp Directory => not enabled
Directive => Local Value => Master Value
xdebug.auto_trace => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.cli_color => 0 => 0
xdebug.client_discovery_header => HTTP_X_FORWARDED_FOR,REMOTE_ADDR => HTTP_X_FORWARDED_FOR,REMOTE_ADDR
xdebug.client_host => host.docker.internal => host.docker.internal
xdebug.client_port => 9003 => 9003
xdebug.cloud_id => no value => no value
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.collect_params => On => On
xdebug.collect_return => Off => Off
xdebug.collect_vars => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.connect_timeout_ms => 200 => 200
xdebug.control_socket => time: 25ms => time: 25ms
xdebug.coverage_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.default_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.discover_client_host => Off => Off
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.file_link_format => no value => no value
xdebug.filename_format => no value => no value
xdebug.force_display_errors => Off => Off
xdebug.force_error_reporting => 0 => 0
xdebug.gc_stats_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.gc_stats_output_dir => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.gc_stats_output_name => gcstats.%p => gcstats.%p
xdebug.halt_level => 0 => 0
xdebug.idekey => no value => no value
xdebug.log => no value => no value
xdebug.log_level => 7 => 7
xdebug.max_nesting_level => 512 => 512
xdebug.max_stack_frames => -1 => -1
xdebug.mode => develop => develop
xdebug.output_dir => /tmp => /tmp
xdebug.overload_var_dump => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.profiler_enable_trigger => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.profiler_enable_trigger_value => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.profiler_output_dir => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_connect_back => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_host => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_log => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_log_level => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_mode => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_port => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_timeout => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.scream => Off => Off
xdebug.show_error_trace => Off => Off
xdebug.show_exception_trace => Off => Off
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.start_upon_error => default => default
xdebug.start_with_request => default => default
xdebug.trace_enable_trigger => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.trace_enable_trigger_value => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.trace_output_name => trace.%c => trace.%c
xdebug.trigger_value => no value => no value
xdebug.use_compression => 0 => 0
xdebug.var_display_max_children => 128 => 128
xdebug.var_display_max_data => 512 => 512
xdebug.var_display_max_depth => 3 => 3
xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.12.7
xmlreader
XMLReader => enabled
xmlwriter
XMLWriter => enabled
Zend OPcache
Opcode Caching => Disabled
Optimization => Disabled
SHM Cache => Enabled
File Cache => Disabled
JIT => On
Startup Failed => Opcode Caching is disabled for CLI
Directive => Local Value => Master Value
opcache.blacklist_filename => no value => no value
opcache.dups_fix => Off => Off
opcache.enable => On => On
opcache.enable_cli => Off => Off
opcache.enable_file_override => On => On
opcache.error_log => no value => no value
opcache.file_cache => no value => no value
opcache.file_cache_consistency_checks => On => On
opcache.file_cache_only => Off => Off
opcache.file_update_protection => 2 => 2
opcache.force_restart_timeout => 180 => 180
opcache.huge_code_pages => Off => Off
opcache.interned_strings_buffer => 16 => 16
opcache.jit => tracing => tracing
opcache.jit_bisect_limit => 0 => 0
opcache.jit_blacklist_root_trace => 16 => 16
opcache.jit_blacklist_side_trace => 8 => 8
opcache.jit_buffer_size => 0 => 0
opcache.jit_debug => 0 => 0
opcache.jit_hot_func => 127 => 127
opcache.jit_hot_loop => 64 => 64
opcache.jit_hot_return => 8 => 8
opcache.jit_hot_side_exit => 8 => 8
opcache.jit_max_exit_counters => 8192 => 8192
opcache.jit_max_loop_unrolls => 8 => 8
opcache.jit_max_polymorphic_calls => 2 => 2
opcache.jit_max_recursive_calls => 2 => 2
opcache.jit_max_recursive_returns => 2 => 2
opcache.jit_max_root_traces => 1024 => 1024
opcache.jit_max_side_traces => 128 => 128
opcache.jit_max_trace_length => 1024 => 1024
opcache.jit_prof_threshold => 0.005 => 0.005
opcache.lockfile_path => /tmp => /tmp
opcache.log_verbosity_level => 1 => 1
opcache.max_accelerated_files => 20000 => 20000
opcache.max_file_size => 0 => 0
opcache.max_wasted_percentage => 5 => 5
opcache.memory_consumption => 256 => 256
opcache.opt_debug_level => 0 => 0
opcache.optimization_level => 0x7FFEBFFF => 0x7FFEBFFF
opcache.preferred_memory_model => no value => no value
opcache.preload => no value => no value
opcache.preload_user => no value => no value
opcache.protect_memory => Off => Off
opcache.record_warnings => Off => Off
opcache.restrict_api => no value => no value
opcache.revalidate_freq => 2 => 2
opcache.revalidate_path => Off => Off
opcache.save_comments => On => On
opcache.use_cwd => On => On
opcache.validate_permission => Off => Off
opcache.validate_root => Off => Off
opcache.validate_timestamps => On => On
zip
Zip => enabled
Zip version => 1.22.3
Libzip version => 1.10.1
BZIP2 compression => Yes
XZ compression => Yes
ZSTD compression => Yes
AES-128 encryption => Yes
AES-192 encryption => Yes
AES-256 encryption => Yes
zlib
ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
Compiled Version => 1.3.1
Linked Version => 1.3.1
Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value
PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact [email protected].
Installed packages
adrhumphreys/silverstripe-fixtures 1.2.0 Fixtures for Silverstripe.
betterbrief/silverstripe-googlemapfield 1.0.0 Save locations using latitude/longitude DataObject fields.
clue/ndjson-react 1.3.0 Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.
clue/stream-filter 1.7.0 A simple and modern approach to stream filtering in PHP
composer/ca-bundle 1.5.0 Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.
composer/installers 2.2.0 A multi-framework Composer library installer
composer/package-versions-deprecated 1.11.99.5 Composer plugin that provides efficient querying for installed package versions (no runtime IO)
composer/pcre 3.1.4 PCRE wrapping library that offers type-safe preg_* replacements.
composer/semver 3.4.0 Semver library that offers utilities, version constraint parsing and validation.
composer/xdebug-handler 3.0.5 Restarts a process without Xdebug.
cyber-duck/silverstripe-seo dev-develop 44b813b A SilverStripe module to optimise the Meta, crawling, indexing, and sharing of your website content
defuse/php-encryption 2.4.0 Secure PHP Encryption Library
dnadesign/silverstripe-elemental 5.2.2 Elemental pagetype and collection of Elements
doctrine/lexer 3.0.1 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
egulias/email-validator 4.0.2 A library for validating emails against several RFCs
elliotsawyer/silverstripe-mysql-ssl 1.0.0 Restores support for SSL MySQL connections in Silverstripe 4
embed/embed 4.4.11 PHP library to retrieve page info using oembed, opengraph, etc
enshrined/svg-sanitize 0.16.0 An SVG sanitizer for PHP
evenement/evenement 3.0.2 Événement is a very simple event dispatching library for PHP
ezyang/htmlpurifier 4.17.0 Standards compliant HTML filter written in PHP
fidry/cpu-core-counter 1.1.0 Tiny utility to get the number of CPU cores.
friendsofphp/php-cs-fixer 3.59.3 A tool to automatically fix PHP code style
giggsey/libphonenumber-for-php 8.13.39 PHP Port of Google's libphonenumber
giggsey/locale 2.6 Locale functions required by libphonenumber-for-php
gorriecoe/silverstripe-link 1.5.1 Adds a Link Object that can be link to a URL, Email, Phone number, an internal Page or File.
gorriecoe/silverstripe-linkfield 1.1.2 Adds a Linkfield for gorriecoe/silverstripe-link
guzzlehttp/guzzle 7.8.1 Guzzle is a PHP HTTP client library
guzzlehttp/promises 2.0.2 Guzzle promises library
guzzlehttp/psr7 2.6.2 PSR-7 message implementation that also provides common utility methods
http-interop/http-factory-guzzle 1.2.0 An HTTP Factory using Guzzle PSR7
intervention/image 2.7.2 Image handling and manipulation library with support for Laravel integration
jean85/pretty-package-versions 2.0.6 A library to get pretty versions strings of installed dependencies
jonom/focuspoint 5.0.0 Smarter automatic image cropping for SilverStripe
lastguest/murmurhash 2.1.1 MurmurHash3 Hash
league/csv 9.16.0 CSV data manipulation made easy in PHP
league/flysystem 3.28.0 File storage abstraction for PHP
league/flysystem-local 3.28.0 Local filesystem adapter for Flysystem.
league/mime-type-detection 1.15.0 Mime-type detection for Flysystem
lekoala/silverstripe-cms-actions 1.7.1 Add actions to your models in SilverStripe
lekoala/silverstripe-phonenumber dev-master 21c85c7 Format, store and validate phone number in SilverStripe
m1/env 2.2.0 Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env f...
marcj/topsort 2.0.0 High-Performance TopSort/Dependency resolving algorithm
masterminds/html5 2.9.0 An HTML5 parser and serializer.
meyfa/php-svg 0.14.7 Read, edit, write, and render SVG files with PHP
ml/iri 1.1.4 IRI handling for PHP
ml/json-ld 1.2.1 JSON-LD Processor for PHP
monolog/monolog 3.6.0 Sends your logs to files, sockets, inboxes, databases and various web services
nikic/php-parser 4.19.1 A PHP parser written in PHP
olympia/silverstripe-formbuilder 2.0.0 Silverstripe formbuilder to create forms in the cms
oscarotero/html-parser 0.1.8 Parse html strings to DOMDocument
paragonie/constant_time_encoding 2.7.0 Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)
paragonie/random_compat 9.99.100 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
php-http/client-common 2.7.1 Common HTTP Client implementations and tools for HTTPlug
php-http/discovery 1.19.4 Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations
php-http/httplug 2.4.0 HTTPlug, the HTTP client abstraction for PHP
php-http/message 1.16.1 HTTP Message related tools
php-http/message-factory 1.1.0 Factory interfaces for PSR-7 HTTP Message
php-http/promise 1.3.1 Promise used for asynchronous HTTP requests
phpstan/phpstan 1.11.4 PHPStan - PHP Static Analysis Tool
phpstan/phpstan-deprecation-rules 1.2.0 PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
phptek/sentry 5.0.3 Sentry.io integration for SilverStripe. Binds Sentry.io to SilverStripe's error & exception handling subsystem.
psr/cache 3.0.0 Common interface for caching libraries
psr/clock 1.0.0 Common interface for reading the clock.
psr/container 2.0.2 Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher 1.0.0 Standard interfaces for event handling.
psr/http-client 1.0.3 Common interface for HTTP clients
psr/http-factory 1.1.0 PSR-17: Common interfaces for PSR-7 HTTP message factories
psr/http-message 1.1 Common interface for HTTP messages
psr/log 3.0.0 Common interface for logging libraries
psr/simple-cache 3.0.0 Common interfaces for simple caching
ralouphie/getallheaders 3.0.3 A polyfill for getallheaders.
react/cache 1.2.0 Async, Promise-based cache interface for ReactPHP
react/child-process 0.6.5 Event-driven library for executing child processes with ReactPHP.
react/dns 1.13.0 Async DNS resolver for ReactPHP
react/event-loop 1.5.0 ReactPHP's core reactor event loop that libraries can use for evented I/O.
react/promise 3.2.0 A lightweight implementation of CommonJS Promises/A for PHP
react/socket 1.15.0 Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP
react/stream 1.4.0 Event-driven readable and writable streams for non-blocking I/O in ReactPHP
rector/rector 1.1.0 Instant Upgrade and Automated Refactoring of any PHP code
sebastian/diff 4.0.6 Diff implementation
sentry/sdk 3.6.0 This is a metapackage shipping sentry/sentry with a recommended HTTP client.
sentry/sentry 3.22.1 A PHP SDK for Sentry (http://sentry.io)
sheadawson/silverstripe-dependentdropdownfield 3.0.0 A silverstripe dropdown field that has it's options populated via ajax, based on the value of the field it depends on
silvershop/silverstripe-hasonefield 4.0.1 Edit a has_one relationship using a GridField, triggered by clicking a button.
silverstripe/admin 2.1.7 SilverStripe admin interface
silverstripe/asset-admin 2.1.3 Asset management for the SilverStripe CMS
silverstripe/assets 2.1.2 SilverStripe Assets component
silverstripe/campaign-admin 2.1.1 SilverStripe campaign admin interface
silverstripe/cms 5.1.4 The SilverStripe Content Management System
silverstripe/config 2.1.1 SilverStripe configuration based on YAML and class statics
silverstripe/environmentcheck 3.0.2 Provides an API for building environment tests
silverstripe/errorpage 2.1.2 ErrorPage component for SilverStripe CMS
silverstripe/event-dispatcher 1.0.1 Publish and subscribe to events in Silverstripe CMS or your Silverstripe application
silverstripe/framework 5.1.0 The SilverStripe framework
silverstripe/graphql 5.1.3 GraphQL server for SilverStripe models and other data
silverstripe/login-forms 5.2.2 A collection of templates for the CMS login screens
silverstripe/lumberjack 3.1.2 A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in th...
silverstripe/mfa 5.2.2 Enable multi-factor authentication with fallback codes
silverstripe/mimevalidator 3.0.1 Checks uploaded file content roughly matches a known MIME type for the file extension.
silverstripe/recipe-cms 5.1.0 SilverStripe recipe for fully featured page and asset content editing
silverstripe/recipe-core 5.1.0 SilverStripe framework-only core recipe
silverstripe/recipe-plugin 2.0.0 Helper plugin to install SilverStripe recipes
silverstripe/redirectedurls 3.0.0 Provides a system for users to configure arbitrary redirections in the CMS
silverstripe/reports 5.1.1 Reports module for SilverStripe CMS
silverstripe/segment-field 3.2.1 A reusable approach to segment-generating fields
silverstripe/session-manager 2.1.1 Allow users to manage and revoke access to multiple login sessions across devices.
silverstripe/siteconfig 5.1.2 Site wide settings administration.
silverstripe/spamprotection 4.2.0 Spam protection module for SilverStripe.
silverstripe/tagfield 3.2.1 Tag field for SilverStripe
silverstripe/totp-authenticator 5.2.1 A TOTP authenticator for use with silverstripe/mfa
silverstripe/userforms 6.2.5 UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any...
silverstripe/vendor-plugin 2.0.3 Allows vendor modules to expose directories to the webroot
silverstripe/versioned 2.1.3 SilverStripe Versioned component
silverstripe/versioned-admin 2.1.3 SilverStripe versioned admin interface
sminnee/callbacklist 0.1.1 PHP class that manages a list of callbacks
spomky-labs/otphp 11.3.0 A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm) and the RFC 6238 (TOTP Algorit...
stevie-mayhew/hasoneedit 2.3.0 Allows editing the fields of a has_one object directly in the CMS
symbiote/silverstripe-gridfieldextensions 4.0.8 A collection of useful grid field components
symbiote/silverstripe-multivaluefield 6.1.0 A DB field + form fields for storing multiple values in a single property (serialized).
symfony/cache 6.4.8 Provides extended PSR-6, PSR-16 (and tags) implementations
symfony/cache-contracts 3.5.0 Generic abstractions related to caching
symfony/config 6.4.8 Helps you find, load, combine, autofill and validate configuration values of any kind
symfony/console 7.1.1 Eases the creation of beautiful and testable command line interfaces
symfony/deprecation-contracts 3.5.0 A generic function and convention to trigger deprecation notices
symfony/dom-crawler 6.4.8 Eases DOM navigation for HTML and XML documents
symfony/event-dispatcher 6.4.8 Provides tools that allow your application components to communicate with each other by dispatching events and listen...
symfony/event-dispatcher-contracts 3.5.0 Generic abstractions related to dispatching event
symfony/filesystem 6.4.8 Provides basic utilities for the filesystem
symfony/finder 6.4.8 Finds files and directories via an intuitive fluent interface
symfony/http-client 7.1.1 Provides powerful methods to fetch HTTP resources synchronously or asynchronously
symfony/http-client-contracts 3.5.0 Generic abstractions related to HTTP clients
symfony/mailer 6.4.8 Helps sending emails
symfony/mime 6.4.8 Allows manipulating MIME messages
symfony/options-resolver 7.1.1 Provides an improved replacement for the array_replace PHP function
symfony/process 7.1.1 Executes commands in sub-processes
symfony/sendinblue-mailer 6.4.8 Symfony Sendinblue Mailer Bridge
symfony/service-contracts 3.5.0 Generic abstractions related to writing services
symfony/stopwatch 7.1.1 Provides a way to profile code
symfony/string 7.1.1 Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified...
symfony/translation 6.4.8 Provides tools to internationalize your application
symfony/translation-contracts 3.5.0 Generic abstractions related to translation
symfony/var-exporter 7.1.1 Allows exporting any serializable PHP data structure to plain PHP code
symfony/yaml 6.4.8 Loads and dumps YAML files
syntro/silverstripe-phpstan 5.0.0 PHPStan for Silverstripe
ua-parser/uap-php 3.9.14 A multi-language port of Browserscope's user agent parser.
unclecheese/display-logic 3.0.0 Allows assignment of conditions for display and hide of specific form fields based on client side behavior.
undefinedoffset/silverstripe-nocaptcha 2.4.3 A spam protector and form field using Google's reCAPTCHA v2 or optionally a foundation v3 implementation
webonyx/graphql-php 15.12.2 A PHP port of GraphQL reference implementation
wedevelopnl/silverstripe-articles 5.1.3 Articles module
wedevelopnl/silverstripe-cms-tweaks 2.0.0 A SilverStripe module that adds some tweaks
wedevelopnl/silverstripe-cypress dev-main 33179bd Helper module to run cypress tests on a Silverstripe website inside the GitLab CI.
wedevelopnl/silverstripe-elemental-grid 5.0.1 Elemental grid module
wedevelopnl/silverstripe-elemental-widget 1.0.0 Re-usable widgets for silverstripe-elemental
wedevelopnl/silverstripe-elemental-widget-userforms 1.0.0 Re-usable user form widgets for silverstripe-elemental
wedevelopnl/silverstripe-gridfieldsitetreebuttons 1.0.2 Modifies GridFields & GridField detail forms to use standard page edit form (with versioning, history & settings). Si...
wedevelopnl/silverstripe-icon-manager 4.0.1 Silverstripe module to upload and manage custom icons to use in SilverStripe
wedevelopnl/silverstripe-media-field 4.0.0 Media field module
wedevelopnl/silverstripe-menustructure 4.0.1 Silverstripe module to create nested menus
wedevelopnl/silverstripe-svg-image 2.0.0 Silverstripe module to add support for SVG images.
wedevelopnl/silverstripe-webp-images 2.0.1 webp images module
wernerkrauss/silverstripe-rector 0.1 Rector rules for Silverstripe CMS
The text was updated successfully, but these errors were encountered:
We have just encountered this same issue on an other project running a more traditional docker setup of nginx/php-fpm/mysql. I haven't seen anything weird in that docker configuration and it is a setup we've been running for years.
It is the first project we're building from scratch in php 8.3, however when briefly testing this on a live project running 8.3 and there this problem doesn't arise. We going to test this project locally aswell to see whether this might be a docker/php8.3 related issue might be.
I'm attempting to load the embedding data of a Youtube video but that results in a network exception, without an error message
Tracing this exception back it gets thrown in
\Embed\Http\CurlDispatcher::getResponse
by the checkthis statement is triggered by the fact that
curl_errno($this->curl);
returns the status code23
andcurl_error($this->curl);
returns an empty string. However if I callcurl_strerror(curl_errno($this->curl));
I do get an error message "Failed writing received data to disk/application".Output
Array ( [url] => https://www.youtube.com/watch?v=GFOaWkFP4JE [content_type] => text/html; charset=utf-8 [http_code] => 200 [header_size] => 1737 [request_size] => 0 [filetime] => -1 [ssl_verify_result] => 20 [redirect_count] => 0 [total_time] => 1.23017 [namelookup_time] => 0.029307 [connect_time] => 0.048797 [pretransfer_time] => 0.067591 [size_upload] => 0 [size_download] => 219883 [speed_download] => 178741 [speed_upload] => 0 [download_content_length] => -1 [upload_content_length] => 0 [starttransfer_time] => 0.125468 [redirect_time] => 0 [redirect_url] => [primary_ip] => 172.217.23.206 [certinfo] => Array ( )
)
array(3) {
["errno"]=>
int(23)
["error"]=>
string(0) ""
["strerror"]=>
string(48) "Failed writing received data to disk/application"
}
However when I remove that error check to force the response to be handled then everything looks fine, the response gets parsed correctly and I can create the proper embeds.
Response snippet
Doing the exact same call but using a vimeo video does return the expected result
therefore this seem to be a youtube specific issue.
We are running the default frankenphp docker container with php 8.3
PHP version information
Installed packages
The text was updated successfully, but these errors were encountered: