Modify

Opened 8 years ago

Closed 8 years ago

#12602 closed defect (fixed)

Uploading changes not possible - "Stream closed"

Reported by: gpermant@… Owned by: gpermant@…
Priority: major Milestone: 16.04
Component: Core Version: latest
Keywords: Upload fails, "stream closed" Cc: gpermant, wandern10@…, Eebie, Klumbumbus

Description

What steps will reproduce the problem?

  1. Load my changes from file Änderungen 3.3.16.osm
  2. try to Upload the changes
  3. accepting two warnings regarding opening times (indicated as "winter")

What is the expected result?

Changes should be uploaded

What happens instead?

Upload false, due to "stream closed"

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-28 14:07:49 +0100 (Sun, 28 Feb 2016)
Build-Date:2016-02-28 20:07:32
Revision:9900
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9900 de) Windows 7 64-Bit
Memory Usage: 482 MB / 910 MB (267 MB allocated, but free)
Java version: 1.8.0_73-b02, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- OpeningHoursEditor (31772)
- turnrestrictions (31895)

Last errors/warnings:
- E: org.openstreetmap.josm.io.OsmTransferException: java.io.IOException: Stream closed. Ursache: java.io.IOException: Stream closed
- E: org.openstreetmap.josm.io.OsmTransferException: java.io.IOException: Stream closed. Ursache: java.io.IOException: Stream closed
- E: org.openstreetmap.josm.io.OsmTransferException: java.io.IOException: Stream closed. Ursache: java.io.IOException: Stream closed
- E: org.openstreetmap.josm.io.OsmTransferException: java.io.IOException: Stream closed. Ursache: java.io.IOException: Stream closed
- W: 1 problems occured during upload/save

Attachments (3)

Änderungen 3.3.16.osm (4.1 MB ) - added by gpermant@… 8 years ago.
The changes made on 3/3, plus one from 7/3/16
stream closed.jpg (22.4 KB ) - added by gpermant@… 8 years ago.
Error dialog "stream closed"
stream closed.2.jpg (229.0 KB ) - added by gpermant@… 8 years ago.
Stream closed after just a small change

Change History (15)

by gpermant@…, 8 years ago

Attachment: Änderungen 3.3.16.osm added

The changes made on 3/3, plus one from 7/3/16

by gpermant@…, 8 years ago

Attachment: stream closed.jpg added

Error dialog "stream closed"

comment:1 by gpermant@…, 8 years ago

After posting this ticket, I notice that the changes amount to almost 4 MB.
Wasn't aware of this. All I did was correct the positioning of three aerialways and one bar in the Wilder Kaiser skiing area. Tried to upload these from Austria, but failed with the OAuth mechanism. (What is that, anyway? And how does it recognize I am logged in from a different country than usual?)
So, I saved the changes meaning to post them from home a few days later.

Should be glad about some info on how to proceed - i would not want to loose these changes!

gpermant.

in reply to:  1 comment:2 by bastiK, 8 years ago

Replying to gpermant@…:

After posting this ticket, I notice that the changes amount to almost 4 MB.

Why do you think the changes amount to 4 MB? This sounds very unlikely for moving 5 nodes.

Wasn't aware of this. All I did was correct the positioning of three aerialways and one bar in the Wilder Kaiser skiing area. Tried to upload these from Austria, but failed with the OAuth mechanism. (What is that, anyway? And how does it recognize I am logged in from a different country than usual?)

It doesn't, OAuth was activated as default in the new release.

So, I saved the changes meaning to post them from home a few days later.

Should be glad about some info on how to proceed - i would not want to loose these changes!

gpermant.

Make sure it is unrelated to your authentication method by uploading another change first. If the problem persists, try basic authentication.

Last edited 8 years ago by bastiK (previous) (diff)

comment:3 by gpermant@…, 8 years ago

Hi bastiK,
I did as instructed: performed one small change (moving Biwak cabin to proper place) alone, and tried to upload.
The error about the closed stream reappears, I am not asked for Authentication at all.

Can it be, that my attempts to authenticate via OAuth from Austria failed, and that I am blocked out now?
Any hint on how to get out of that one?
(Personally, I was quite content with the simple authentication you used for the past four years!)

by gpermant@…, 8 years ago

Attachment: stream closed.2.jpg added

Stream closed after just a small change

in reply to:  3 comment:4 by bastiK, 8 years ago

Replying to gpermant@…:

Hi bastiK,
I did as instructed: performed one small change (moving Biwak cabin to proper place) alone, and tried to upload.
The error about the closed stream reappears, I am not asked for Authentication at all.

Can it be, that my attempts to authenticate via OAuth from Austria failed, and that I am blocked out now?

Certainly not.

Any hint on how to get out of that one?
(Personally, I was quite content with the simple authentication you used for the past four years!)

The simple authentication is still available, you can switch back in the preferences (second tab). Regarding OAuth, most likely you have an invalid access token. You can try to get a new one (same preferences tab).

comment:5 by gpermant@…, 8 years ago

Hi bastiK,

Even before reading your reply, I managed to return to basic authentication under Bearbeiten > Einstellungen > Verbindungseinstellungen.
Then I was able to upload the small change, as well as bigger ones.

I think I'll stay off OAuth after this experience. Don't know what its's good for anyway...

Bye,
gpermant
JOSM user since 2012

comment:6 by simon04, 8 years ago

Ticket #12607 has been marked as a duplicate of this ticket.

comment:7 by simon04, 8 years ago

Ticket #12611 has been marked as a duplicate of this ticket.

comment:8 by simon04, 8 years ago

Priority: normalmajor

comment:10 by simon04, 8 years ago

Cc: wandern10@… Eebie added

@gpermant, wandern10, Eebie: Would you please test the OAuth mode again with r9960 (for instance using https://josm.openstreetmap.de/download/josm-latest.jnlp)? We addressed an OAuth issue (#12584). If this resolves also your issue, we will do a release today.

comment:11 by Klumbumbus, 8 years ago

Cc: Klumbumbus added

comment:12 by Don-vip, 8 years ago

Owner: changed from team to gpermant@…
Status: newneedinfo

no more problem since the oauth bug is fixed?

comment:13 by Don-vip, 8 years ago

Milestone: 16.04
Resolution: fixed
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain gpermant@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.