remote-server

Remote server not found in XMPP

霸气de小男生 提交于 2020-01-06 06:57:34
问题 i send Packet to client <iq id="kGufc-4" to="tp@localhsot" from="admin@localhost" type="get"><query xmlns='http://localhost/protocol/disco#info'/></iq> And received <iq id="kGufc-4" to="admin@localhost/testchat" from="tp@localhsot" type="error"><error code="404" type="CANCEL"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq> what is problem??? 回答1: You have two problems with that stanza. 1) You've typod 'localhsot' instead of 'localhost'. 2) You're putting a

Remote server not found in XMPP

笑着哭i 提交于 2020-01-06 06:56:22
问题 i send Packet to client <iq id="kGufc-4" to="tp@localhsot" from="admin@localhost" type="get"><query xmlns='http://localhost/protocol/disco#info'/></iq> And received <iq id="kGufc-4" to="admin@localhost/testchat" from="tp@localhsot" type="error"><error code="404" type="CANCEL"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq> what is problem??? 回答1: You have two problems with that stanza. 1) You've typod 'localhsot' instead of 'localhost'. 2) You're putting a

Mysql connection error: Error: Packets out of order. Got: 45 Expected: 0

≡放荡痞女 提交于 2020-01-06 02:24:11
问题 My situation is similar to - Packets out of order. Got: 80 Expected: 0 node.js (no solutions). Works fine on local machine but fails on virtual machine. Code as follows: var connection = mysql.createConnection({ host : "xxxxx", port : 22, user : "root", password : "root", database : "db" }); Error as follows: Error: Packets out of order. Got: 45 Expected: 0 at Parser.write (/home/webdev/PM/LT/node_modules/mysql/lib/protocol/Parser.js:42:19) at Protocol.write (/home/webdev/PM/LT/node_modules

How do I pipe the output of an LS on remote server to the local filesystem via SFTP?

南笙酒味 提交于 2020-01-03 16:57:47
问题 I'm logged into a remote server via SFTP at the command line. The folder I'm in contains hundreds of thousands of files. I need to get a list of these files in a text file so I can access them programmatically, as none of the PHP SFTP clients are able to return such a large list of files. When I run an ls on the directory ( within the SFTP session ), it takes about 20 minutes for the file list to finally display. I don't have write access on this server, so I can't pipe the output to a file

git clone from local to remote

北城以北 提交于 2019-12-29 11:34:31
问题 We're in the process of migrating from Mercurial to Git for our workflow and I have two minor issues. First, is it possible to "clone" a local repository directly into an empty remote (ssh) dir? Currently when we create a new website we basically clone our CMS locally, configure it and then we clone it on the central repo and on the webserver ( hg clone . ssh://account@server/www ). That way we have instant access to push/pull goodness. This brings me to the second issue, remote deployment.

Teamcity powershell runner to remotely run commands on server

眉间皱痕 提交于 2019-12-29 06:25:09
问题 I have a strange issue where TeamCity just hangs whenever i try to do a remote call to one of our test servers. Currently the build steps are: Template files for Compile code in Package project Send package to test servers Unzip package on test servers Now it all works fine up until the last stage, unzipping the package on the remote server. Now I wanted to just run a powershell command to connect up and run the commands then exit. This all works fine if I were using powershell from remote

How to open remote files in sublime text 3

浪尽此生 提交于 2019-12-28 04:38:09
问题 I am connecting to remote server using "mRemoteNG" and want to open remote server files in my local sublime text editor. During my research, I found this relevant blog https://wrgms.com/editing-files-remotely-via-ssh-on-sublimetext-3/ and followed the instructions but it is not working for me. Does, anybody know how can I open remote files in my Sublime? 回答1: On server Install rsub: # wget -O /usr/local/bin/rsub \https://raw.github.com/aurora/rmate/master/rmate # chmod a+x /usr/local/bin/rsub

send a serializable object over socket

情到浓时终转凉″ 提交于 2019-12-25 18:14:57
问题 I have a strange problem to send a serializable object that I have created over socket. In fact if I run the server and the client in the same machine it works well but if the server and the client are in different machines the readen object in the server side is empty (with size equal to zero) Any one have an idea to fix that ? (the code is bellow) Server: public static void main () { ... InputStream is = mysocket.getInputStream(); ObjectInputStream ois = new ObjectInputStream(is); ArrayList

Visual Studio Cordova, building iOS package via remote agent issues

两盒软妹~` 提交于 2019-12-25 07:40:07
问题 We've been building a mobile application in Visual Studid Community 2015 using the Cordova platform with the aim to publish to Android and iOS. Android we have no issues with but want to submit the app to Apple. The problem is that we tried setting up a remote agent the last couple of days but have ran into a brick wall. On our Macbook Pro we've installed node latest version as we are running Cordova CLI 5.4.1. Also we've installed xCode latest version. Signed up for Apple's developer program

How does client know the EJB bean implementation is remote or local in ejb3

眉间皱痕 提交于 2019-12-25 05:24:29
问题 I'm a newbie to EJB3. I want to know that how client know the EJB bean implementation is in remote or local. When i access the bean using InitialContext in client class i want to know wether that bean is local or remote? Sorry if I'm asking stupid question? 回答1: The type of interface is determined via annotations. These can be put next to Interface class declaration: @Local - declares a local business interface @Remote - declares a remote business interface Then when an EJB extends such