Server field in spark client for openfire xmpp - xmpp

I have installed Openfire xmpp server on my pc, but for testing chat in spark client, I can't figure what to fill in SERVER field in spark login window
I tried
http://localhost:9090/
but it says wrong username or password every time.
Here is the openfirepanel:
The links here are not working, but I can access the panel at
http://127.0.0.1:9090/index.jsp
And this is the spark dialog:
I have created a user with username and pass as 'bob','bob'
I have tried entering the server as 'nikhilverma1395','localhost', none is working.
Thanks

In server field you need to provide the domain of Openfire server. For local machine, "localhost", "127.0.0.1" will work.
Have a look at this answer where Openfire server was hosted on Amazon and I entered it's url in server field.
https://stackoverflow.com/a/39506528/6041485

may this help you
please set nikhilverma1395 as a your server name.

There was some problem in my Windows 10, I dual booted Ubuntu and did the same procedure with Certificate Authorization disabled in Spark and it worked.

Related

Failed to connect to localhost/127.0.0.1:7443

Hi i am using openfire as my im server to my mobile app client, I have added the Httpfileupload plugin to openfire and enabled the http bind settings, when I try to upload a file it shows me this error Failed to connect to localhost/127.0.0.1:7443 ,
and the servers send me this XML message <get url="https://localhost:7443/httpfileupload/45726202-5e69-4b5c-a533-00d82f6d1121/4add76e7f15b6b4f.png"/>
I’ve tried to access this uri but it doesn’t work
please help me with this issues
i am using the latest smack version and the latest openfire version also
You appear to have set up Openfire using the value 'localhost' as its XMPP domain and/or fully qualified domain name for the server that is running Openfire. This is a recipe for disaster. Openfire is broadcasting the address of the content that is managed by its HTTP File Upload plugin, and uses the value that was configured, 'localhost'. Clients, which typically run on different machines, will try to connect to this host. As they're instructed to connect to 'localhost', they'll never be able to reach Openfire.
My advise is to setup Openfire again, and use proper, network-reachable addresses for values of the XMPP domain name and FQDN (these are asked for in the second page of the setup wizard, if memory serves).

Java Web application not sending Email on Ubuntu server

My play framework web application sends automatically emails to user using Apache commons email library, everything works fine on my machine, but when I deploy it on an Ubuntu server it is unable to send email.
It throws exceptions like org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.googlemail.com:465 (I also tried different configuration with smtp.google.mail port 465,25 and 587 with or without ssl and tls)
and connection timed out.
I starting to believe that is a problem of some configuration of my ubuntu server.
Any suggestion?
If i type ufw status command I receive status disabled.
Thanks
I am going to close this question, because I found the solution. Basically my Server provider (Scaleway) has a security configuration where SMTP is blocked. I asked them to unlock It.

NetBeans 8.1 Remote Connections SFTP Error: Connection closed by foreign host

I'm developing a website on a server using NetBean's HTML5, CSS3, JavaScript and PHP support. I am trying to set up the remote connection so I don't have to use something like Filezilla every time to transfer my files to the server. However, NetBeans is unable to connect to my server over SFTP.
I'm unable to share screenshots with the actual information because this is for work and must be kept confidential.
Host Name is in the form: subdomain.domain.com
Username is just the plain username, it's NOT in the form username#subdomain.domain.com.
I am using a password, not a key.
I am behind my work's proxy but I don't think that could be the cause because NetBeans connecting to my server is the only thing that isn't working.
Filezilla works, Putty (SSH) works, Aptana remote connections (SFTP) works, all my browsers work. Even testing the proxy settings in the NetBeans general options works in NetBeans:
Anyway...
After entering in all of the server's information, I click "Test Connection". After 30 seconds (the timeout), this error pops up:
I tried looking in the NetBeans log to gather more information but it doesn't appear to be logging this error. Is there a certain debug flag I need to enable?
Like I said earlier, Filezilla and Aptana Studio can both connect to my server using the same login credentials.
Any suggestions?
Thanks for reading.
It turns out my system proxy settings (which were configured for my work's proxy) were preventing me from connecting to a server on my work's local intranet.
I had to add a proxy exception for the server and everything worked after that.

SQL Server Reporting Service URL asking for credentials but not responding after that

SQL Server Reporting Service URL asking for credentials but not responding after that.
It is asking for credentials for exactly 3 times even if I am entering correct password all the time and than after it does not ask and even not showing anything on the browser page. Both the below URLs are behaving same. My report services and server has been configured on port 80.
http://ssphdev.xxx.com/Reports
http://ssphdev.xxx.com/ReportServer
I am using SQL Server 2008 R2.
Any suggestions will be helpful. I have reports to retrieve from the server. And also want to test further on the same server.
Thanks in advance.
I found the solution to this problem...
I changed URL to hostname to localhost and it worked
I guess the problem was that I have two virtual with the same name (obviously only one is ON at a time) and connected with same domain. I think somehow when I use hostname on URL it is trying to connect another dev machine which is off. And localhost worked.
This is my guess! If you are having such issues please try 'localhost' and see it solves..!!
Cheers!!
If keeps prompting for credentials even after setting as below
authentication mode="Windows"
identity impersonate="True"
Replace below code from "Microsoft SQL Server\MSRS10_50.xxxxxxx\Reporting Services\ReportServer\rsreportserver.config
with
Just remove RSWindowsNegotiate tag from the tag AuthenticationTypes

Cannot get jabber clients to connect to ejabberd running on localhost

I installed ejabberd on my linux mint kde. It installed correctly, I am able to use the admin interface in the browser at http://localhost:5280/admin/ to add users. In the nodes menu it shows me one node running as ejabberd#localhost. There is a virtual host called inspiron-n4050 which it created on its own. Now i registered 2 users from the admin interface lovesh#inspiron-n4050 and test#inspiron-n4050. Now from my IM client(Kopete) i created 2 jabber accounts with jabberIds lovesh#inspiron-n4050 and test#inspiron-n4050. But when i try to connect any of these it shows me error Connection problem with jabber server inspiron-n4050. There was a connection error: Remote closed connection
ejabberd is running because on the shell when i check ejabberdctl status it says
The node ejabberd#localhost is started with status: started
ejabberd 2.1.11 is running in that node
What is wrong?
Reinstalling ejabberd fixed the problem
I used this steps in pidgin xmpp. You can check out similar options on kopete.
Change proxy options to No Proxy
In Connection Security, Use encryption if available
Check allow plain text on unencrypted streams.
After this steps I am able to chat within two pidgin clients over a Intranet.
i noticed that the there is a distinction between username "host" and actual hostname:
https://www.linode.com/docs/applications/messaging/instant-messaging-services-with-ejabberd-on-ubuntu-12-04-precise-pangolin
i had to use these settings to get it to work:
username: username#localhost
hostname: www.theactualserver.com
port: 5222