back soft

مطالب مرتبط با «server» در back soft | نویسنده: استخدام کار

Google Drive automation - server2server

Vote count: 0 after days of searching, I have concluded that the right question would be better. I am working on app backend. I need it to backup some files regularly on Google Drive. Do I understand it correctly that I need Google For Work account so I can use Server2Server? According to this https://developers.google.com/api-client-library/php/auth/service-accounts Google wants me to grant access only via Google For Work account. Have I missed anything if I just want my web based php script executed by cron to backup few files on Google Drive? Is there any other option? Thank you! asked 2 mins agoMichal This entry passed through the Full-Text RSS service - if this is your content and you'r...

ادامه مطلب

Secure WebSocket server on localhost

Vote count: 0 I have Objective-C app with WebSocket server and WebView where javascript coects to this server through ws://. Server is ruing on 127.0.0.1:. I am using PocketSocket. I want to use wss:// protocol. As I understand, PocketSocket library supports this functionality: PSWebSocketServer.m ... + (instancetype)serverWithHost:(NSString *)host port:(NSUInteger)port SSLCertificates:(NSArray *)SSLCertificates Questions: What certificate I need to generate? Is it possible to done programmatically from Objective-C? How to install this certificate locally? Do I need user's agreement? Is it possible to send this certificate to the WebView using evalauteJavascript and then use it to create coe...

ادامه مطلب

New Server: Troubleshooting PostgreSQL Syntax Error

Vote count: 0 I've been hired to move a website that runs on a PHP / PostgreSQL backend from 1 server to another. I've never used PostgreSQL, and thought that this would be a very simple task. I was wrong. I successfully troubleshot some issues already related to Privileges and permission denied issues. My current issue has stumped me. When I visit the homepage, I get a 500 error. The new server is ruing PostgreSQL 9.2.14, and I don't know what version of PostgreSQL was on the old. I only received files & a database dump - I never had access to the old server itself. Checking the error log, I see this: [26-Feb-2016 08:06:45 America/New_York] PHP Fatal error: Uncaught exception 'DbQueryExcept...

ادامه مطلب

Speciality of Read-Only Database in SQL Server 2012

Vote count: 0 Can anyone tell me the special features of a read only database compared to the database which we use. Is there are any advantages or disadvantages for read-only database.? asked 2 mins agoleeg4625 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

React router with browserHistory goes to server on every URL change

Vote count: 0 I am doing something like : {routes} When I do above whenever URL in address bar changes call is going to server but this is not what I want, I want first time page to load from server but after that whenever route change component should load in client side only. Am I missing something here? asked 3 mins agouser999491 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

Mysql2::Error: Can't connect to MySQL server on '127.0.0.1' on heroku push

Vote count: 0 When i do git push heroku master ,it fails at rake assets precompile and i get an error Mysql2::Error: Can't coect to MySQL server on '127.0.0.1' heroku What i already know Since i am using Rails 4,Definitely config.assets.initialize_on_precompile = false is out of the picture because is no longer required. heroku labs:enable user-env-compile this feature is no longer supported by Heroku. After doing research online, I leaed that the solution might be here heroku build pack But i don't understand how to run those commands. I keep getting bash: bin/compile: No such file or directory How do i resolve this issue? I am using Rails 4.2.5 ,Ruby 2.3.0 and the Db is Mysql locally.Thank...

ادامه مطلب

GCM server sending a notification for days even after time_to_live field is set to 8 hrs

Vote count: 0 We send Push notifications everyday to our app through GCM notification Server. I fired a notification and had set the ttl field to 2800 seconds. But the analytics team tells me that users received the notification for about 2-3 days more. How is this behavior possible even if ttl is 8 hrs. asked 1 min agobuzzLY This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

Home server DDNS broke after freedns update

Vote count: -1 I run my own home server for some personal websites and about 4 days ago all of my domain URLs started being routed to my router admin control panel. I use freedns.afraid.org for my DDNS and I think they might have made a change to how the host name is supposed to be entered in my router settings. Or maybe I'm wrong. I'm self taught and probably only understand half of what I'm doing. It's probably a real stupid easy fix that I'm just not seeing. Some relevant details that might help: Server machine is ruing Windows 7 professional ruing a WAMP server. Router ModelLinksys WRT 1900AC Firmware: DD-WRT v3.0-r28139 std asked 3 mins agoshartbreaker This entry passed through the Full...

ادامه مطلب

why server GUI freezing after i clicking on startButton for connecting to server (JavaFX)?

Vote count: 0 Its a traficklight programm. the GUI is a server. on GUI i used a button to start the server but my gui is freezing because it waiting for clients. The cliens are just recivers. i know i should use threads but i dont know how.please help me public class Controller { public TextArea meldingPlass; private static int portNr = 5555; public void startServer() throws IOException { Server cs = new Server(); cs.coectToServer(portNr); } } //Here my SeverThreads class public class ServerThread extends Thread { Socket s; InetAddress ca; public ServerThread(Socket s) { this.s=s; ca=s.getInetAddress(); } public void run() { try( PrintWriter out=new PrintWriter(s.getOutputStream(),true); //B...

ادامه مطلب

C/C++ program to receive data/files from FTP server IP

Vote count: -3 I am looking for c/c++ program which could receive data/files from FTP server. I am quite new to network programming asked 2 mins agoTush This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

SQL Server Pagelock Deadlock - INSERT and DELETE

Vote count: 0 My client is getting a recurrent deadlock between this two statements: DELETE b FROM employees a WITH (NOLOCK), employees_prs b WITH (NOLOCK) WHERE a.employer_id = @id AND a.id = b.employee_id AND b.employee_prs = 1 INSERT INTO employees_prs (employee_id, employee_prs) SELECT DISTINCT a.id, 1 FROM #tempdata01 b, employees a WITH (NOLOCK) WHERE a.employer_id = @id AND a.no_id = b.no_id The resource list in the deadlock graph shows this: I think the DELETE statement has a U lock on a page, but is also waiting to acquire another U lock on another page. Likewise, the INSERT statement has an IX lock on a page and keeps waiting to acquire another IX lock on another page. Is that corr...

ادامه مطلب

Error getting value from 'ServerVersion' when trying to JsonConvert.SerializeObject

Vote count: 0 I have a very basic code using Entity Framework to get a model in my MVC C# .NET Controller. var myModel = myContext.MyData .Where(m => m.ID == 1) .FirstOrDefault(); string json = Newtonsoft.Json.JsonConvert.SerializeObject(myModel); When I try to run this code, I get an error: Error getting value from 'ServerVersion' on 'System.Data.SqlClient. ... If I press 'Continue', the view says: [InvalidOperationException: Invalid operation. The coection is closed.] Whats wrong?? What does SQL have to do with this? The same error comes if I do this in the View instead of the Controller. edited 5 mins agoSoner Gönül asked 5 mins agomathkid91 1 Answer Vote count: 0 The underlying coection ...

ادامه مطلب

Starting a simple WebSocket Server with Spring integration

Vote count: 0 I am trying to start a simple websocket server in a spring integration application. Here is my "integartion.xml" : As you can see, I create an UDP inbound chael. This chaels works like a charm. I am able to see that data are sucessfully passed to my "NMEAParser" bean. I think that my Websocket server doesn't work because : I can't coect to it with wscat... When I try to do : wscat -c ws://127.0.0.1/position I receive a "CONNECTION REFUSED", the same message I receive when nothing is la...

ادامه مطلب

want to parse only mail subject and body of unread mail from exchange server using EWS in PHP

Vote count: 0 i want to get the mail subject and body of only unread mail of my inbox from our exchange server using my mail id. below code shows all unread mail(if number of unread mail is greater than 2). my reuirement is 1. i want to read only one unread mail at a time and make it as read after seen. 2. only parse mail subject, from address and mail body. below is my code....

ادامه مطلب

calculating the distance between two location coordinates fecting from sql server

Vote count: 0 I am creating an android application where it should fetch the data from sql table. In my sql table I have latitude and longitude coordinates stored in it. And i am able to pass current location co ordinates from my application to PHP code. And now i want to fetch the records where the distance between current location coordinates and stored co-ordinates must be...

ادامه مطلب

save/upload file from server in chromeapp

Vote count: 0 Hi I am creating chrome app using rediumjs.I want to download epub file from server BLOB. for that I written this code: var url="http://10.11.9.1/TapRoot/Books/1408fd6cce7447e224cf/Extracted/toc.json"; var xhr = new XMLHttpRequest(); xhr.open("GET",url, true); xhr.responseType = 'json'; xhr.onreadystatechange = function() { if (xhr.readyState == 4 && xhr.status == 200) { var blob = this.response; console.log(blob); //Here I want to save this file in my local drive. // saveAs(xhr.response, '../test123.epub'); // saveFile(this.response, '../temp/file.json'); } }; xhr.send(); asked 3 mins agoJitendra singh This entry passed through the Full-Text RSS service - if this is your conte...

ادامه مطلب

Discover Java server with Android client

Vote count: 0 Long story short, my problem is the same of that question. Even if I dont close the jmNDS service my client only discover the server when it start first. If not it only discover my printer (That should have another protocol by the way) Server.java public class Server { public static void main(String[] args) { System.out.println("--- Starting Enjoy Your Meal Server Service ---"); Thread serverThread = new Thread(new ClientCoection()); serverThread.start(); } } ClientCoection.java public class ClientCoection implements Ruable { private static final String mServiceName = "EnjoyYourMeal"; private static final String SERVICE_TYPE = "_http._tcp.local"; private ServerSocket mServerSoc...

ادامه مطلب

Ajax call not waiting for server response

Vote count: 0 I am using WAMP v.2.5 on a Windows10 machine. My project is a PHP project ruing off a MySQL DB. It includes numerous AJAX calls, which work fine. I have one specific call however which is giving me a 'Unexpected end of input' error. The call is made from a View, is directed to a global ajax handler PHP script which forwards the request to the Controller, which then asks the Model for the response. The appropriate Model method is being fired. The method contains error checking and will throw exceptions for an empty result. The DB Query within is valid, and retus results when used in the console. 9 times out of 10 however, the ajax fn will complete without receiving / reading the...

ادامه مطلب

exporting schema and data from one DB to other in SQL Server 2012

Vote count: 0 i want to export data and schema from live Database to my local database, i tried "export data" option while right clicking on live db but it only exports data but not constraints on columns. kindly help me out? asked 1 min agoNoman Ahmad This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب