Comments (2)
Hey @Gokalex 👋
Thanks for the bug report.
Could you provide more details on the code you're executing and what you're trying to achieve?
From looking at the endpoint you've provided and taking the exception in consideration, I assume that you're uploading a (large) file and it timeouts at some point (correct me if I'm wrong).
In that case, I initially did not take this in consideration when I first wrote that part, as I did not upload large files through the API myself. So it just creates a HttpClient
now without any specific options or the ability to pass options yourself.
I want to support PSR-18 so you can specify your own client (and options), but I haven't come around to doing so. Here's the related issue.
TLDR
I think that in the meantime you could set the default_socket_timeout
to a desired value, or -1
for infinite timeout (references: Symfony docs; PHP).
from bunnynet-php.
This will be closed when the new major release gets published, as it will be possible to supply your own client and options.
from bunnynet-php.
Related Issues (20)
- [Feature]: Fetch thumbnails with GetCollection HOT 4
- [Feature]: Stream API - Add `OEmbed` endpoint
- [Feature]: Stream API - Add `Get Video Play Data` endpoint
- [Feature]: Stream API - Add `Repackage Video` endpoint
- [Feature]: Stream API - Add `Transcribe Video` endpoint
- [Feature]: Util HOT 1
- [Feature]: API Keys HOT 2
- [Feature]: Storage zone - Zone Connections and Statistics
- [Feature]: User - Marketing Details and List Notifications
- [Feature]: System HOT 1
- [Feature]: Countries - Remove model unused page/perpage option
- [Feature]: Region - Remove model unused page/perpage option
- [Feature]: Stream Video Library - Get Languages endpoint
- [Feature]: Stream Video Library - List Video Libraries and Update Video Library query/body parameter updates
- [Feature]: DNS - List DNS Zones and Add/Update DNS record query/body parameter updates
- [Feature]: Pull Zone - Pull Zone and Edge Rule updates
- [Feature]: Storage Zone - List Storage Zones query parameter update
- [Feature]: TUS Resumable Uploads HOT 2
- [Feature]: Upload video from external folder like FTP HOT 7
- [Feature]: Stream API Upload Thumbnail HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bunnynet-php.