FAQ Database Discussion Community


How do I disable OAuth2 for a resource in WSO2's API Publisher?

wso2,wso2-am,wso2cloud
I've created a simple API and I'm trying to publish it using WSO2's API Publisher (aka API Cloud). I've gone through all the steps, but it seems to require an Authorization header to access my endpoint. In older documentation, it says that I can change the "Auth Type" at the...

WSO2 API Manager missing authorization header

wso2,basic-authentication,wso2-am
I have a REST API that does authentication using Basic Auth. I added this API to WSO2 API manager and got production urls for that API. Basically I need API manager to view statistics of API usage. I need not API manager to worry about authentication of the API. So...

Deployment synchronization Issue - API Manager 1.8

deployment,synchronization,wso2,wso2carbon,wso2-am
I have clusted the WSO2 API Manager 1.8 and implemented deployment synchronization according to this guide which is given in the WSO2 documentaion. Everything happens to work find except one thing. Let's assume that we have below 2 instances running API Manager. 192.168.X.123 - API Manager 1 192.168.X.124 - API...

Limited Subscription - API Manager

wso2,subscription,wso2carbon,wso2-am
I'm running WSO2 API Manager 1.6. Is it possible to limit the subscrition for special set of users? So that specified users will only have access to mentioned APIs EX: APIs : API1,API2,API3,API4,API5 Users : User1,User2,User3 User1 -> API1, API2 User2 -> API3, API4 User3 -> API1, API5 How can...

WSO2 API Manager Throws Exceptions for Paralle Requests

oauth,wso2,wso2carbon,wso2is,wso2-am
I am using WSO2 API Manger 1.8.0. I have enabled SAML2BearerAssertion Profile based OAuth Authorization Check for one of my REST APIs. When I send parallel API requests from JMeter. I see these logs in the console.But response received correctly. [2015-03-05 05:08:32,497] WARN - APIKeyValidationServiceImpl Invalid session id for thrift...

WSO2 Management Console Doesn't load after setting offset

wso2,wso2esb,wso2-am
I am testing WSO2 Servers on ec2 instance. When I start the server I can access the Management console by typing the https://ip:9443/carbon on the browser. Then I edit the repository/conf/carbon.xml as <offset>10</offset> and I start the server and following is the log, [2015-03-16 09:31:37,354] INFO - JMXServerManager JMX Service...

Reading Dynamic query parameter in WSO2 APIM

wso2-am
I am using wso2 APIM 1.8 for rest to soap conversion. My rest resource for GET is defined as follow in publisher /add?* so it will have any number of query parameters e.g /add?a=1& b=3 or /add?a=1&b=2&c=3 what my requirement is I want to read these dynamic(some parameters are optional)...

Unable to view statics in the WSO2 API Manager Publisher?

wso2,wso2carbon,wso2-am,wso2bam
I'm setting up WSO2 API Manager & WSO2 BAM. I folloed each and every step given in the below article. http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html I see below error in the terminal when I try to access the statistics page. [2015-02-06 14:15:29,405] ERROR - usage:jag java.lang.NullPointerException: null Below is the page I get. I...

Connect between WSO2 ESB and AM

wso2,wso2esb,wso2-am,wso2as
I wanted to connect WSO2 ESB's Health Care Proxy Sample to API Manager. But i failed to connect two products. I installed 3 WSO2 product(APIM, ESB and AS) in one local machine(Windows 7 64bit, java7) and gave different offset per product (APIM is 2, AS is 1 and ESB is...

Give port number and passed parameters in WSO2

java,api,wso2,wso2-am,api-manager
I am trying to learn WSO2 but have been stuck at a minor step which i believe should be quite easy to do. While creating a new api i need to give the production endpoint. What i want to give is the url along with the port as well. So...

WSO2 Proxy Service “InSequence” incorrectly sending a request instead of a response for API

wso2,wso2esb,synapse,wso2-am
I am experiencing an issue within my In Sequnce of the following proxy : <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="AckServiceAPIProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="json-xml" value="text/xml" scope="axis2" type="STRING"/> <log level="full" category="DEBUG" separator="____:____"/> <property xmlns:ns="http://org.apache.synapse/xsd" name="name"...

In wso2 api cloud is it possible to add custom sequence for manipulating request and response to/from back end service

wso2-am,wso2cloud
From my understanding of the regular WSO2 API Manager product I could create multiple synapse-configurations and register them as (global or api specific) sequences by placing them in the proper directory. I would then utilize the Sequence configuration capabilites on the "Manage screen" to apply different sequences to the request...

ERROR - ListenerManager Couldn't initialize the httpstransport listener - WSO2

java,https,wso2,wso2carbon,wso2-am
I started fresh copy of the WSO2 API Manager 1.8 and get below error for no reason. ERROR - ListenerManager Couldn't initialize the httpstransport listener How can I fix this?...

Downed localhost(127.0.0.1):9162 host still appears to be down

java,wso2,wso2carbon,wso2-am,wso2bam
I'm setting up WSO2 API Manager & WSO2 BAM. I folloed each and every step given in the below article. http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html I see below error in the terminal when I try to access the statistics page. [2015-02-09 15:04:17,418] WARN {me.prettyprint.cassandra.connection.CassandraHostRetryService} - Downed localhost(127.0.0.1):9162 host still appears to be down: Unable...

WSO2 API Manager - Caused by: java.net.SocketException: Connection reset

java,wso2,wso2carbon,wso2-am
I'm seeing below error in WSO2 API Manager 1.6 after running the wso2server.sh for sometime with average load. I got below error repeatedly on the error log. Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at...

How to configure Deployment Synchronizer for API Manager cluster products

wso2,wso2-am
I have configured API Manager cluster environment, and seperated product into GatewayManager, GatewayWorker, KeyManager, APIPublisher and APIStore. Now I want to configure SVN-based deployment sychronizer, but according to the document https://docs.wso2.com/display/CLUSTER420/SVN-based+Deployment+Synchronizer, it seems only manager and worker nodes can be configured with svn synchronizer, how does configure it for KeyManager,...

What HTTP headers does the WSO2 AM Gateway pass to the origin API server?

wso2,wso2-am
What HTTP headers does the WSO2 API Manager Gateway pass along on the proxied request to the origin API server for an OAuth-authenticated request? I can't find any documentation on this, is it in the docs somewhere and if so what's the URL? It must include at least the application...