user16449: I have a Arduino Uno and a CC3000 shield. When I run the example code for Webclient from Adafruits libary it works perfect.
When I switch out address for reading a corresponding text file from my own server the code completes sporadically. The output in the serial window stops at differens places every time.
Does anyone have any idea how I can fix this?
The Adafruit points to this URL: http://www.adafruit.com/testwifi/index.html
While mine points to this URL: http://a.sjsd.li/test/test.html

user16449: I have arrived at a solution that works for me. Instead of using Adafruit library I have adopted Sparkfuns library.
Some adjustments in the setup for the pins:
#define CC3000_INT      3   // Needs to be an interrupt pin (D2/D3)
#define CC3000_EN       5   // Can be any digital pin
#define CC3000_CS       10  // Preferred is pin 10 on Uno
#define SD_CS           4   // Chip select for SD card

Then some adjustemnt in the block for the HTTP request:
client.print("GET /index.html HTTP/1.1\r\n");
client.print("Host: ");
client.print(server);
client.print("\r\n\r\n");
client.println();
Serial.println();

This is not a solution for the Adafruit libary. But it helped me to continue my project.

16449: <p>I have a Arduino Uno and a CC3000 shield. When I run the example code for Webclient from Adafruits libary it works perfect.</p>

<p>When I switch out address for reading a corresponding text file from my own server the code completes sporadically. The output in the serial window stops at differens places every time.</p>

<p>Does anyone have any idea how I can fix this?</p>

<p>The Adafruit points to this URL: <a href="http://www.adafruit.com/testwifi/index.html" rel="nofollow">http://www.adafruit.com/testwifi/index.html</a>
While mine points to this URL: <a href="http://a.sjsd.li/test/test.html" rel="nofollow">http://a.sjsd.li/test/test.html</a></p>
 16449: <p>I have arrived at a solution that works for me. Instead of using Adafruit library I have adopted <a href="https://github.com/sparkfun/SFE_CC3000_Library" rel="nofollow">Sparkfuns library</a>.</p>

<p>Some adjustments in the setup for the pins:</p>

<pre><code>#define CC3000_INT      3   // Needs to be an interrupt pin (D2/D3)
#define CC3000_EN       5   // Can be any digital pin
#define CC3000_CS       10  // Preferred is pin 10 on Uno
#define SD_CS           4   // Chip select for SD card
</code></pre>

<p>Then some adjustemnt in the block for the HTTP request:</p>

<pre><code>client.print("GET /index.html HTTP/1.1\r\n");
client.print("Host: ");
client.print(server);
client.print("\r\n\r\n");
client.println();
Serial.println();
</code></pre>

<p>This is not a solution for the Adafruit libary. But it helped me to continue my project.</p>
