在SSL重定向后使用Eclipse Update Sites

时间:2023-01-20 23:35:55

Recently I've set up the ClearCase Remote Client (an eclipse plugin) to work through SSL, so instead of an http URL, it follows an https URL.

最近我设置了ClearCase Remote Client(一个eclipse插件)来通过SSL工作,因此它不是一个http URL,而是一个https URL。

However, this breaks the access to the Update Site, returning an error that the site has a "Premature End of File" error.

但是,这会中断对更新站点的访问,返回该站点出现“文件过早结束”错误的错误。

My question(s) are this...

我的问题是......

Is there a problem with Eclipse accessing Update Sites that have been reached through a redirect rule?

Eclipse访问通过重定向规则访问的更新站点是否存在问题?

or

Is there a problem accessing Eclipse Update Sites through a SSL connection?

是否存在通过SSL连接访问Eclipse Update Sites的问题?

Any tips or anecdotes would be awesome!

任何提示或轶事都会很棒!

EDIT : The link works via the browser, in terms of a redirect, but not in Eclipse when I attempt to access the same directory via the Update Site tool.

编辑:链接在重定向方面通过浏览器工作,但在我尝试通过更新站点工具访问同一目录时,不在Eclipse中。

2 个解决方案

#1


It seems to be a known issue for other plugins as well

它似乎也是其他插件的已知问题

What is the "description site" looks like in your eclipse p2 configuration ? Does it include https as in:

你的eclipse p2配置中的“描述网站”是什么样的?是否包含https,如:

<description url="https://<host_name>/<update_site>/">
  Project Update Site
</description>

Just do be sure, you did Enable HTTP proxy connection ?

只是确实,你确实启用了HTTP代理连接?

(General->Network Connections)

#2


Although VonC made a really valiant effort, my answer or workaround has been to configure RWP to use SSL for the CCRC Server, and simple Port 80 for the Update Site with a redirect for any users who are still pointing at the old URL.

尽管VonC做出了非常勇敢的努力,但我的答案或解决方法是将RWP配置为使用SSL用于CCRC服务器,使用简单的端口80用于更新站点,并为仍指向旧URL的任何用户重定向。

I am still unsure why it doesn't work in Eclipse with SSL though.

我仍然不确定为什么它在使用SSL的Eclipse中不起作用。

#1


It seems to be a known issue for other plugins as well

它似乎也是其他插件的已知问题

What is the "description site" looks like in your eclipse p2 configuration ? Does it include https as in:

你的eclipse p2配置中的“描述网站”是什么样的?是否包含https,如:

<description url="https://<host_name>/<update_site>/">
  Project Update Site
</description>

Just do be sure, you did Enable HTTP proxy connection ?

只是确实,你确实启用了HTTP代理连接?

(General->Network Connections)

#2


Although VonC made a really valiant effort, my answer or workaround has been to configure RWP to use SSL for the CCRC Server, and simple Port 80 for the Update Site with a redirect for any users who are still pointing at the old URL.

尽管VonC做出了非常勇敢的努力,但我的答案或解决方法是将RWP配置为使用SSL用于CCRC服务器,使用简单的端口80用于更新站点,并为仍指向旧URL的任何用户重定向。

I am still unsure why it doesn't work in Eclipse with SSL though.

我仍然不确定为什么它在使用SSL的Eclipse中不起作用。