Unable to login with core moqui framework - moqui

I have downloaded source code (tar.gz) and performed the following steps:-
Download and unzip the binary distribution (Moqui-framework-2.1.0)
Run the command ./gradlew build
Run the command ./gradlew load
Run the command ./gradlew run
While accessing http://localhost:8080/Login, I am unable to login with username "john.doe" and password "moqui". Please help me out.
Updates after David's comment
Q. Which file, specifically, did you download?
I have downloaded the source code of Moqui Framework 2.1.0 https://github.com/moqui/moqui-framework/archive/v2.1.0.tar.gz from this location https://github.com/moqui/moqui-framework/releases
Q. Which components do you have in place (in moqui/runtime/component)?
After build and load, there are no components in moqui/runtime/component
Q. What is does the log say when you try to login?
Here are the console log
10:19:46.519 INFO 501263526-12 o.m.i.c.UserFacadeImpl Created new Visit with ID [100002] in session [node013u20mscffg621wt9t56o2z7pi14]
10:19:46.616 INFO 501263526-12 o.m.i.s.ScreenRenderImpl Transition Login/login in 96ms, redirecting to screen path URL: http://localhost:8080/vapps
10:19:46.626 INFO 501263526-18 o.m.i.c.UserFacadeImpl Created new Visit with ID [100003] in session [node0cdyqv4opf27rn4usprflo0b15]
10:19:46.627 INFO 501263526-18 o.m.i.s.ScreenRenderImpl Redirecting to /Login instead of rendering [vapps]
10:19:46.627 INFO 501263526-18 o.m.i.s.ScreenRenderImpl vapps [] in 1ms (text/html;charset=utf-8) session node0cdyqv4opf27rn4usprflo0b15
10:19:46.635 INFO 501263526-47 o.m.i.c.UserFacadeImpl Created new Visit with ID [100004] in session [node0936j417vzo531glqmulxiqzgk16]
10:19:46.720 INFO oquiWorker-1 o.moqui.i.c.MessageFacadeImpl IP address not a IPv4 address
10:19:46.767 INFO 501263526-47 o.m.i.s.ScreenRenderImpl Login [] in 132ms (text/html;charset=utf-8) session node0936j417vzo531glqmulxiqzgk16
Q. What happens in the browser?
When I press Sign In button after entering the username and password.
I have checked the browser console, I am getting 302 status for this URL
http://localhost:8080/Login/login

Related

How to fix 'Localhost not found' when using dotnet run?

I'm studying this learning module from microsoft
Learning WEB API
But I'm not seeing anything when I try to run dotnet run command on vscode terminal.
Hence, I got this Error 404
This localhost page can’t be foundNo webpage was found for the web address: https://localhost:7162/
HTTP ERROR 404
But my terminal displays :
info: Microsoft.Hosting.Lifetime[14]
Now listening on: https://localhost:7162
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5043
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\John\Desktop\ContosoPizza\
404 means the request url is not correct, your controller does not contain any url with empty string. If you use default pure Web Api project, it only contains one get method in WeatherForecastController. The request url should be https://localhost:portNum/WeatherForecast(or api/WeatherForecast.It depends on the [Route] attribute on your controller. You can check the controller).
From your description, I think you may misunderstand dotnet run command. It is just used to build the project. You need manually open the browser and then browse to correct url(e.g. https://localhost:7162/WeatherForecast).
Actually your shared document is very clear here:

How to submit Job to flink on yarn by web ui

I setup a flink cluster on yarn, and submit job by type commands related on hosts successfully.
but it is not so convenient as web ui(i have tested to submit job by web ui on fink standlone cluster).
when i click "Submit new Job" buttons , the page is as follow:
I click "here" hyperlink, it jumped to a page with a random host ip in cluster and "random" port. as we do not open all port to public network, so this page is connection refused.
I try to debug js code to find whether some config trigger this problem, and find two code fragments:
It seems like this page must not function well with flink on yarn.
So, can i submit job to flink on yarn by web ui? and how?
As the message states YARN proxy, which you are seeing does not allow file uploads. If you really wanna upload jobs via web-ui on yarn, you can find out the real ip of the jobmanager and go to that ip directly(without yarn proxy).
There are some issues though with the approach. You have to have access to that node, which is usually not the case on yarn. (Which most probably you are hitting).
Flink on yarn has two modes: session and per-job. If you need to submit via web-ui, you must first create a yarn-session and enter session web-ui to submit, but per-job should not be submitted via web-ui Submitted

Open Daylight can not login and the ui of the web always display "unable to login"

I have install the Open Daylight Helium according to the document of wiki of installation. But, when I enable the webUI, it always displays "Unable to login" in the webUI.
How can I solve this problem?
This would be easier to answer if you described what you mean by the web UI. Nonetheless vaerify that you are testing the correctports, if you are then you can disable auth by editing org.opendaylight.aaa.authn.cfg
authEnabled=false
Obviously, we need to install feature of odl-dlux-core. And we can login to ODL's Web GUI successfully.
I had the same problem and I got it working by following the answer on this link:
https://ask.opendaylight.org/question/843/unable-to-login-dlux-web-interface-helium-release/
There it says:
Downloading and extracting the pre-build .zip : distribution-karaf-0.2.0-Helium.zip
./distribution-karaf-0.2.0-Helium/bin/karaf (on linux) to start the karaf container
feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core
Accessing http://localhost:8181/dlux/index.html where localhost is your local ip
log in with user: admin pw: admin
Perhaps there is a problem with the order you have installed your features. I >got the order from dlux-wiki-page where they said that this is the recommended >way of installing features before starting the dlux feature.
To clean your local karaf container you can start the container using the clean >flag like "./distribution-karaf-0.2.0-Helium/bin/karaf clean" or delete the >"distribution-karaf-0.2.0-Helium/data/" folder.

Siteminder issue Unable to process SMSESSION cookie

The very first time I'm able to logging in into a web page and after that if I click any link its redirecting to login page.
I see the message in the logs as "Unable to process SMSESSION cookie" and there is no error other than this.
All technologies that I used are tagged for the question.
Could any one help me.
Here is the logic to fix the problem until to get the proper siteminder package:
Due to the siteminder package update, we got into this issue.
The siteminder setup needs to be changed after a MVN build. Hence MVN build will create a conf files every time.
Also every time you do a maven build, the settings go back to the ‘wrong’ one.
So after every maven build, the following steps must be followed:
Brief Steps:
1. In the web server- remove the redirect at the end
2. In the app server - remove the UAA,
3. In the app server - remove the context-param (devSecurityContext.xml part)
4. stop and start both web and app server's .
Detailed Steps:
Go to the config directory of the web instance and remove the line:
Redirect 307 /login.fcc
From this file config/redirects.conf
Go to the web.xml file and remove the UAA filter – i.e. the following lines:
Remove all the filter configurations.
`
In the same file above the UAA modify the context-param – remove the devSecurityContext :
Modify the line:
/WEB-INF/spring-af.xml,/config/spring/context-.xml,classpath:/config/spring/context-.xml,/WEB-INF/devSecurityContext.xml
To
/WEB-INF/spring-af.xml,/config/spring/context-.xml,classpath:/config/spring/context-.xml

Windows Phone Test Framework - NuGet - Testing a new App

I have followed your test app example from this video. I have also created the ACL for port 8085 using below command. (with Mydomain and myusracc being my work domain and user account)
netsh http add urlacl url=http://+:8085/ user=<mydomain>\<myusracc>
When I run the solution in debug mode, I'm getting below error:
There was no endpoint listening at http://localhost:8085/phoneAutomation/automate that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
I tried executing the SpecFlow scenarios, I get below exception:
App not alive - ping failed
Expected: True
But was: False
I ran the command to see which ports are lisening, (netstat -an |find /i "listening") and couldn't find 8085
If I ran the netsh command again to create the ACL, I get a message saying URL is already there and is listed as follows:
Reserved URL : http://+:8085/
User: <mydomain>\<myusername>
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-21-xxxxxxxxxxxx-xxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxx)
I has the same questions and what I have found about second question: manual at GitHub isn't correct in example part and I use their examples from source code - they work fine.
Try to change your SpecFlow feature to something like:
Feature: MainPage
In order to test my app
As a WP7 Developer
I want to see it start and take a picture of it
Scenario: Main Page loads after a few seconds
Given my app is clean installed and running
Then take a picture