{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1540","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1540/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1540/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1540/events","html_url":"https://github.com/esp8266/Arduino/issues/1540","id":130045932,"number":1540,"title":"unwanted reset after calling an URL","user":{"login":"p1337","id":13117075,"avatar_url":"https://avatars.githubusercontent.com/u/13117075?v=3","gravatar_id":"","url":"https://api.github.com/users/p1337","html_url":"https://github.com/p1337","followers_url":"https://api.github.com/users/p1337/followers","following_url":"https://api.github.com/users/p1337/following{/other_user}","gists_url":"https://api.github.com/users/p1337/gists{/gist_id}","starred_url":"https://api.github.com/users/p1337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p1337/subscriptions","organizations_url":"https://api.github.com/users/p1337/orgs","repos_url":"https://api.github.com/users/p1337/repos","events_url":"https://api.github.com/users/p1337/events{/privacy}","received_events_url":"https://api.github.com/users/p1337/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-30T22:26:26Z","updated_at":"2016-02-02T16:35:07Z","closed_at":null,"body":"Hello ESP-Ardu community ! \r\nI´m working with the ESP 12-e for a while - after connecting the accesspoint as client the ESP resets:\r\n\r\nHere comes the exit code:\r\n```\r\nvoid trigger(){                  // TRIGGER START\r\n  \r\nSerial.println(\"Trigger set\");\r\nnrloops = 0;\r\nSerial.println(\"Reset nrloops\");\r\n \r\n   WiFiClient client;\r\n      const int httpPort = 80;\r\n  Serial.println(host);\r\n\r\n      if (!client.connect(host, httpPort)) {\r\n        delay(100);\r\n        Serial.println(\"connection failed - Status\");\r\n        return;\r\n      }\r\n\r\nString url = \"/gp/gpControl/status\";\r\n```\r\nAnd the error: \r\n```\r\nException (0):\r\nepc1=0x40201730 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000\r\n\r\nctx: cont \r\nsp: 3fff01f0 end: 3fff0650 offset: 01a0\r\n\r\n>>>stack>>>\r\n3fff0390:  4000050c 00000000 00000000 00000000  \r\n3fff03a0:  400043e1 00000030 00000019 ffffffff  \r\n3fff03b0:  400044ab 3fffc718 3fff04a0 08000000  \r\n3fff03c0:  60000200 08000000 08000000 00000000  \r\n3fff03d0:  0000ffff 00000001 04000002 0007e000  \r\n3fff03e0:  3fff1848 0000007e 3ffee934 00000030  \r\n3fff03f0:  00000000 00000000 00000000 00000000  \r\n3fff0400:  00000000 00000000 00000000 00000000  \r\n3fff0410:  00000000 00000000 00000000 00000000  \r\n3fff0420:  00000000 00000000 00000000 00000000  \r\n3fff0430:  00000000 00000000 00000000 00000000  \r\n3fff0440:  00000000 00000000 00000000 00000000  \r\n3fff0450:  00000000 00000000 00000000 00000000  \r\n3fff0460:  00000000 00000000 00000000 00000000  \r\n3fff0470:  00000000 00000000 00000000 00000000  \r\n3fff0480:  00000000 00000000 00000000 00000000  \r\n3fff0490:  00000000 00000000 00000000 00000000  \r\n3fff04a0:  00000002 4000410f 00000000 00000000  \r\n3fff04b0:  3fffc718 40004a3c 0000007e 3fff1848  \r\n3fff04c0:  3fffc718 401014d0 00000378 00000000  \r\n3fff04d0:  0000007e 402103c3 00000378 0000007f  \r\n3fff04e0:  00001000 40210459 3ffee934 0000007f  \r\n3fff04f0:  0000007d 00000000 0007e000 3ffee934  \r\n3fff0500:  ffffff01 55aa55aa 00000007 0000001c  \r\n3fff0510:  0000001c 0000009e 000000d9 0000007f  \r\n3fff0520:  4021086d 3ffe94a0 00000001 3fff0590  \r\n3fff0530:  00000001 3fff05b0 40210973 3ffe94a0  \r\n3fff0540:  00000001 3fff0590 00000000 3ffee824  \r\n3fff0550:  3ffee9f0 3fff05f1 00000001 402109aa  \r\n3fff0560:  3ffef4f8 00000000 3ffef408 3ffef624  \r\n3fff0570:  3fff05b0 00000007 3ffe84ab 3ffef544  \r\n3fff0580:  40202eec 00000008 3fff06a0 402050f5  \r\n3fff0590:  3ffe8e00 00000200 3fff06a0 402050f5  \r\n3fff05a0:  3fff06a0 00000001 3ffe8e95 40205498  \r\n3fff05b0:  3fff0600 00000000 3ffe84f4 3ffef624  \r\n3fff05c0:  3ffef408 00000001 3fff06a0 402050f5  \r\n3fff05d0:  3ffe8e94 3ffe833c 3fff06a0 402050f5  \r\n3fff05e0:  3ffe84f4 3ffef624 3fff06a0 4020556c  \r\n3fff05f0:  402012e6 00000064 3fff06a0 402055d8  \r\n3fff0600:  3fffdc20 3ffef4f8 3fff06a0 4020248e  \r\n3fff0610:  402012e6 00000064 3fff06a0 402055d8  \r\n3fff0620:  3fffdc20 3ffe833c 3fff06a0 402025b6  \r\n3fff0630:  00000000 00000000 3ffef61c 4020488e  \r\n3fff0640:  00000000 00000000 3ffef630 40100114  \r\n<<<stack<<<\r\n\r\n ets Jan  8 2013,rst cause:2, boot mode:(3,6)\r\n\r\nload 0x4010f000, len 1264, room 16 \r\ntail 0\r\nchksum 0x42\r\ncsum 0x42\r\n~ld\r\n\r\n```\r\nwhat does this mode mean?\r\n```\r\n ets Jan  8 2013,rst cause:2, boot mode:(3,6)`\r\n```\r\n\r\ngreetins from south germany.\r\n\r\nRobert"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/178676826","html_url":"https://github.com/esp8266/Arduino/issues/1540#issuecomment-178676826","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/1540","id":178676826,"user":{"login":"Links2004","id":974709,"avatar_url":"https://avatars.githubusercontent.com/u/974709?v=3","gravatar_id":"","url":"https://api.github.com/users/Links2004","html_url":"https://github.com/Links2004","followers_url":"https://api.github.com/users/Links2004/followers","following_url":"https://api.github.com/users/Links2004/following{/other_user}","gists_url":"https://api.github.com/users/Links2004/gists{/gist_id}","starred_url":"https://api.github.com/users/Links2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Links2004/subscriptions","organizations_url":"https://api.github.com/users/Links2004/orgs","repos_url":"https://api.github.com/users/Links2004/repos","events_url":"https://api.github.com/users/Links2004/events{/privacy}","received_events_url":"https://api.github.com/users/Links2004/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T16:35:07Z","updated_at":"2016-02-02T16:35:07Z","body":"with out a objdump or at least a call stack analyses its hart to say where the error is coming from.\r\n - install the ESP Exception Decoder tool https://github.com/me-no-dev/EspExceptionDecoder\r\n - flash the ESP new from the IDE.\r\n - wait for stack dump\r\n - c&p the error to analyses \r\n - post the result here\r\n\r\n![ESP Exception Decoder](https://files.gitter.im/esp8266/Arduino/Ebij/Screen-Shot-2016-01-28-at-11.29.34.png)"}}