parse-server

MongoError write EPIPE” in Parse-Server Installation

半城伤御伤魂 提交于 2019-12-13 01:03:06
问题 I'm helping a friend with migrating a Parse app to a dedicated server as opposed to a hosting provider, and I've gotten stuck trying to resolve an error that I THINK is happening in the Parse Server instance on the server. Firstly, here is the error stack from the PM2 logs, it gets thrown every time a GET or POST is made to the server: parse-wrapper-0 (err): at null.<anonymous> (/usr/lib/node_modules /parse-server/node_modules/mongodb-core/lib/connection/pool.js:119:12) parse-wrapper-0 (err):

How can I connect to a hosted Parse-Server over Parse4J?

六眼飞鱼酱① 提交于 2019-12-12 17:21:41
问题 I would like to be able to use the Parse4J library (https://github.com/thiagolocatelli/parse4j/) to connect to a hosted Parse-Server. I want to use https://parseapi.back4app.com as an API endpoint. They provide a solid Parse hosting solution. Code: import org.parse4j.Parse; import org.parse4j.ParseException; import org.parse4j.ParseObject; import org.parse4j.ParseQuery; import org.parse4j.callback.GetCallback; /** * Created by Martin on 3/27/2017. */ public class Parse4JStarter { public

Clone Parse Server object

时光总嘲笑我的痴心妄想 提交于 2019-12-12 14:54:38
问题 I have a Parse object (well, an array of parse objects). I want to make a clone of the objects but everything I try fails...in that changing the original object attributes also changes the clone's corresponding attribute. I have tried using Parse.Object.clone(), creating new array of objects, changing to JSON and then doing a deep clone but nothing works. After some research I came across this and this but this does offer a real solution. Is there no good way to clone Parse objects and have

Updating and saving thousands of objects at once on Parse Server using cloud code. Code doesn't work for more than 2 objects. (Parse.Object.saveAll())

与世无争的帅哥 提交于 2019-12-12 09:28:22
问题 In my parse server I have a class called Stats which contains the columns secondsPlayed (number) and timeScore (number) I am using cloud code to update all the rows in the column timeScore The code below works only when updating and saving 1 or 2 objects results.length . If Parse.Query returns more than 2 results the code crashes and I get the following error. error: Failed running cloud function timeScore for user undefined with: Input: {} Error: {"code":101,"message":"Object not found."}

Parse-server cloud code function 'Cannot POST'

放肆的年华 提交于 2019-12-12 08:46:13
问题 Most parts of my migration to open source parse-server are successful, with my data correctly stored, accessible. I am however having problems with cloud code, specifically with running simple curl tests. The initial parse-server installation includes a sample main.js file that contains a hello world function My own parse installation is hosted at '/parse' so URLs use this as the root The following is a simple request test curl -X POST \ -H "X-Parse-Application-Id: myAppId" \ -H "X-Parse-REST

Advanced Parse server setup on AWS for a developer

試著忘記壹切 提交于 2019-12-12 05:38:09
问题 I'm currently trying to create a parse server on AWS using their suggested path of Elastic Beanstalk to simplify the process. There is a very primitive guide here: https://mobile.awsblog.com/post/TxCD57GZLM2JR/How-to-set-up-Parse-Server-on-AWS-using-AWS-Elastic-Beanstalk I was able to get this running but I now have a few issues: 1) I am unable to use EB CLI to connect to my instance. The section: ADVANCED: Updating and Deploying your code states to simply call: eb init and pick your

Difficulties sending push-notifications (Parse-Server/Heroku)

霸气de小男生 提交于 2019-12-12 05:32:56
问题 I am having trouble sending push-notifications from an (objective C, iOS) app of mine. Since it is the first time I am doing this in this environment I am probably missing some important detail. Here is the shape of my code for the ParseServer initialization inside index.js: var api = new ParseServer({ databaseURI: databaseUri || 'mongodb://heroku_xyz336:.....mlab.com:.../heroku_xyz336', cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js', appId: process.env.APP_ID || 'myAppID'

How to access Parse Client Key From terminal?

只谈情不闲聊 提交于 2019-12-12 04:26:19
问题 I have one Migrated Parse server right now with Bitnami . I have all the keys but I am not able to access it's ClientKey . I want to Implement that ClientKey at Android app for Push notification purpose. I tried to access files but I am not able to find it. I checked with server dashboard as well not able to find. Can you tell me what is the location of file Which is containing ClientKey . Right now I am using Terminal for accessing the files. Can you tell me path or commands which is helpful

Parse Server Config Options In Azure

那年仲夏 提交于 2019-12-12 04:23:35
问题 I've installed a parse.com server in Azure. All is working well with the initial setup. I now want to lock down the server with a few of the "Advanced Options" as annotated on the Parse Server Github page. I understand that I do these in the App Settings in Azure a la the below: Namely, sessionLength should be visible following a server restart? However this is not the case as I still get 1 year sessions for newly logged in users. Am I filling in the details incorrectly, is there an error

Parse Server Android Studio not showing information

点点圈 提交于 2019-12-12 04:12:02
问题 My problem is that my parse server wont get any information from my app. I have included error logs, starter class, and main class. My parse server shows no information being passed to it. package com.karanvir.myapplication5; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view