I have started elasticmq server which runs in my localhost. But when I access it with the browser localhost:9324 it is showing error message as
Request is missing required form field 'Action'
So how can I access it in the browser. Please help.
Related
I am testing Hasura with docker on my localhost, and I would like to add a remote schema, from a graphql endpoint on my local environment (rails app, http://localhost:3000/graphql)
When I try to add the remote schema URL on Hasura (via http://host.docker.internal:3000/graphql), it fails with the following message:
Adding remote schema failed
Error in $: Failed reading: not a valid json value at '<!DOCTYPEhtml>'
And, I have no log on my rails server.
I tried to use ngrok to have an https endpoint, (https://6e12fa99336b.ngrok.io forwarding to localhost:3000) but I had the same message. My ngrok console did show a post to /graphql, with 403 Forbidden, and still no log on the rails server
However it works with a public external API (https://countries.trevorblades.com/graphql for instance)
Is there something that I am doing wrong, some headers missing ?
Ok, finally got it ! The issue was with rails, not having host.docker.internal as a registered host, thus rendering an HTML error page.
After adding host.docker.internal to config.host everything worked.
I am trying to run the running Client & Server Application on different machine but then I am getting below exception message which says it can not get wsdl file on that machine:
javax.xml.ws.WebServiceException: Failed to access the WSDL at:
http://localhost:8080/proj_name/EmpServices?wsdl. It failed with: Got
http://localhost:8080/proj_name/EmpServices?wsdl while opening stream
from same_link_as_above/EmpServices?wsdl.
It looks like connection issue, not WSDL or service-related.
Possible causes and solutions:
You tell about "remote machine", but errors says "localhost".
Have you configured your service client to work with your remote machine?
Shouldn't it be remote machine's address? Or is it just a typo?
If you configured it correctly, make sure that you have a working connection and port 8080 is allowed in your firewalls.
You may also try to open this link directly in your browser from client machine, and see what is says.
Perhaps, you will get connection error message, while you should get WSDL file.
My locally running rails app (on localhost:3000) responds to requests in the browser or from curl, but is not responding to requests from the desktop postman client, which immediately gives the generic "Could not get any response". Any idea what could be causing this?
For this you can use NGROK. It provides you a tunnel which can easily be used with postman or anyother such service. Download the library from here and run the tunnel as
./ngrok http 3000
or you can use lvh.me:3000 if your request is from same machine.
I followed this tutorial: http://guides.rubyonrails.org/getting_started.html and I get to the part where you write:
rails server
Then, when I tried to access http:/localhost:3000 I had an "access denied" error. I already tried:
accessing http:// my-ip:3000, http:// 127.0.0.1:3000, http:// 0.0.0.0:3000 (the spaces are because I'm not allowed to post links)
opening the 3000 port in the firewall settings
trying again from a different browser/computer
What can I do to make it work?
Thanks.
Did you try to login before?
It can be if you did by "Getting started" page you have "cookies" with wrong credentials.
Can you check your browser cookies and remove all for "your-ip", localhost, 127.0.0.1 with 300 port?
I am trying to publish my SilverLight application to the web and I keep getting "An error occurred while trying to make a request to URI "http://localhost:2898....".
I've changed the ServiceReferences.ClientConfig to point to the web address but the app still keeps on trying to connect to localhost.
I've opened the application in FireFox and took a look at the firebug log and it says: -
clientaccesspolicy.xml 404 Not Found localhost:2898
crossdomain.xml 404 Not Found localhost:2898.
The silverlight app is accessing the web service in the same domain, I just don't know why it is still trying to connect to localhost.
Any help appreciated.
Steve
Two things come to mind, but check your "c:\windows\system32\drivers\etc\hosts" file and make sure ure local computer name or ip isnt mapped to localhost or the network machine isnt mapped to localhost for whatever strange reason.
Is the Silverlight app And WCF Service hosted on your localmachine, or are you accessing a server on your local network?
Just open the hosts file (C:\windows\system32\drivers\etc) and uncomment the following line (remove # from the beginning of the line): 127.0.0.1 localhost
Then save it, it should work.