Tsung not working with JabberHttpBind - tsung

I'm using tsung to test BOSH with openfire and jabberd2.
I'm able to test openfire with tsung.
But for jabberd2+JabberHttpBind, the authentication itself does not happen.
Any clues or tricks to troubleshoot will be very helpful.
Thanks in advance.

Related

Authentication problems

I am trying to automate the process to create a model with azure machine learning services and I get some problems with the authentication. When I run my code on my remote machine everything is fine but when I run the code on remote I get this authentication sentence:
Make sure your code doesn't require 'az login' to have happened before using azureml-SDK, except the case when you are specifying AzureCliAuthentication in azureml-SDK.
Performing interactive authentication. Please follow the instructions on the terminal.
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CZMKCYS8B to authenticate"
Azure ask me for authentication and I have to make it manually.
I would like to know if there is some way to do it automatically.
I was looking for it and I was investigated how to do it using tokens but I couldn't find any solution
Someone can give me an advice?
Thanks in advance.

IISRESET windows 10 (IIS 10) Access denied

I'm just wondering, why I get error during an iisreset in my development machine.
When I execute the command in a Command Prompt some times it wokrs,sometimes it throws an Access Denied Error, and sometimes it throws a file not found exception.
If anyone finds a solution to this anoying problem, I would appreciate a hint how to get rid of it.
In the IIS I'm just hosting an .NET 4.6.1 MVC site.
This stupid error happens randomly and was very annoying especially when you place iisreset inside a script and assume it will do its thing; took me a while to figure it out. It is not related to the service being stopped as can be seen in this picture:
The only thing I use now is:
net stop W3SVC
and
net start W3SVC
Haven't had a problem since then.
I got exactly the same error time ago. Running it in German too. Take a look at this article: https://techcommunity.microsoft.com/t5/iis-support-blog/iis-reset-issue-restart-attempt-failed/ba-p/1031976
Judging from #Giorgi Nakeuri's question about the event logs. The "World Wide Web Publishing" (called only "WWW-Publishingdienst" in German) is very likely not running. You need to start it. The "Windows activity process service" fails because of the first one failing.
I think it says that he was unable to start the service, mainly due to a Problem with authorization. The solution of the problem can be provided in several different ways
1- Configuration causing the authorization error can be corrected
applicationHost.config with XML
2- This authorization can be revoked through the Windows register. Example approach here:
https://stackoverflow.com/a/21036837/914284
3- Machine configuration can be changed in accordance with this
permission. Please continue with the option that suits you :)
https://knowledge.digicert.com/solution/SO1360
i hope it will resolve
Specifying the machine name also helps in some scenarios:
iisreset %ComputerName%

pam ftp send upon successful login

I've researched this feature extensively and need help. PAM is a difficult authentication program for me to thoroughly understand although I'm learning.
We have the option of running either ProFTPD or pure-ftpd on a VPS hosted by hostgator. The OS is CentOS release 5.11. I have complete access to the server. Our goal is to send an email upon successful FTP login by a user. I've successfully used a script which is run by PAM for notification emails dispatched upon successful SSH logins and need to modify it for successful FTP logins. That script which is amazing works fine with ssh (but we need ftp as I've mentioned) and can be viewed here:
http://blog.stalkr.net/2010/11/login-notifications-pamexec-scripting.html
Before I even try to wrap my head around why this script does not work using FTP, despite PAM working on our VPS (for at least ssh), can someone chime in with some theory as to why this is not working at all. I.E., maybe I'm way off base with this idea and it can't work with FTP and PAM in which case I'll just drop this approach. However, when I read configuration settings, etc., on using PAM with these two FTP programs, they seem to indicate this should work.
Additionally, running the following code which is supposed to test for PAM-enabled applications does not return FTP.
ldd /{,usr/}{bin,sbin}/* | grep -B 5 libpam | grep '^/'
Any suggestions or help from gurus would be greatly appreciated.
Found solutions. The answer was to include session_support=YES in the /etc/pam.d/vsftd configuration file. So that's the answer to anyone who may have a similar issue.

JTwain API not responding from applet

We had been migrating our projects to Linux from windows.Among which is a Java Applet being invoked from a JSP to facilitate scanning via JTwain API.This has stopped working.On checking the Applet console , code execution seems to be smooth till the following
com.asprise.util.jtwain.Source source.acquireImage()
There is no exception being thrown as well. Also , jar signing has also been done (Though there is another application that works superbly even without this).
Any advice would be highly appreciated.
This is my first question on the forum , kindly excuse if there had been any non-compliance with standards.
To troubleshoot the issue, you may test with the JTwain web demo on your Windows machine to see how it works.

Unable to get authentication ticket

In my asp.net application, I am using Aspose.PDF for merging 2 pdf documents. I get the PDF documents from a third party tool and then merge using Aspose.
Problem is when I am running the solution, it works fine, but when I publish the solution and then run it from IIS, it gives me the error: "Error getting authentication ticket."
Please help. If any other details are reqd, pls do let me know.
Thanks.
Are you running the application is full trust mode? The Aspose.Pdf for .NET only works in full trust environment. Please see the details here: http://www.aspose.com/documentation/.net-components/aspose.pdf-for-.net/declaration.html. Please make sure that you deploy the application in full trust environment.
Disclosure: I work as a developer evangelist at Aspose.

Resources