My initial request is
POST : /Microsoft-Server-ActiveSync?User=XXXX&DeviceId=XXX&DeviceType=XXX&Cmd=Sync
<?xml version="1.0" encoding="utf-8" ?>
<airsync:Sync xmlns:airsync="AirSync">
<airsync:Collections>
<airsync:Collection>
<airsync:SyncKey>0</airsync:SyncKey>
<airsync:CollectionId>5</airsync:CollectionId>
</airsync:Collection>
</airsync:Collections>
</airsync:Sync>
And i am getting response
<Sync xmlns="AirSync">
<Status xmlns="AirSync">12</Status>
</Sync>
So i am not sure what's wrong with my request. Also i am not able to understand Status = 12.
EDIT :
Okay i found that status 12 means "The folder hierarchy has changed." and needs to perform foldersync command then retry. I did the same but everytime i am getting same response.
In my case i was passing different DeviceId for foldersync & sync request. It was my mistake.
Related
i am trying to connect jitsi meet server but i am getting this error
Failed to load config from https://10.20.1.98/config.js?room=n...', [TypeError: Network request failed]
i install rocket.chat and jitsi in local server and want to connect my android rocket.chat app to local server and its text messaging is working fine but when i click on video/audio call it
alert me timeout exception for 30 sec and return a white blank screen and it gives us belowenter image description here error in emulator?
Failed to load config from https://10.20.1.98/config.js?room=nimsss6x5hxtgma9wa2wgcv5ex4pubmkhz9jgyq6mfthwd62rghj7ku', [TypeError: Network request failed]
2020-02-23 10:39:12.614 7152-7680/chat.rocket.android.dev E/unknown:ReactNative: console.error: "[__filename]", "<>: ", "Failed to load config from https://10.20.1.98/config.js?room=nimsss6x5hxtgma9wa2wgcv5ex4pubmkhz9jgyq6mfthwd62rghj7ku", {}, stack:
we use self signed certificate (invalid certificate) and i can access config.js file in web browser.
rocket.chat version 3.5.0
I'm not using rocket.chat but in case you can manipulate your app, this could be one way to make it work:
I see, your have your own internal server and you have to install a root certificate on your phone to connect to your server.
If so, you have to do the following things:
Add android:networkSecurityConfig="#xml/network_security_config" to the application tag in your Android Manifest and create the corresponding file to:
app/src/main/res/xml
This is the Content of the network_security_config.xml file:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<debug-overrides>
<trust-anchors>
<certificates src="system" />
<certificates src="user" />
</trust-anchors>
</debug-overrides>
</network-security-config>
So your App knows to use the installed certificate, otherwise it will use the platform Default.
I have to say, this problem appears to many developers, so there could be other solutions, like I found with jitsi-meet.
But this is the way it worked for me.
Hope it helps.
On our Client's environment we setup a MapProxy+GeoServer for maps needed for their application. During the MapProxy seeding process which calls the Layers on GeoServer, the following exception is thrown :
[2019-12-31 14:23:20,179] mapproxy.source.wms - WARNING - no image returned from source WMS: http://localhost:8080/geoserver/spin/wms?styles=&format=image%2Fpng&height=224&bbox=-24178.5164836,627512.999999,-4570.27472539,629467.0&transparent=True&layers=Grotere_Steden&service=WMS&width=2248&request=GetMap&srs=EPSG%3A28992&version=1.1.1, response was: <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" > <ServiceException>
java.lang.RuntimeException: java.io.FileNotFoundException: /usr/share/tomcat/webapps/geoserver/data/usr/share/tomcat/webapps/geoserver/data/data/spin/Grotere_Steden.shp (No such file or directory)
java.io.FileNotFoundException: /usr/share/tomcat/webapps/geoserver/data/usr/share/tomcat/webapps/geoserver/data/data/spin/Grotere_Steden.shp (No such file or directory)
/usr/share/tomcat/webapps/geoserver/data/usr/share/tomcat/webapps/geoserver/data/data/spin/Grotere_Steden.shp (No such file or directory)
</ServiceException></ServiceExceptionReport>
The fix needed seems to be on GeoServer side.
The path that needs to be constructed is : "usr/share/tomcat/webapps/geoserver/data/data/spin/Grotere_Steden.shp" (which was the case earlier. )
But on a new installation in a new machine the path generated is : "/usr/share/tomcat/webapps/geoserver/data/usr/share/tomcat/webapps/geoserver/data/data/spin/Grotere_Steden.shp"
I dont understand the change in the construction of the path to the layer file. Please could someone help me with this?
A customer with OSX Mountain Lion can't upload. Issue is present in both Safari and Firefox. I was able to get in remotely and grab some logs. Here is the console output:
[13:02:17.497] [FineUploader 3.8.2] Submitting S3 signature request for 0
[13:02:17.497] [FineUploader 3.8.2] Sending POST request for 0
[13:02:17.568] POST http://removed/signature [HTTP/1.1 200 OK 462ms]
[13:02:18.034] OPTIONS http://mybucket.removed/ [0ms]
[13:02:17.985] no element found # http://removed/the/url/of/the/uploader
[13:02:17.979] [FineUploader 3.8.2] Sending upload request for 0
[13:02:17.984] [FineUploader 3.8.2] Received response status 0 with body:
[13:02:17.986] [FineUploader 3.8.2] Waiting 5 seconds before retrying file.jpg...
The signature part seems to go fine. The post to Amazon just doesn't return anything. Is this a CORS issue? They claim to not be running any virus or security program on their computer. The computer is their own and is on their home network.
Here is the CORS configuration on S3
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>removed</AllowedOrigin>
<AllowedOrigin>removed</AllowedOrigin>
<AllowedOrigin>removed</AllowedOrigin>
<AllowedOrigin>removed</AllowedOrigin>
<AllowedOrigin>removed</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<ExposeHeader>ETag</ExposeHeader>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
Your log message indicates that a response was in fact received, but it was completely empty. However, in your comments, you have indicated that no response was received at all. If that is true, then there are network issues. If the latter is true, then something client-side is interfering with the response, perhaps a browser extension.
Super old question, but OP comments that the bucket name contains a ., which is likely related to the same issue as here:
When bucket names contain a dot, the endpoint needs to be:
s3-{region}.amazonaws.com/{bucket-name}
Without dots, the following works:
{bucket-name}.s3.amazonaws.com
I have a situation where in I am trying to read a node value of an external XML. I am using BeanShell sampler to read the fileName (passed via command line) and using setProperty method setting the value of the parsed node:
${__setProperty(variable_name,${__XPath(${__P(fileName)},/Allocations/item/#name)})}
Though the above method retrieves the value of the node I intended to receive, there is a error thrown:
2013/03/19 19:32:59 ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method: eval Sourced file: inline evaluation of: `` D:\myProject\Jmeter Tests\allocate.xml ;'' Token Parsing Error: Lexical error at line 2, column 3. Encountered: "\" (92), after : ""
My xml file looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<Allocations>
<item name="CAR" />
</Allocations>
Kindly advice if I am doing some error while reading.
Very strange because looks you are doing everything correct.
I've reproduced your scenario step-by-step but works fine for me.
Try to use e.g. Debug Sampler / Debug PostProcessor to monitor your jmeter properties and ensure that fileName normally set from command-line and doesn't contain any extra symbols.
Does Bing allow sitemaps with images?
I'm tring to submit my sitemap to Bing. But, I got this error:
We were unable to add your sitemap
because: Http status code: 200
Severity: Error Line: 1292 Position:
12 Message: The
'http://www.sitemaps.org/schemas/sitemap/0.9:loc'
element is invalid - The value '' is
invalid according to its datatype
'http://www.sitemaps.org/schemas/sitemap/0.9:tLoc'
- The actual length is less than the MinLength value. Severity: Error Line:
1596 Position: 6 Message: The element
'image' in namespace
'http://www.sitemaps.org/schemas/sitemap-image/1.1'
has invalid child element
'geo_location' in namespace
'http://www.sitemaps.org/schemas/sitemap-image/1.1'.
List of possible elements expected:
'license' in namespace
'http://www.sitemaps.org/schemas/sitemap-image/1.1'.
What does this error mean?
My sitemap.xml is in this format. I've cut it down to a one page example:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.sitemaps.org/schemas/sitemap-image/1.1">
<url>
<loc>http://www.mysite.com/#</loc>
<lastmod>2010-09-23</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
<image:image>
<image:loc>http://www.mysite.com/images/theplace.jpg</image:loc>
<image:caption>This is the place</image:caption>
<image:geo_location>Place, State</image:geo_location>
</image:image>
</url>
</urlset>
Thank you.
-Laxmidi
It's Google the only search engine currently which supports Image sitemaps. The other search engines may successfully parse these sitemaps but they will likely ignore the tags related to the Image sitemap extension.
Note that in your example there's an error, and is likely that this is what causes parsing difficulties for Bing. The Image schema hub is located at http://www.google.com/schemas/sitemap-image/1.1/
That is, you need to replace the following bit:
xmlns:image="http://www.sitemaps.org/schemas/sitemap-image/1.1"
with
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"