The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 views

Apache virtual host and Flask broken Json response

I have develop a micro web app (with Flask) to retrieve a json data from a remote web server (virtual host apache + mod_wsgi). If I try to get data from a single remote istances (only flask web server ...
0
votes
0answers
4 views

Flask - Get key values from request.get_json() [migrated]

I am attempting to get the key values after requesting json data from ajax POST. I succesfully retrieve the data, however I get the error: " AttributeError: 'unicode' object has no attribute 'keys'". ...
-1
votes
0answers
12 views

How to optimize Tomcat for small JSON payloads

I'm currently running an API which returns < 1kb JSON & XML messages from a GET Request. Secondarily it also accepts ~3MB data files via a Put request about once a week. I'm running Tomcat ...
0
votes
1answer
193 views

FreeRADIUS Rest Module on Centos 6.x

I am attempting to add JSON support for the REST module on Centos 6.5 I have installed the json-c-devel package however when compiling FreeRADIUS it complains it can't find it: [root@dhcp01]# ...
1
vote
0answers
81 views

jsonrpc service nginx ssl configuration

I have a python jsonrpc service running in the server on port 8082. I want to reach it with php jsonRPCClient. (and have to be https) My nginx server looks like: server { listen 443; ...
7
votes
3answers
1k views

What's wrong with this HTTP POST request?

I'm trying to fuzz a server using the Sulley fuzzing framework. I observe the following stream in Wireshark. The error talks about a problem with JSON parsing, however, when I try the same HTTP POST ...
2
votes
1answer
172 views

Chef: Load Attributes from encrypted databag in json role

I'm want to use the postfix cookbook for chef. The sasl password is expected to be in an attribute. So usually you would do this: "default_attributes": { "postfix": { "sasl": { ...
0
votes
0answers
437 views

Internaly hosted alternative to cloudbased nobackend solution like Firebase

In an environment where I can't use a cloud based service like Firebase, I'm looking for recommendation for an internally hosted nobackend solution. I could use node or meteor but really am just ...
1
vote
1answer
620 views

sending json based messages using syslog-ng and amqp

How do you properly format json messages and send them over amqp with syslog-ng? The json format should look something like this. {"log":"This is the error message...", "date":"xxx", "source":"xxx"} ...
0
votes
1answer
206 views

Phusion Passenger slow rendering JSON response [closed]

I have a Rails 4 application that returns a large amount of data that is rendered as JSON (23K records/2.8MB document). Testing this call on my laptop using the WEBrick server, the request completes ...
0
votes
3answers
248 views

PHP script works on local MAMP server but not IIS 8 server

I have a PHP script that displays Tweets embedded in a site I built out on my local machine. When I uploaded the site to my IIS 8.0 server, the PHP script no longer works and I receive this error: ...
0
votes
1answer
379 views

No builder returned for name: vagrant Packer.io error

I just want to provision a standard Ubuntu 12.04 image with a shell script, and then package it so I can use it with Vagrant. This is the configuration I wrote: { "builders": [{ "type": ...
0
votes
1answer
320 views

nginx rewrite modify parameter

I'm trying to create a JSON/JSONP proxy for an external API. Here's my config so far: server { listen 80; server_name api.example.com; location /api/ { ...
0
votes
0answers
701 views

How do I load JSON attributes pass via knife through chef recipes?

I have a web server that basically accepts input for a knife ec2 create server command. In my knife command, I pass in -j '{"branch":"clone"}' From documentation I thought I would be able to do ...
2
votes
2answers
5k views

IOException: Socket read failed using Apache 2, mod_jk and Tomcat over AJP

I am getting the following Exception from time to time when my users are connecting with their Android devices to out JSON Rest Service: java.io.IOException: Socket read failed at ...
7
votes
1answer
1k views

Can I alias all directory requests to a single file in nginx?

I'm trying to figure out how to take all requests made to a particular directory and return a json string without a redirect, in nginx. Example: curl -i http://example.com/api/call1/ Expected ...
2
votes
0answers
624 views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/json.so' undefined symbol: ZVAL_DELREF [duplicate]

I have an issue where I am unable to use JSON, which would appear to be because of the following error. There is another thread on this forum this touches on a similar issue, but it's not quite the ...
0
votes
2answers
232 views

How do I return custom content with an error response in IIS 7?

My API returns JSON content with some errors, such as 500 (Bad Request). Under IIS 6, this worked fine. In IIS 7, once I turn off detailed error messages it simply returns the text "Bad Request". How ...
0
votes
1answer
562 views

PHP Fatal error: Ca ll to undefined function json_encode() ..? [duplicate]

Possible Duplicate: Enable json_decode() on my system Im trying to use json with php and i keep getting the error "PHP Fatal error: Ca ll to undefined function json_encode()". I am using ...
1
vote
3answers
17k views

Fatal error: Call to undefined function json_encode() ..?

Im trying to use json with php and i keep getting the error PHP Fatal error: Call to undefined function json_encode() I am using php version 5.3.6 and on phpinfo(); nothing mentions ...
1
vote
1answer
3k views

Loading JSON in PHP53: ZVAL_DELREF in Unknown on line 0

I'm trying to loading JSON into the new-installed PHP5.3.1 on a CentOS server. Previously there was a PHP5.1 or near and due to the latest version of WordPress I had to upgrade the PHP. I tried to ...
4
votes
2answers
1k views

How to escape or remove double quotes in rsyslog template

I want rsyslog to write log messages in JSON format, which requires to use double-quotes (") around strings. Problem is that values sometime include double-quotes themselves, and those need to be ...
1
vote
1answer
1k views

nginx loggin $request_body produces weird encoding

I have an nginx server that logs POST $request_body to a file. When I post json to the server, it replaces quotes (") with \x22. My config looks like this server { server_name myServer; ...
1
vote
5answers
1k views

Will firewalls block my non-HTTP network protocol even if I use TCP port 80?

I want to create a simple JSON-based protocol to allow my game to talk to my custom server, but I don't want embed it in HTTP. If I send a custom text-based protocol request to my server on port 80, ...
0
votes
2answers
3k views

Which CMS for a mobile app? No HTML, just XML or JSON [closed]

I am a newbie in content management systems. I would need a CMS that can transfer content by XML or JSON to a client. It is ok if the CMS can also manage HTML websites, but the priority is on the ...