Comments (5)
This happens not only on file downloads, but also GET requests to api/v1/search/data
-- again, only if the amount of data is large enough. If I filter only one or a few records, they display but if I bring back 1000 then the content length is off and I get a JSON parse error as a result
from homer-api.
I'm noticing that the latest checked-in homer-api has this:
public function setContentLength($pMessage)
{
//Fix for MAC Safary and Chrome + 2 for response
if (php_sapi_name() !== 'cli' )
header('Content-Length: '.strlen($pMessage)+2);
}
while my running container has this:
public function setContentLength($pMessage)
{
if (php_sapi_name() !== 'cli' )
header('Content-Length: '.strlen($pMessage));
}
This looks like it could be the cause, I will investigate updating my image
from homer-api.
ok so it looks like it was fixed in this commit:
ec17e43
but the homer-complete image does not include it:
https://github.com/sipcapture/homer-docker/blob/master/webapp/Dockerfile#L20
I can deploy that fix and build my own image, but wondering if there is plans to release a new homer-complete image at some point with this fix?
If my diagnosis is faulty please let me know
from homer-api.
Thanks for the update @davehorton - I guess all we need is retrigger the Docker builders. I'm trying so now, will confirm once ready to retest, please standby
from homer-api.
from homer-api.
Related Issues (20)
- Alarms config HOT 1
- Can't create alarm HOT 1
- Ipv6 calls are showing 0.0.0.0 ip when exported as pcap HOT 5
- Export search type uses current local time zone regardless of time zone selected in UI HOT 3
- Search uses "local" time instead of selected timezone if Export selected HOT 1
- click on Call-ID field does not display entire dialog if call started > 15 minutes before packet clicked HOT 3
- Wrong MOS calculation HOT 7
- Large INVITEs > 1500 bytes not being saved HOT 11
- homer_mysql_rotate fails. HOT 2
- NO msg field when retrieved call details using GET/POST http://localhost/api/v1/search/data HOT 1
- homer-api not connecting to the database HOT 3
- LDAP Authentication
- Homer 5 Install guide HOT 2
- Back-End homer-api for Java ? HOT 3
- unable to send json using statstrmr to homer api HOT 1
- does possible homer authenticat via microsoft active directory? HOT 2
- Duplicated records on homer 5 HOT 2
- homer_pgsql_rotate.pl no longer works HOT 7
- MySQL 8: function PASSWORD() removed. HOT 2
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 homer-api.