undefined service for RestComm GMLC v1.0.66 - restcomm

I have successfully set up Restcom GMLC after going through some issues (Restcomm gmlc configuration issue no local SSN is present for primary Address) Now the link beween the GMLC and the STP is up.
When i open the jss7-management console i have the error on the screen
When i try a map ati request (curl -X POST 172.21.75.34:8080/restcomm/gmlc/rest?msisdn=237699947943 ) I get this error The server does not support the functionality needed to fulfill this request But when i try the same request with the dummy msisdn 19395550113 i have a response.
What i think i'm unable to perform a map ati request because of this error undefined service for RestComm GMLC v1.0.66, somehow a certain service is not started but i don't know which.

Related

Direct Messages fail with Status: 501 Payload: Null

I have a dotnet core project running version 1.37.2 of Microsoft.Azure.Devices.Client on top of Linux Raspbian (Buster 5.4.83) on a RaspBerry Pi4B 2GB. The project sends telemetry every 5 mins to Azure IoT Hub. The project also registers a number of Direct Methods to be called using 'SetMethodHandler' as follows:
await _iotHubClient.SetMethodHandlerAsync("MethodToCall", MethodToCallHandler, null);
I have a number of devices out in the real world, connected to the internet over wireless LAN and standard home internet connections.
I have noticed that some devices I can call DirectMethods on relatively reliably some I have to often try three of four times before I get a successful response and others I am never able to call successfully. When the DirectMethod calls fail I always receive {"status:501", "payload":null}.
Any help appreciated.
Do you have the same code\version deployed on both devices that work and don't work? 501 usually stands for "Not Implemented." In azure-iot-sdk-csharp you can read the following for 501 Error Code:
"Equivalent to HTTP status code 501, not implemented server error. It
is used when a method call from the service specifies a method name
not registered with the client for callback."
Ref: https://github.com/Azure/azure-iot-sdk-csharp/blob/master/iothub/device/src/MethodResponseStatusCode.cs#L21
some I have to often try three of four times before I get a successful response and others I am never able to call successfully.
Before you can call the methods successfully on those devices do you ever receivie a 501 error or you receive those as described here (404 or 504)? If never seeing 501 errors on "working devices" then you need to make sure you have same versions of the code deployed on "non-working devices".

The CGI application did not return a valid set of HTTP errors. 502.3 - Bad Gateway: Forwarder Connection Error (ARR) on Azure ASP.NET Core App

All of a sudden we are seeing this random error / exception in our web application.
Failed to load resource: the server responded with a status of 502 (Bad Gateway).
In the Log Stream, we are seeing the following details, with specific error code as 502.3 - Bad Gateway: Forwarder Connection Error (ARR).
Also, sometimes in the browser itself we see "The CGI application did not return a valid set of HTTP errors." getting displayed.
Most of the searches for these error codes refer to "IIS / Proxy Server" configuration. But, we haven't changed any such settings.
The error happens very randomly and not specific to any user action/function. Same functionality works first and on second execution immediately after first one throws this error.
How to figure out what is causing this and how to fix?
I google this question, because the program was normal at the beginning, and the subsequent 502.3 error. After I checked the information on the Internet, I feel that it can only give us an inspiration, and it cannot solve your problem immediately.
So my suggestion is that first you browse post1 and post2 I provided.
Next, proceed to Troubleshoot according to the steps of the official documentation. Specific errors require specific analysis.

URL works fine from browser but from google plus we get a internal service error

The website URL works fine. The link from google maps on the phone works fine. For some reason when you google it in the browser (mobile browser or desktop) you get an Internal Service Error. Google said it was nothing on their end to be done.
Has anyone encountered this or have an idea of what's causing it? The error received is below.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache Server at www.thetechbuyer.com Port 80
As the error suggests, an Internal Server Error is internal to your webapp or web service on your host. It usually means that your program, whatever it is doing, has crashed. This could be because of misconfiguration, or a bug in your code, or something else - without knowing more (possibly a lot more) about your server environment, it is impossible to know what.
Check your server logs - they should have more information.
(It also isn't clear what this has to do with Google+.)

Cannot Direct Update after fixpack WL 6.1.0.1

after the fixpack in subject, i cannot manage to direct update my application.
It notify me that there is a new version available, but when i hit Update it keeps saying that the download failed (both on iOS and Android).
I attached my android to adb and i noticed those lines in the console:
Authentication error: Unable to respond to any of these challenges:
{wl-composite-challenge=WWW-Authenticate: WL-Composite-Challenge}
java.io.IOException: Error downloading update file The following
message has been received from the server instead of the expected
application update zip file: HTTP/1.1 401 Unauthorized
/-secure-{"challenges":{"wl_deviceNoProvisioningRealm":{"token":"1or0tj7gnoev1rn06s188j4u9h"},"wl_antiXSRFRealm":{"WL-Instance-Id":"np8c8o3c4dk1k7s79i2ikddfab"}}}/
at
com.worklight.androidgap.plugin.WebResourcesDownloaderPlugin$WebResourcesDownloader.downloadZipFile(WebResourcesDownloaderPlugin.java:364)
To complete the information I deployed the IBM_Worklight_Console with no security role in its web.xml and we have Worklight 6.1.0.1 installed on WAS Network Deployment 7.0.0.23 running AIX.
Before the fixpack, everything worked well.
Thank you
EDIT: here you can see my application-descriptor.xml and my server configuration:
I forgot about this stack, however I found the problem.
When I open my application, the WL Framework asks for new available update. In the same time, my application ask an adapter for some data, before the WL server can response about the Update. So if it arrives first the response of my adpater, then the Update response will contain a different requestID causing a 403 forbidden.
I don't know if I explained it clearly, however the temporary fix is to put updateSilently: true, not disturbing the direct update.

$_POST undefined from remote server POST

I am writing a Drupal 7 module which is listening for HTTP POST messages to be sent by a 3rd party remote application. For testing I am sending messages using the Firefox Poster extension.
If I POST the message, the following code fails to place any value in my local vars (I get 'undefined index'):
$transId = urldecode($_POST['c2s_transaction_id']);
However, if I send the message using GET, the vars get populated fine with the following code:
$transId = urldecode($_REQUEST['c2s_transaction_id']);
This is true on both my local WAMP setup and on a shared hosting package.
I have never worked with HTTP POST messages before and have no idea where the problem might be. Could it be Drupal, the web server, or my code? Can anyone suggest how I might resolve this?
Many thanks,
Polly
Drupal removes the $_POST/$_GET in the system, just use $_REQUEST instead.