#leaflet | Logs for 2013-08-16

Back
[00:00:23] -!- Nick001-Shop has quit [Remote host closed the connection]
[00:06:39] -!- sirdancealo2 has quit [Read error: No route to host]
[00:07:17] -!- asdfasd has quit [Ping timeout: 240 seconds]
[00:18:08] -!- adb has quit [Remote host closed the connection]
[00:21:32] -!- erasmo has quit [Remote host closed the connection]
[01:04:20] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[01:06:40] -!- zlog has quit [Ping timeout: 256 seconds]
[01:06:45] -!- Tom_itx has quit [Ping timeout: 268 seconds]
[01:08:38] -!- tmcw has quit [Ping timeout: 240 seconds]
[01:10:01] -!- jfire1 has quit [Quit: Leaving.]
[01:13:46] -!- AR__ has quit [Ping timeout: 246 seconds]
[01:19:25] Guest8671 is now known as abetusk
[01:20:54] -!- KimK has quit [Read error: Operation timed out]
[01:21:15] -!- KimK_3 has quit [Ping timeout: 245 seconds]
[01:22:32] -!- c-bob has quit [Ping timeout: 256 seconds]
[01:31:58] -!- i_tarzan has quit [Ping timeout: 246 seconds]
[01:32:43] -!- atom1 has quit [Changing host]
[01:40:13] -!- jfire [jfire!~jfire@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[01:46:45] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[01:52:46] -!- juanlargo [juanlargo!~juanlargo@c-98-204-48-219.hsd1.dc.comcast.net] has joined #leaflet
[01:53:22] -!- tmcw has quit [Remote host closed the connection]
[01:54:28] -!- jfire has quit [Quit: Leaving.]
[01:54:46] <juanlargo> hey all—looking for a bit of advice. I'd like to add some functionality to the polylines I'm drawing in my leaflet maps (tooltips on hover, transition effects, general DOM stuff)
[01:55:12] <juanlargo> presumably I can just select the relevant DOM nodes w/css and js
[01:56:02] <juanlargo> my question is, is that a backwards approach? Shoudl I use a library like d3 for this, or is it just as easily done without one? Is there also a way to add an HTML attribute (like an id) that I could hook into?
[01:58:49] -!- jfire [jfire!~jfire@173-164-158-185-SFBA.hfc.comcastbusiness.net] has joined #leaflet
[02:05:16] -!- gimps_ has quit [Ping timeout: 264 seconds]
[02:12:47] -!- tmcw [tmcw!~tmcw@c-68-50-174-188.hsd1.dc.comcast.net] has joined #leaflet
[02:13:11] -!- juanlargo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
[02:16:55] -!- skorasaurus has quit [Quit: Elvis has left the building.]
[02:22:33] -!- Laremere_AFK [Laremere_AFK!~quassel@74-36-106-22.dr02.apvy.mn.frontiernet.net] has joined #leaflet
[02:23:02] -!- Laremere has quit [Ping timeout: 240 seconds]
[02:39:10] -!- gabewillen has quit [Ping timeout: 245 seconds]
[02:43:34] -!- archivist_herron has quit [Ping timeout: 256 seconds]
[02:49:56] -!- tmcw has quit [Remote host closed the connection]
[02:50:22] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[03:00:09] -!- Cylly has quit [Ping timeout: 264 seconds]
[03:01:11] -!- atom1 has quit [Quit: Leaving]
[03:17:52] -!- FinboySlick has quit [Quit: Leaving.]
[03:38:39] -!- jfire has quit [Quit: Leaving.]
[03:40:38] -!- ve7it has quit [Remote host closed the connection]
[03:56:06] -!- Laremere_AFK has quit [Ping timeout: 256 seconds]
[04:16:57] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #leaflet
[04:23:27] -!- Kenshino has quit [Read error: Connection reset by peer]
[04:23:44] -!- jef79m has quit [Excess Flood]
[04:23:45] -!- AR_ has quit [Ping timeout: 245 seconds]
[04:24:13] -!- Kenshino [Kenshino!~Kenshino@bb116-15-61-41.singnet.com.sg] has joined #leaflet
[04:26:17] -!- jef79m has quit [Excess Flood]
[04:51:40] -!- cevad has quit [Quit: Leaving]
[04:56:50] -!- toastydeath has quit [Client Quit]
[05:01:33] -!- Fox_Muldr has quit [Read error: Operation timed out]
[05:07:17] -!- Jim[work] [Jim[work]!~romhacker@89.237.49.94] has joined #leaflet
[05:22:11] -!- Yimmy_Mobile has quit [Remote host closed the connection]
[05:25:40] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[05:49:30] -!- jfire has quit [Quit: Leaving.]
[05:49:40] -!- gabewillen has quit [Ping timeout: 264 seconds]
[05:52:21] -!- jfire [jfire!~jfire@c-67-180-60-167.hsd1.ca.comcast.net] has joined #leaflet
[05:55:23] -!- vax_ has quit [Ping timeout: 240 seconds]
[05:57:36] -!- vax_ [vax_!~vax@109-124-168-203.customer.t3.se] has joined #leaflet
[06:01:07] -!- pjm has quit [Ping timeout: 246 seconds]
[06:07:16] -!- Kup [Kup!~pk@dslb-188-097-080-202.pools.arcor-ip.net] has joined #leaflet
[06:14:33] -!- jfire has quit [Quit: Leaving.]
[06:36:51] -!- i_tarzan has quit [Ping timeout: 276 seconds]
[06:40:38] -!- archivist_herron has quit [Ping timeout: 240 seconds]
[06:49:38] -!- odogono [odogono!~odogono@cpc14-king9-2-0-cust212.19-1.cable.virginmedia.com] has joined #leaflet
[06:58:56] -!- stsydow [stsydow!~stsydow@dslb-094-223-114-111.pools.arcor-ip.net] has joined #leaflet
[07:52:25] -!- md-2 [md-2!~md-2@host86-132-18-59.range86-132.btcentralplus.com] has joined #leaflet
[07:52:44] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@37-46-176-106.customers.ownit.se] has joined #leaflet
[08:08:24] -!- odogono has quit [Quit: odogono]
[08:13:44] -!- Kup has quit [Quit: Leaving.]
[08:17:09] -!- Kup [Kup!~pk@91-67-208-67-dynip.superkabel.de] has joined #leaflet
[08:17:28] -!- mackerski [mackerski!~dermot@193.120.146.234] has joined #leaflet
[08:36:10] -!- dhoovie has quit [Ping timeout: 246 seconds]
[08:37:47] -!- dhoovie|2 has quit [Read error: Connection reset by peer]
[08:42:19] -!- RyanS has quit [Ping timeout: 256 seconds]
[08:56:49] -!- dhoovie has quit [Ping timeout: 246 seconds]
[09:05:13] -!- dhoovie|2 has quit [Ping timeout: 246 seconds]
[09:05:26] -!- DJ9DJ has quit [Ping timeout: 240 seconds]
[09:20:10] -!- mhaberler has quit [Quit: mhaberler]
[09:28:19] -!- dhoovie has quit [Ping timeout: 246 seconds]
[09:31:19] -!- dhoovie|2 has quit [Read error: Connection reset by peer]
[09:57:05] -!- b_b [b_b!ejabberd@81.18.178.14] has joined #leaflet
[09:57:27] -!- b_b has quit [Changing host]
[09:57:27] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has joined #leaflet
[10:01:55] -!- rob_h has quit [Ping timeout: 246 seconds]
[10:06:10] -!- chillly [chillly!~chris@adsl-178-78-91-198.karoo.kcom.com] has joined #leaflet
[10:06:42] -!- sumpfralle has quit [Read error: Operation timed out]
[10:20:55] -!- tjb1 has quit [Read error: Connection reset by peer]
[10:21:53] -!- cevad has quit [Quit: Leaving]
[10:39:46] -!- skunkworks has quit [Remote host closed the connection]
[11:05:03] -!- RicardoM has quit [Quit: Page closed]
[11:08:00] -!- skorasaurus [skorasaurus!~will@76.205.120.18] has joined #leaflet
[11:27:14] -!- stsydow has quit [Remote host closed the connection]
[11:36:38] -!- Simooon has quit [Quit: Leaving]
[11:47:22] -!- tomkralidis [tomkralidis!~tkralidi@osgeo/member/tomkralidis] has joined #leaflet
[11:49:10] <tomkralidis> hi, is L.control.layers iterable? That is, I'd like to have access to the overlay list
[11:49:51] <tomkralidis> currently this is managed outside of leaflet, but if the mechanism exists I'd rather go with that
[11:56:34] <b_b> https://github.com/Leaflet/Leaflet/blob/master/src/control/Control.Layers.js#L115
[11:56:52] <b_b> control layers object has a _layers propertie
[11:57:00] <b_b> so you can iterate on that
[12:01:41] <tomkralidis> I don't see that in L.control.layers.*
[12:02:33] <b_b> log your control object with firebug and you should see that
[12:05:52] -!- `Nerobro__ has quit [Ping timeout: 264 seconds]
[12:17:27] -!- md-2 has quit [Remote host closed the connection]
[12:18:44] <tomkralidis> b_b: worked, thanks.
[12:19:06] <b_b> u're welcome
[12:19:36] <tomkralidis> can one assign a user-defined property on, say, L.TileLayer.WMS? i.e. I'd like to attach a uuid
[12:20:00] * tomkralidis migrating from OL, hence barrage of q's
[12:20:24] <b_b> don't understand the question
[12:20:44] <b_b> you want to know if a layer is wms ?
[12:22:18] <tomkralidis> my app adds layers from CSW searches, so I am now iterating L.control.layers._layers to make sure the layer to be added is not already there. I can check if the wms url and layer are identical and then exit, but assigning a (known) identifier is less work.
[12:24:16] <b_b> don't think you can add id to layers
[12:27:09] <b_b> but each leayer have a propertie _leaflet_id
[12:28:42] -!- md-2 [md-2!~md-2@host86-132-18-59.range86-132.btcentralplus.com] has joined #leaflet
[12:31:28] -!- stsydow [stsydow!~stsydow@wlan-141-23-90-44.tubit.tu-berlin.de] has joined #leaflet
[12:33:37] <tomkralidis> b_b: thanks for the info. Is _leaflet_id mutable? Can I set it?
[12:34:12] <tomkralidis> context: the layers I am working with originate from CSW catalogue searches and have persistent uuid's.
[12:34:18] <b_b> don't think so, it's an internal propertie
[12:34:48] <tomkralidis> do you think it's worth an enhancement ticket?
[12:40:53] <b_b> you should search in issues on github to look if anyone have proposed it
[12:45:26] -!- stsydow has quit [Ping timeout: 240 seconds]
[12:52:21] -!- stsydow [stsydow!~stsydow@wlan-141-23-90-44.tubit.tu-berlin.de] has joined #leaflet
[12:56:54] -!- stsydow has quit [Ping timeout: 264 seconds]
[12:57:07] -!- psha[wor1] [psha[wor1]!~psha@195.135.238.205] has joined #leaflet
[13:01:41] -!- md-2 has quit [Remote host closed the connection]
[13:05:18] -!- md-2 [md-2!~md-2@host86-132-18-59.range86-132.btcentralplus.com] has joined #leaflet
[13:10:41] -!- stsydow [stsydow!~stsydow@wlan-141-23-90-44.tubit.tu-berlin.de] has joined #leaflet
[13:11:24] -!- psha[work] has quit [Quit: Lost terminal]
[13:13:07] -!- mhaberler has quit [Quit: mhaberler]
[13:17:32] ubuntu is now known as Guest29882
[13:17:41] Guest29882 is now known as quitte
[13:22:33] -!- Icekiller has quit [Read error: Operation timed out]
[13:23:23] -!- stsydow has quit [Remote host closed the connection]
[13:26:25] <tomkralidis> thanks b_b, posted to https://github.com/Leaflet/Leaflet/issues/1979
[13:27:46] <tomkralidis> is there any way to have map width relative to its class's width?
[13:28:47] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[13:28:59] <tomkralidis> context: app at http://demo.pycsw.org/viewer/index2.html has no map-width set in CSS (just height). Which is fine for larger display. When making display smaller, map spreads across the width of the page.
[13:29:00] -!- Icekiller has quit [Ping timeout: 256 seconds]
[13:29:42] <tomkralidis> but when I add a map width explicitly to CSS, then this messes up resizing
[13:29:55] <tomkralidis> (using bootstrap)
[13:30:34] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[13:33:06] <b_b> you have to specify maps dimensions
[13:33:15] <b_b> but you can make it adapt with js
[13:33:21] <b_b> like i do there :
[13:33:30] <b_b> http://www.geodiversite.net/spip.php?page=carte
[13:39:31] <tomkralidis> ah cool. I just want the map div's width to follow the class's width
[13:54:15] -!- Brandonian [Brandonian!~bmorrison@50-203-43-130-static.hfc.comcastbusiness.net] has joined #leaflet
[13:54:24] -!- stsydow [stsydow!~stsydow@dslb-094-223-114-111.pools.arcor-ip.net] has joined #leaflet
[13:54:58] <tomkralidis> CSS would be cleaner than with js, if possible
[14:08:11] <thomaslindstr_m> GITHUB IS DOWN EVERYBODY PANIC AND STEAL BABIES
[14:13:11] <b_b> hehe
[14:17:34] <tom_o_t> what!?
[14:17:46] * tom_o_t stockpiles code
[14:26:12] -!- tmcw has quit [Remote host closed the connection]
[14:27:50] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[14:28:37] -!- tmcw has quit [Remote host closed the connection]
[14:44:59] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[14:54:50] -!- Kup has quit [Quit: Leaving.]
[14:59:17] -!- kwallace has quit [Ping timeout: 248 seconds]
[15:18:11] -!- b_b [b_b!ejabberd@unaffiliated/b-b/x-7659960] has parted #leaflet
[15:22:24] -!- thomaslindstr_m has quit [Remote host closed the connection]
[15:23:01] -!- maximilian_h has quit [Client Quit]
[15:23:25] -!- juanlargo [juanlargo!~juanlargo@173-166-137-81-washingtondc.hfc.comcastbusiness.net] has joined #leaflet
[15:26:00] <juanlargo> hi all—new to working with leaflet, and I have a question about interacting with polylines at the DOM level. I'd like to layer some extra functionality over my lines—tooltips, hover effects, whatever. I'd like to use CSS and DOM scripting where possible. To that end, can I assign custom attributes (like ids or classes) to these lines directly through leaflet?
[15:26:12] <juanlargo> or is what I'm trying to do better accomplished with a separate svg library
[15:28:13] <tmcw> juanlargo: leaflet abstracts away from svg, vml, and canvas
[15:28:26] <tmcw> so you'd be better of either not using css & dom directly, or using an svg library
[15:28:39] <juanlargo> awesome, just what I wanted to hear
[15:28:43] <juanlargo> thanks!
[15:31:34] <juanlargo> tmcw: btw, I believe you answered one of my q's in SO recently too—thanks for that! Been having fun exploring Mapbox. geojson.io has been indispensable :)
[15:31:48] <tmcw> cool!
[15:33:09] -!- syyl- has quit [Ping timeout: 264 seconds]
[15:36:22] -!- joe9 has quit [Remote host closed the connection]
[15:40:25] -!- Brandonian has quit [Ping timeout: 245 seconds]
[15:40:55] -!- Brandonian [Brandonian!~bmorrison@50-203-43-130-static.hfc.comcastbusiness.net] has joined #leaflet
[15:43:09] -!- mhaberler has quit [Quit: mhaberler]
[15:44:53] -!- oddover__ has quit [Quit: ~ Trillian - www.trillian.im ~]
[15:48:35] -!- gambakufu has quit [Ping timeout: 268 seconds]
[15:51:14] -!- Connor has quit [Ping timeout: 256 seconds]
[15:52:24] -!- JT-Shop has quit [Read error: Connection reset by peer]
[16:00:55] -!- stsydow has quit [Remote host closed the connection]
[16:13:40] -!- tmcw has quit [Remote host closed the connection]
[16:16:03] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[16:18:13] -!- AR_ has quit [Ping timeout: 248 seconds]
[16:29:43] -!- mackerski has quit [Quit: mackerski]
[16:36:29] -!- tmcw has quit [Remote host closed the connection]
[16:45:38] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[17:01:49] -!- ktchk has quit [Quit: ktchk]
[17:02:37] -!- md-2 has quit [Remote host closed the connection]
[17:02:52] -!- wboykinm has quit [Remote host closed the connection]
[17:21:38] -!- jfire [jfire!~jfire@69-12-169-82.dedicated.static.sonic.net] has joined #leaflet
[17:26:48] -!- psha[wor1] has quit [Quit: Lost terminal]
[17:42:54] -!- flippyhead [flippyhead!~peterbrow@c-66-235-0-81.sea.wa.customer.broadstripe.net] has joined #leaflet
[17:51:02] <flippyhead> I'm trying to center a map with: map.panTo map.getCenter() but this is being ignored. Is there another trick I can use?
[17:54:13] -!- zzolo has quit [Quit: zzolo]
[17:56:22] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329043827]]
[17:59:29] <flippyhead> fitWorld() appears to do nothing too
[17:59:36] <flippyhead> I must be missing something in my setup
[18:00:01] <flippyhead> I've setMaxBounds I think correctly
[18:08:20] -!- erictheise [erictheise!~mataro@50-193-8-121-static.hfc.comcastbusiness.net] has joined #leaflet
[18:11:34] -!- Brandonian has quit [Ping timeout: 246 seconds]
[18:12:04] -!- zzolo [zzolo!~zzolo@63.231.245.97] has joined #leaflet
[18:13:19] -!- Brandonian [Brandonian!~bmorrison@50-203-43-163-static.hfc.comcastbusiness.net] has joined #leaflet
[18:15:15] -!- |1li [|1li!~|1li@108-201-65-149.lightspeed.ftwotx.sbcglobal.net] has joined #leaflet
[18:16:18] -!- codeoff__ [codeoff__!~codeoffic@rrcs-50-75-172-223.nys.biz.rr.com] has joined #leaflet
[18:16:40] <codeoff__> is there a common reason why layers groups added to a layer control would not initially be selected when a map is displayed? if i click their checkboxes in the control to toggle them on they work as expected.
[18:19:17] <ybon> codeoff__: you should add the layergroup to the map
[18:19:22] <ybon> map.addLayer(yourlayer)
[18:24:12] <codeoff__> Brilliant ... many thanks ybon
[18:48:12] <codeoff__> for some reason i thought i had read somewhere that leaflet was smart enough to derive that from it being in the control to start with
[18:48:29] <codeoff__> makes sense though. god leaflet is nice
[18:49:01] <codeoff__> I'm making an ember.js client for the guild wars 2 api
[18:51:09] -!- jlrodriguez has quit [Quit: Saliendo]
[18:53:40] -!- codeoff__ has quit [Remote host closed the connection]
[19:01:20] -!- skunkworks has quit [Quit: Leaving]
[19:01:33] -!- flippyhead has quit [Quit: flippyhead]
[19:02:37] -!- juanlargo has quit [Quit: Computer has gone to sleep.]
[19:10:07] -!- erasmo has quit [Client Quit]
[19:15:15] -!- skorasaurus has quit [Quit: Elvis has left the building.]
[19:22:22] -!- mhaberler has quit [Quit: mhaberler]
[19:49:02] -!- zzolo has quit [Quit: zzolo]
[19:51:14] -!- zzolo [zzolo!~zzolo@63.231.245.97] has joined #leaflet
[19:54:20] -!- sumpfralle has quit [Client Quit]
[19:57:36] -!- tomkralidis has quit [Quit: leaving]
[19:59:32] -!- nspiel_ has quit [Quit: Page closed]
[20:07:19] -!- flippyhead [flippyhead!~peterbrow@c-66-235-0-81.sea.wa.customer.broadstripe.net] has joined #leaflet
[20:23:39] -!- i_tarzan_ has quit [Ping timeout: 276 seconds]
[20:31:42] -!- shurshur has quit [Ping timeout: 264 seconds]
[20:32:20] -!- shurshur [shurshur!~chatzilla@79.165.217.36] has joined #leaflet
[20:33:54] -!- L33TG33KG34R has quit [Ping timeout: 240 seconds]
[20:34:59] -!- tmcw has quit [Remote host closed the connection]
[20:36:09] -!- erictheise has quit [Quit: erictheise]
[20:39:05] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[20:52:02] -!- stsydow [stsydow!~stsydow@dslb-094-223-114-111.pools.arcor-ip.net] has joined #leaflet
[20:52:23] -!- FinboySlick has quit [Quit: Leaving.]
[21:03:11] <flippyhead> how do I get all the vector layers visible in a map?
[21:03:26] <flippyhead> do they need to all go into a layerGroup ?
[21:06:59] -!- Brandonian has quit [Quit: Brandonian]
[21:09:27] <flippyhead> so yeah, why doesn't map have a getLayers() method ?
[21:13:28] -!- DJ9DJ has quit [Quit: bye]
[21:24:35] -!- pjm_ has quit [Ping timeout: 245 seconds]
[21:26:12] -!- PetefromTn has quit [Ping timeout: 256 seconds]
[21:28:25] -!- Laremere [Laremere!~quassel@74-36-97-212.dr02.apvy.mn.frontiernet.net] has joined #leaflet
[21:30:26] -!- zzolo has quit [Quit: zzolo]
[21:40:55] -!- Laremere_AFK [Laremere_AFK!~quassel@74-36-97-212.dr02.apvy.mn.frontiernet.net] has joined #leaflet
[21:41:04] -!- Laremere_AFK has quit [Remote host closed the connection]
[21:42:38] -!- Laremere has quit [Ping timeout: 256 seconds]
[21:46:29] -!- zzolo [zzolo!~zzolo@c-75-72-229-64.hsd1.mn.comcast.net] has joined #leaflet
[21:52:48] -!- thomaslindstr_m [thomaslindstr_m!~thomaslin@c80-216-4-133.bredband.comhem.se] has joined #leaflet
[21:55:02] -!- gabewillen has quit [Ping timeout: 256 seconds]
[22:02:04] -!- PetefromTn has quit [Remote host closed the connection]
[22:09:27] -!- chillly has quit [Quit: Leaving]
[22:11:57] -!- tmcw has quit [Remote host closed the connection]
[22:17:56] -!- tmcw [tmcw!~tmcw@50-198-132-58-static.hfc.comcastbusiness.net] has joined #leaflet
[22:18:53] -!- stsydow has quit [Quit: Leaving]
[22:32:29] -!- mhaberler has quit [Quit: mhaberler]
[22:38:39] -!- nspiel_ has quit [Ping timeout: 250 seconds]
[22:44:39] -!- _ink has quit [Remote host closed the connection]
[23:07:02] -!- Nick001-Shop has quit [Ping timeout: 268 seconds]
[23:07:03] Nick001-Shop_ is now known as Nick001-Shop
[23:25:53] -!- skorasaurus [skorasaurus!~will@cpe-65-185-69-50.neo.res.rr.com] has joined #leaflet
[23:29:10] -!- tmcw has quit [Remote host closed the connection]
[23:53:26] -!- Valen has quit [Quit: Leaving.]
[23:56:55] -!- joe9 has quit [Remote host closed the connection]