<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: generate and sync problem exception in security services in qml in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465753#M2357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate on what you mean by "&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: 16px;"&gt;We are also generate token with (Client : Request Ip) from rest services but this time we never connet these services from qml api.&lt;/SPAN&gt;"? Are you saying you also see the same issue from using this method?Are you saying that the Runtime API works intermittently when you have to provide credentials (fails randomly)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:27:03 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2016-06-15T21:27:03Z</dc:date>
    <item>
      <title>generate and sync problem exception in security services in qml</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465752#M2356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman';"&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; We are using Arcgis Runtime SDK for Qt 10.2.6 and Qt 5.4.2 (MSVC 2013, 32 bit) Qt Creator QT\QML side .We have local editing application which edits features within an offline geodatabase and sync back to the service.We are using GeodatabaseSyncTask class's generateGeodatabase (GenerateGeodatabaseParameters parameters, string filename, bool useCachedJob) method to generate geodatabase and then we sync editings with&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; syncGeodatabase(SyncGeodatabaseParameters parameters, Geodatabase geodatabase) method.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;We using map service for base map and feature service&amp;nbsp; for generate local geodatabase.Application works fine but when we give username and password for security to services after that when we generate or sync geodatabase gives exception. Sometimes generates or sync correct but next sync gives again exception .We are also generate token with (Client : Request Ip) from rest services but this time we never connet these services from qml api. Here is console output below in qml.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: medium;"&gt;How can we solve this problem or how can we generate correct token to generate or sync data without exception ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;qml: Error: Invalid Token Code= 498 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;qml: Error: You are not authorized to access this information Code= 401 Invalid credentials&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;qml: Error: Protocol "" is unknown Code= 301 Protocol "" is unknown&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;qml: Error: Protocol "" is unknown Code= 301 Protocol "" is unknown&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;qml: Error: Sync failed. Unable to import changes to server. Code= -1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 12pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465752#M2356</guid>
      <dc:creator>tanerkoka</dc:creator>
      <dc:date>2016-06-15T18:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: generate and sync problem exception in security services in qml</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465753#M2357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate on what you mean by "&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: 16px;"&gt;We are also generate token with (Client : Request Ip) from rest services but this time we never connet these services from qml api.&lt;/SPAN&gt;"? Are you saying you also see the same issue from using this method?Are you saying that the Runtime API works intermittently when you have to provide credentials (fails randomly)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:27:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465753#M2357</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-06-15T21:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: generate and sync problem exception in security services in qml</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465754#M2358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hi Lucas,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; Runtime API works intermittently when I have to provide username and password credentials (fails randomly). When I provide only token always fails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 06:02:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465754#M2358</guid>
      <dc:creator>tanerkoka</dc:creator>
      <dc:date>2016-06-22T06:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: generate and sync problem exception in security services in qml</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465755#M2359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend you contact Esri Support (or distributor if international), and troubleshoot this so they can identify the issue, and log a bug if needed. I am not sure why it would be failing randomly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 23:01:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/generate-and-sync-problem-exception-in-security/m-p/465755#M2359</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-06-28T23:01:42Z</dc:date>
    </item>
  </channel>
</rss>

